Problems with LPC-H2129 JTAG

Hi,

We bought three Olimex LPC-H2129 recently, and have not been able to program/debug two of them. We are using IAR KickStart and J-Link, and just trying to get started with some sample code.

The error message we get is “could not find supported CPU core on JTAG chain.”

We bought the LPC-H2103 last year, and were pleased with how easy it was to start programming with it. We are still able to program this board.

We were also able to program the third LPC-H2129 board, at least for a while (it no longer programs, but gives a different error message “Could not initialize debug session”). However, we removed the LPC2129 and replaced it with an LPC2119/01 as soon as it arrived, so it wasn’t exactly the same board. Also, it was the 2004 version of the board, while the two boards we can’t connect to were ROHS versions from 2005.

A final bit of confusion - we wanted 10 MHz crystals, as per the online documentation, but the boards arrived with 14.9 MHz crystals. So we also put a 10 MHz crystal on the board that we were able to connect to (2004 2119/01 board). However, plugging in a 10 MHz crystal on the other boards did not help.

Any ideas? What should we try next?

Thanks…

An update: The LPC2119/01 (2004, 10MHz) board can now be programmed again. The other two Olimex LPC-H2129 give the same error message. In detail:

Could not find supported CPU core on JTAG chain

Bad JTAG communication : Write to IR : Expected 0x01, got 0x0 (TAP command : 2) @ Off 0x5.

Could not find supported CPU core on JTAG chain

The Debug Log:

Mon Mar 31 14:41:56 2008: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\arm\config\flashloader\NXP\FlashNXPLPC128k.mac

Mon Mar 31 14:41:56 2008: DLL version: V3.78d, compiled Jan 16 2008 19:55:31

Mon Mar 31 14:41:56 2008: Firmware: J-Link ARM V6 compiled Mar 3 2008 18:04:42

Mon Mar 31 14:41:56 2008: JTAG speed is initially set to: 32 kHz

Mon Mar 31 14:41:56 2008: TotalIRLen = ?, IRPrint = 0x…00000000000000000000000000000000

Mon Mar 31 14:41:56 2008: TotalIRLen = ?, IRPrint = 0x…00000000000000000000000000000000

Mon Mar 31 14:41:56 2008: TotalIRLen = ?, IRPrint = 0x…00000000000000000000000000000000

Mon Mar 31 14:41:56 2008: Halting CPU core

Mon Mar 31 14:41:56 2008: Halting CPU core

Mon Mar 31 14:41:56 2008: Resetting target using BP@0.

Mon Mar 31 14:41:57 2008: Software reset was performed

Mon Mar 31 14:41:57 2008: Initial reset was performed

Mon Mar 31 14:41:57 2008: Invalid core Id. (00000000)

Mon Mar 31 14:41:59 2008: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\arm\config\flashloader\NXP\FlashNXPLPC128k.d79

They could be faulty.

Leon

The older Olimex board uses 5 VDC in, the newer ones use 6 VDC. But of course I only looked closely at the first one, duh.

So now they all program fine.