Hello,
I’ve bought the OLIMEX lpc-2378-stk and the arm-jtag for the parallel port and I try to run the provided examples. I’m using the newest IAR EW and openocd-pp (r279).
I can build the GettingStarted project, after I changed the inarm.h includes to intrinsics.h. If I start openocd and try to debug the project I get a lot of messages in the openocd console and in the WB Log, but nothing happens.
what am I doing wrong ???
The output of openocd is:
D:\Programme\openocd-r279\bin>openocd-pp -f lpc2xxx_pp.cfg
Info: openocd.c:93 main(): Open On-Chip Debugger (2008-02-02 15:00 CET) svn:
279
Info: openocd.c:94 main(): $URL: http://svn.berlios.de/svnroot/repos/openocd/
trunk/src/openocd.c $
Info: jtag.c:1261 jtag_examine_chain(): JTAG device found: 0x4f1f0f0f (Manufa
cturer: 0x787, Part: 0xf1f0, Version: 0x4)
Warning: embeddedice.c:175 embeddedice_build_reg_cache(): EmbeddedICE version 7
detected, EmbeddedICE handling might be broken
Warning: arm7_9_common.c:755 arm7_9_assert_reset(): srst resets test logic, too
Info: server.c:67 add_connection(): accepted ‘gdb’ connection from 0
Warning: arm7_9_common.c:2087 arm7_9_write_memory(): memory write caused data ab
ort (address: 0x00000008, size: 0x4, count: 0x1)
Warning: arm7_9_common.c:2087 arm7_9_write_memory(): memory write caused data ab
ort (address: 0x00000008, size: 0x4, count: 0x1)
Warning: arm7_9_common.c:2087 arm7_9_write_memory(): memory write caused data ab
ort (address: 0x00000008, size: 0x4, count: 0x1)
:
:
:
Warning: arm7_9_common.c:2087 arm7_9_write_memory(): memory write caused data ab
ort (address: 0x001021c8, size: 0x4, count: 0xe)
Warning: arm7_9_common.c:1922 arm7_9_read_memory(): memory read caused data abor
t (address: 0x00100000, size: 0x4, count: 0x32)
:
:
Warning: arm7_9_common.c:1922 arm7_9_read_memory(): memory read caused data abor
t (address: 0x00102100, size: 0x4, count: 0x10)
the log output from the EW is
*Sat Feb 16 18:16:23 2008: Loaded macro file: D:\Programme\IAR Systems\Embedded Workbench 5.0 Kickstart\ARM\config\flashloader\NXP*
FlashNXPLPC512k2.mac
Sat Feb 16 18:16:27 2008: 9604 bytes downloaded and verified (2.94 Kbytes/sec)
Sat Feb 16 18:16:27 2008: Loaded debugee: D:\Programme\IAR Systems\Embedded Workbench 5.0 Kickstart\ARM\config\flashloader\NXP\FlashNXPLPC512k2.out
Sat Feb 16 18:16:27 2008: Target reset
Sat Feb 16 18:16:29 2008: Program exit reached.
*Sat Feb 16 18:16:30 2008: Loaded macro file: D:\Dokumente und Einstellungen\Administrator\Eigene Dateien\butterfly\BACKUPED\Programmierung\ARM*
LPC2378-DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\GettingStarted\config\Flash.mac
Sat Feb 16 18:16:31 2008: 1892 bytes downloaded into FLASH and verified (0.50 Kbytes/sec)
*Sat Feb 16 18:16:31 2008: Loaded debugee: D:\Dokumente und Einstellungen\Administrator\Eigene Dateien\butterfly\BACKUPED\Programmierung\ARM*
LPC2378-DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\GettingStarted\Flash Debug\Exe\GettingStarted.out
Sat Feb 16 18:16:31 2008: Target reset
I hope someone can help me.
cheers