Hi,
Once again on this forum: JTAG debugging does not work!
I studied all discussions on this forum, but can not find the
answer for my problem.
I use the WinARM toolchain (Thank’s to M. Thomas).
I am a proud owner of a OLIMEX LPC-MT-2106 development
board with a JTAG-ARM.
As I know from OLIMEX and other sources, GDB/Insight debugging
just works for RAM placed code.
The OCDRemote seems to work with the following options:
ocdremote -c arm7tdmi-s -d wiggler -s 8
Everything less then -s 8 does not work.
After starting OCDRemote, which is waiting for a connection on
Remote/TCP localhost:8888, I configure the Target Selection
in arm-elf-gdb/Insight as follows:
-
Target: Remote/TCP
-
Hostname: localhost
-
Port: 8888
-
Set breakpoint at ‘main’
-
Set breakpoint at ‘exit’
-
Attach to Target
-
Run Method: Continue from Last Stop
Then I open the *.elf file for debugging. GDB connects to the target
with this answer in the cygwin shell:
ocdremote 2.08: WIGGLER via LPT 1 at speed : 8
JTAG SDO <-| CPU(1) ARM7TDMI-S : listening on port 8888 |<- JTAG SDI
CPU[1] Accepted gdb connection on port 8888.
But then nothing happens. Insight seems to hang. Debugging is
not possible.
Is there someone who has debugged a RAM-based project with
gdb/insight and a LPC21xx ?
Any other suggestions?
Thanks for every help,
Markus