From cbaddb2e979870b47fc29c4db356cf8b063853a3 Mon Sep 17 00:00:00 2001 From: jboone Date: Thu, 14 Jun 2012 17:08:40 -0700 Subject: [PATCH] SP gets loaded correctly from RAM (vectors) if "reset init" after load. --- LPC43xx-Debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LPC43xx-Debugging.md b/LPC43xx-Debugging.md index 702fcd5..942ab58 100644 --- a/LPC43xx-Debugging.md +++ b/LPC43xx-Debugging.md @@ -108,12 +108,12 @@ Soon, I should dump this stuff into a .gdbinit file... arm-none-eabi-gdb -n target extended-remote localhost:3333 set tdesc filename target.xml - monitor reset init # Not sure difference between init and halt... - monitor reset halt + monitor reset init monitor mww 0x40043100 0x10000000 monitor mdw 0x40043100 # Verify 0x0 shadow register is set properly. file lpc4350-test.axf # This is an ELF file. load # Place image into RAM. + monitor reset init break main # Set a breakpoint. continue # Run to breakpoint. continue # To continue from the breakpoint.