I’m using the LPC 1766STK and ARM-JTAG-EW for my final year school project. I’ve always had troubles downloading programs to the microcontroller. Sometimes it works (rarely) and by the next time I boot up my computer it doesn’t work anymore. I tried this on my desktop and laptop. I use IAR Embedded workbench 5.41 with the driver by olimex.
Now I’m trying to find out what’s the problem by downloading the sample programs from olimex to it but I keep getting this error:
J-Link
ERROR: Target examination failed - please check JTAG/SW connection, error code -2113 (ADIv5 Debug Port transaction error)
Abort Retry Ignore
After that I get
IarIdePm
Failed to load flash loader: D:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\NXP\FlashNXPLPC512K_Cortex.flash
OK
This is what I get in my debug log:
Fri Jan 14 12:24:18 2011: Loaded macro file: D:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\NXP\LPC17xx.mac
Fri Jan 14 12:24:18 2011: DLL version: V1.0d, compiled Feb 22 2010 11:20:57
Fri Jan 14 12:24:18 2011: Firmware: Firmware version: 1.5; Hardware board revision: A; Additional version information: Date of firmware compilation: Feb 22 2010, 11:19:34, Source revision: 1021
Fri Jan 14 12:24:18 2011: RAW: Examination error -2113 (ADIv5 Debug Port transaction error)
Fri Jan 14 12:24:47 2011: Fatal error: ERROR: Target examination failed - please check JTAG/SW connection, error code -2113 (ADIv5 Debug Port transaction error) Session aborted!
Fri Jan 14 12:24:47 2011: Failed to load flash loader: D:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\NXP\FlashLayout1RAM32K_Cortex.out
Fri Jan 14 12:24:47 2011: Failed to load flash loader: D:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\config\flashloader\NXP\FlashNXPLPC512K_Cortex.flash
Fri Jan 14 12:25:00 2011: RAW: Target halt check error -2120 (CoreSight Debug functionality requested but component not present on the chip)
I tried a lot of things in the settings, but I only got it working once and the settings somehow didn’t save…
I hope anyone can help me.
Thanks