I am new to OpenOCD and am having problems with the olimex-jtag-tiny. I am able to use OpenOCD with Amontec jtagkeys. With olimex-jtag-tiny, I get the following error.
$ openocd.exe
Open On-Chip Debugger 0.2.0 (2009-07-29-18:31) Release
$URL: http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c $
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
1000 kHz
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Info : device: 4
Info : deviceID: 364511236
Info : SerialNumber: FTRF6UAKA
Info : Description: Olimex OpenOCD JTAG TINY A
Error: JTAG communication failure: check connection, JTAG interface, target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Could not validate JTAG scan chain, IR mismatch, scan returned 0x00. tap=feroceon.cpu pos=0 expected 0x1 got 0
Warn : Could not validate JTAG chain, continuing anyway...
Error: unexpected Feroceon EICE version signature
Version 0.2 of OpenOCD has some FTDI driver policy changes. See the relevant discussions on the OpenOCD mailing list.
If you are compiling OpenOCD yourself with the ftd2xx library then you should use the header, library and dll files from the ARM-USB-TINY/OCD driver directory.
If, on the other hand, you are using a stock OpenOCD binary package then you must use libusb+libftdi instead of ftd2xx. The driver on www.olimex.com uses ftd2xx so you must uninstall it, and then install the libusb driver for ARM-USB-TINY. See http://www.freddiechopin.info/index.php … /4-openocd for a convenient package and libusb drivers from Freddie Choppin.