Hi there,
i’ve already changed the line
ft2232_device_desc “Olimex OpenOCD JTAG A” to ft2232_device_desc “Olimex OpenOCD JTAG B”
and I’ve the Logomatic powered by an usb connector (just power, data cables are disconnected)
now :
Have you found a solution for this problem?
Error: ft2232.c:235 ft2232_read(): couldn't read the requested number of bytes from FT2232 device (0 < 81)
Error: ft2232.c:379 ft2232_send_and_recv(): couldn't read from FT2232
When I start debugging I get first
Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
then, after a few seconds, may be ten I get the following
Error: ft2232.c:235 ft2232_read(): couldn't read the requested number of bytes from FT2232 device (0 < 81)
Error: ft2232.c:379 ft2232_send_and_recv(): couldn't read from FT2232
I attached my configuration (HW-, SW-, JTAG-Configuration-circuit, armusbocd.cfg-file)
thanks for your help
grz
my configuration:
Windows 7(Olimex-GCCFD-20081015, ) - ARM-USB-OCD - LogomaticV2(LPC2148)
ARM-USB-OCD Configuration: 5V
Logomatic Power Supply by USB: 3.3V (5V Tolerant)
***Debugger
GDB Debugger
C:\gccfd\codesourcery-arm-2008q1\bin\arm-none-eabi-gdb.exe
GDB command file
.gdbinit (empty file)
__***JTAG circuit diagram:__
^ 3V3
|
|-----------
|.-------. |
--1 2|-|
| |
/TRST---------------------------------------------------3 |
| |
TDI 60--------------------------------------------------5 |
| |
TMS 52--------------------------------------------------7 |
| |
TCK 56--------------------------o-----------------------9 |
| | |
RTCK 24-----------o-------------)-----------------------11 |
| | | |
TDO 64------------)-------------)----------------------|13 |
| | | |
RST---------------)-------------)-----------------------15 |
| | | |
| | |--17 |
| | | | |
o JMP | |------------o--19 |
o | | '-------'
| | | JTAG Connector
.-. .-. .|.
| | | | | |
| |3k3 | |27k | |27k
'-' '-' '-'
| | |
----------------------
|
===
GND |
.-.
(created by AACircuit v1.28.6 beta 04/19/05 www.tech-chat.de)
***armusbocd.cfg file
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG B"
ft2232_layout "olimex-jtag"
ft2232_vid_pid 0x15BA 0x0003
#jtag_speed 2
jtag_speed 50
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst separate
jtag_nsrst_delay 100
jtag_ntrst_delay 100
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
ft2232_latency 10
#target configuration
daemon_startup reset
#target <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
run_and_halt_time 0 30
#target_script 0 reset oocd_flash2138.script
working_area 0 0x40000000 0x40000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v2 12000 calc_checksum
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Opeen+On-Chip+Debugger