So I’m reasonably confident that my OpenOCD compilation is working fine and that I just don’t know how to use it. I’m trying to connect to an LPC2368 through a Tin Can Tools Flyswatter. When I run OpenOCD with default flyswatter.cfg file, I get the following output:
$ ./openocd.exe -f …/interface/flyswatter.cfg
Open On-Chip Debugger 0.5.0-dev-00145-g2a17fd9 (2010-04-09-15:58)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : device: 4 “2232C”
Info : deviceID: 67330064
Info : SerialNumber: FS000000A
Info : Description: Flyswatter A
Info : clock speed 6000 kHz
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try ‘jtag init’ again.
Warn : gdb services need one or more targets defined
I can connect over telnet to 4444 and verify that my gdb port is 3333, but I’m unable to connect with any of my GDB-like tools (including NoICE). Mind you, I’m a novice when it comes to OCD and GDB configs, and I might be messing that up instead.
Here is the included flyswatter.cfg if it helps:
TinCanTools Flyswatter
http://www.tincantools.com/product.php?productid=16134
interface ft2232
ft2232_device_desc “Flyswatter”
ft2232_layout “flyswatter”
ft2232_vid_pid 0x0403 0x6010
The warnings and errors when OpenOCD starts up concern me, but I can’t find anywhere in the documentation that actually says how to resolve situations like that.