Hello,
I tried to run OpenOCD with FT2232HMiniModule.
But i have some issues.
Connection is:
AD0-TCK;
AD2-TDO;
AD1-TDI;
AD3-TMS;
AD5-VREFIN;
AD7-RTCK;
AC1-SRST;
AC0-TRST;
VCCIO-3V3;
Also connected GND. LPC2148 Vcc is supplied from target board.
I built latest version of OpenOCD with latest FTDI drivers.
And I want to debug LPC2148.
When I run OpenOCD with predefined configs for target and interface,
lpc2148.cfg and jtagkey.cfg, i got this messages:
C:\Program Files (x86)\OpenOCD\0.4.0\bin>openocd.exe
Open On-Chip Debugger 0.4.0 (2010-04-27-14:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
RCLK - adaptive
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain
Info : device: 6 "2232H"
Info : deviceID: 1041892096
Info : SerialNumber: FT71AUXA
Info : Description: FTDI Serial Interface A
Info : max TCK change to: 30000 kHz
Info : RCLK (adaptive clock speed)
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
I watched signals on DSO and jtag lines does not change the initial states. TCK is always high.
FT2232H is working fine because i tested it with FTDI JTAG Demo.
I’m doing something wrong?! Any help is appreciated.
Regards