I’m pulling my hair out wondering if I just shouldn’t have bought something more straight-forward. Anyway, what is the Olimex arm-usb-tiny device supposed to appear as in WinXP’s Device Manager? Mine is showing up as USB Serial Port COM8 (on Olimex OpenOCD serial driver).
How did I get here? Well for starters I’ve plugged in FTDI serial-to-USB devices before and I still need to use them now and again. Also I didn’t want to install the whole Olimex “WinARM + OpenOCD debugger + Eclipse + JRE”. So I downloaded the drivers from YAGARTO, changed the PIDs from 0003 to 0004 for the tiny and attached my device. No problems.
Then I opened up Rowley CrossStudio and try to connect to either Olimex option (OCD or Tiny) and I get “Cannot identify target. Check JTAG connection and that the target is powered.” Yes the target is powered. It’s an IAR LPC2148 development board. And yes the JTAG DBG jumper is on. FWIW the red light on the arm-usb-tiny is on.
Ugh. Now what?
Okay, from the command line (using the lpc2xxx_armusbocd.cfg script, except for changing the PID to 0004 instead of 0003) I now get:
C:\Program Files\openocd-r717\bin>openocd-ftd2xx -f openocd.cfg
Open On-Chip Debugger (2008-06-19 19:00) svn: 717
URL: http://svn.berlios.de/svnroot/repos/openocd/trunk
Info: options.c:50 configuration_output_handler(): jtag_speed: 3, 3
Error: ft2232.c:1419 ft2232_init_ftd2xx(): unable to open ftdi device: 2
Error: ft2232.c:1434 ft2232_init_ftd2xx(): ListDevices: 2
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 0: Olimex OpenOCD JTAG TINY A
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 1: Olimex OpenOCD JTAG TINY B
Error: ft2232.c:1419 ft2232_init_ftd2xx(): unable to open ftdi device: 2
Error: ft2232.c:1434 ft2232_init_ftd2xx(): ListDevices: 2
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 0: Olimex OpenOCD JTAG TINY A
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 1: Olimex OpenOCD JTAG TINY B
Info: options.c:50 configuration_output_handler():
Open On-Chip Debugger (2008-06-19 19:00) svn: 717
Error: ft2232.c:1419 ft2232_init_ftd2xx(): unable to open ftdi device: 2
Error: ft2232.c:1434 ft2232_init_ftd2xx(): ListDevices: 2
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 0: Olimex OpenOCD JTAG TINY A
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 1: Olimex OpenOCD JTAG TINY B
Anyone seen anything like this?
FYI, Paul on the LPC2000 group said to set the CrossStudio for ARM TRST Open Drain = No and use a JTAG divider of 10 or so. That seems to have helped.