iar lpc1788 and openocd

Using latest openocd (0.7) with jlink adapter. I am familiar with openocd having done development on the lpc2378 arm7tdmi and stm32 cortex-m3 in the past - now using lpc1788 cortex-m3

so I run

sudo /usr/local/bin/openocd -f interface/jlink.cfg -f target/lpc1788.cfg

i get

Open On-Chip Debugger 0.7.0 (2014-01-17-02:33)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.sourceforge.net/doc/doxygen/bugs.html

Info : only one transport option; autoselect ‘jtag’

adapter_nsrst_delay: 200

jtag_ntrst_delay: 200

adapter speed: 10 kHz

cortex_m3 reset_config vectreset

cortex_m3 reset_config sysresetreq

Info : J-Link initialization started / target CPU reset initiated

Info : J-Link ARM Lite V8 compiled Jun 1 2012 09:23:33

Info : J-Link caps 0xb9ff7bbf

Info : J-Link hw version 80000

Info : J-Link hw type J-Link

Info : J-Link max mem block 9824

Info : J-Link configuration

Info : USB-Address: 0x0

Info : Kickstart power on JTAG-pin 19: 0xffffff01

Info : Vref = 3.319 TCK = 0 TDI = 1 TDO = 1 TMS = 1 SRST = 0 TRST = 0

Info : J-Link JTAG Interface ready

Info : clock speed 10 kHz

Error: JTAG scan chain interrogation failed: all ones

Error: Check JTAG interface, timings, target power, etc.

Error: Trying to use configured scan chain anyway…

Error: lpc1788.cpu: IR capture error; saw 0x0f not 0x01

Warn : Bypassing JTAG setup events due to errors

Warn : Invalid ACK 0x7 in JTAG-DP transaction

Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 100ms

Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 300ms

Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 700ms

Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 1500ms

Any ideas where these errors stem from? I grabbed NXP’s flashmagic program (after doing some googling on this subject) and wiped out the flash - then made sure I can read signature values and chip id’s. all good. but still cant initialize the board correctly under linux openocd (see above errors).

dmesg shows my jlink lite adapter

12502.642199] usb 1-3.2: new full speed USB device number 16 using ehci_hcd

[12502.729570] usb 1-3.2: New USB device found, idVendor=1366, idProduct=0101

[12502.729577] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[12502.729581] usb 1-3.2: Product: J-Link

[12502.729584] usb 1-3.2: Manufacturer: SEGGER

[12502.729587] usb 1-3.2: SerialNumber: 000238003071

Any clues?

Thanks in advance