problem with lpcxpresso configuration

Hi all,

I am trying to flash program in to LPC 1768 using Amontec JTAG key. I am using openocd 0.4.0, if found a message that device is found which shows that my device is detected. when I am trying to debug my program using eclipse I am gettign the following error. can any one help me in solving this.

C:\Documents and Settings\rob>"C:\home\rob!!Third party large\3rd_party_LARGE\o

penocd-0.4.0\install\bin\openocd.exe" -f "C:\home\rob!!Third party large\3rd_p

arty_LARGE\openocd-0.4.0\openocd-0.4.0\openocd-0.4.0\tcl\interface\jtagkey.cfg"

-f "C:\home\rob!!Third party large\3rd_party_LARGE\openocd-0.4.0\openocd-0.4.0\

openocd-0.4.0\tcl\target\lpc1768.cfg"

Open On-Chip Debugger 0.4.0 (2011-02-24-16:25)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

jtag_nsrst_delay: 200

jtag_ntrst_delay: 200

trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain

500 kHz

Info : device: 4 “2232C”

Info : deviceID: 67358712

Info : SerialNumber: T1SFBK6WA

Info : Description: Amontec JTAGkey A

Info : clock speed 500 kHz

Info : JTAG tap: lpc1768.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xb

a00, ver: 0x4)

Info : lpc1768.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : accepting ‘gdb’ connection from 0

Warn : acknowledgment received, but no packet pending

undefined debug reason 6 - target needs reset

Warn : target lpc1768.cpu is not halted

Error: can’t add breakpoint: target running

Warn : Invalid ACK 0x7 in JTAG-DP transaction

regards,

seshu