I just sat down to give it another shot, but I'm still really scratching my head
at why I can't properly connect to the lpc2478 board with my ARM-USB-OCD. I'm
getting the following output once I start OpenOCD up and then try to begin
debugging:
----------------------------
source .gdbinit
target remote 127.0.0.1:3333
Load$$ER_FLASH$$Base () at
E:\MicroFrameworkPK_v3_0\DeviceCode\coresrm\AssemblyCoderm\GNU_S\FirstEntry.s:102
102 msr cpsr_c, #PSR_MODE_SYSTEM @ go into System mode,
interrupts
off
Current language: auto; currently asm
monitor reset
JTAG tap: lpc2478.cpu tap/device found: 0x4f1f0f0f (Manufacturer: 0x787, Part:
0xf1f0, Version: 0x4)
JTAG Tap/device matched
monitor sleep 500
monitor poll
target state: running
monitor soft_reset_halt
requesting target halt and executing a soft reset
Failed to halt CPU after 1 sec
monitor arm7_9 force_hw_bkpts enable
invalid command name "arm7_9_force_hw_bkpts"
called at file "command.c", line 456
called at file "embedded:startup.tcl", line 89
called at file "embedded:startup.tcl", line 93
break PreStackEntry
Breakpoint 1 at 0x4: file
E:\MicroFrameworkPK_v3_0\DeviceCode\coresrm\AssemblyCoderm\GNU_S\FirstEntry.s,
line 110.
load
Loading section ER_STACK_BOTTOM, size 0x4 lma 0x40000400
Load failed
continue
Note: automatically using hardware breakpoints for read-only addresses.
Warning:
Cannot insert hardware breakpoint 1.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.
-----------------
There are obviously three points of note here:
1.) Failed to halt CPU after 1 sec (Why?)
2.) monitor arm7_9 force_hw_bkpts enable
invalid command name "arm7_9_force_hw_bkpts"
- This command appears in the manual, so what's the problem?
3.) Why is it not loading, though I suspect if I solve issue 1 and 2, 3 will be
solved as well.
For reference sake, these are the commands I'm passing in Eclipse for debugging.
Admittedly, they are from a previous r717 build I was using and may need some
changes for the latest builds, since it seems a lot has changed in terms of
config files and commands. If someone can suggest something different, I'd
certainly welcome the advice and I'm willing to try anything:
target remote 127.0.0.1:3333
monitor reset
monitor sleep 500
monitor poll
monitor soft_reset_halt
monitor arm7_9 force_hw_bkpts enable
break PreStackEntry
load
continue
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development