# LPC 1766 connection problem

**URL:** <https://community.sparkfun.com/t/lpc-1766-connection-problem/17164>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [August 29, 2010, 3:53pm UTC](https://community.sparkfun.com/t/lpc-1766-connection-problem/17164 "2010-08-29T15:53:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gzomer](https://avatars.discourse-cdn.com/v4/letter/g/ecb155/32.png) [@gzomer](https://community.sparkfun.com/u/gzomer)\
**Post date:** [August 29, 2010, 3:53pm UTC](https://community.sparkfun.com/t/lpc-1766-connection-problem/17164/1 "2010-08-29T15:53:18Z")

</div>

Hello folks,

I’m trying to debug a LPC 1766 board using the ARM-JTAG-TINY-H but I’m having no success.

After I run the openocd, its simply stops responding. If I disconnect the JTAG, it says that the device could not be found.

My openocd.cfg file looks like these (OpenOCD version 0.3.0);

source [find c:/gccfd/openocd/share/openocd/scripts/interface/olimex-arm-usb-tiny-h.cfg]

source [find c:/gccfd/openocd/share/openocd/scripts/target/lpc1768.cfg]

(I’ve attached the openocd.cfg )

I’m using the lpc1768.cfg because I didn’t found the lpc1766.cfg in the target folder. I think this can be the problem, but I’m not sure.

Does anyone have already connected the ARM-JTAG-TINY-H to the LPC 1766 board? There’s something I’m forgotting to do?

I’ll appreciate any help.

Thanks!

---

<div class="post-metadata">

**Author:** ![ntfreak](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@ntfreak](https://community.sparkfun.com/u/ntfreak)\
**Post date:** [August 31, 2010, 8:11pm UTC](https://community.sparkfun.com/t/lpc-1766-connection-problem/17164/2 "2010-08-31T20:11:30Z")

</div>

That’s a Cortex-M3 core and you are trying to set arm mode.

Have a look at the latest config that should work fine:

[http://openocd.git.sourceforge.net/git/ … ads/master](http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=blob_plain;f=tcl/target/lpc1768.cfg;hb=refs/heads/master)

Cheers

Spen
