ARM-USB-OCD Setup.

Hi All,

I am following the Olimex instructions for setting up my ARM-USB-OCD JTAG.

I have installed the Olimex-GCCFD-240907.exe which installed openOCD, Eclipse and the JTAG-USB drivers on my Win-XP PC.

I am 100% sure that the drivers are properly installed cause I can see the device under the Windows Device Manager without the exclamation mark.

At this stage I have connected my LPC-MT-2138 board to the JTAG cable and powered on the LPC-MT-2138. But there is no activity on the LPC board. nothing is happening on the LCD. No LED’s nothing.

So I followed the setup on the following web-page for setting up the ARM-USB-OCD and see if I have gone wrong somewhere.

Now I am trying to test if the installation steps I followed are correct.

http://psas.pdx.edu/OlimexLPC2148Setup/

Section—> Setup on Windows 2K/XP

When I come to the stage where we run the LPC config command

which is " openocd-ftd2xx.exe -fconfigs/lpc2xxx_armusbocd.cfg

I get the following output. And the LED goes from green to RED+GREEN. I have to disconnect the USB cable to get the LED again in Green state.

Info: openocd.c:93 main(): Open On-Chip Debugger (2007-09-05 09:00 CEST)

Error: jtag.c:1253 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power, etc.

Error: jtag.c:1440 jtag_init(): trying to validate configured JTAG chain anyway…

Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

Error: jtag.c:1346 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

Error: jtag.c:1440 jtag_init(): Could not validate JTAG chain, exit

Can anyone please help me with this. I really dont know whats happening. I want to get the setup right and want to start taking my baby-steps with ARM programming.

Many Thnx!```

You have no power LED on? Are you powering the board with a USB cable or with an external 5 VDC power supply? There should be a jumper selection on the board for that choice.

I have the same errors that you have, but with an LPC-E2214 board and the USB TINY jtag cable. Same errors.

I do have power on the board. The LED is on. I’m using an external power supply. When I try it with the USB cable the LED blinks but then stays off.

Good luck.

Hi gdepaula,

Thanks for your reply. My issue is solved now. Earlier I had the jumper settings for the ARM-USB-OCD on 5V, after putting the jumper for 9V settings now I have my board up and running. Just goofing around with some sample code 8) .

I would suggest even you try setting the jumper onn your USB-debugger to 9V and you can ditch your external power adapter.

Thanks once again,

Bhupesh.