# ARM-USB-OCD Setup.

**URL:** <https://community.sparkfun.com/t/arm-usb-ocd-setup/7796>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [July 4, 2008, 6:00am UTC](https://community.sparkfun.com/t/arm-usb-ocd-setup/7796 "2008-07-04T06:00:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhupeshgohil](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@bhupeshgohil](https://community.sparkfun.com/u/bhupeshgohil)\
**Post date:** [July 4, 2008, 6:00am UTC](https://community.sparkfun.com/t/arm-usb-ocd-setup/7796/1 "2008-07-04T06:00:26Z")

</div>

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/](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!```

```auto

```

---

<div class="post-metadata">

**Author:** ![gdepaula](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@gdepaula](https://community.sparkfun.com/u/gdepaula)\
**Post date:** [July 24, 2008, 4:38pm UTC](https://community.sparkfun.com/t/arm-usb-ocd-setup/7796/2 "2008-07-24T16:38:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bhupeshgohil](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@bhupeshgohil](https://community.sparkfun.com/u/bhupeshgohil)\
**Post date:** [July 24, 2008, 8:18pm UTC](https://community.sparkfun.com/t/arm-usb-ocd-setup/7796/3 "2008-07-24T20:18:08Z")

</div>

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.
