From 77b0e8cf3d302fa1027ea8d0e51a01956701168a Mon Sep 17 00:00:00 2001 From: jboone Date: Tue, 12 Jun 2012 23:11:33 -0700 Subject: [PATCH] Forget to "load" during GDB means I'm running my old code... Oops. --- LPC43xx-Debugging.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/LPC43xx-Debugging.md b/LPC43xx-Debugging.md index 0f54152..0924f72 100644 --- a/LPC43xx-Debugging.md +++ b/LPC43xx-Debugging.md @@ -71,8 +71,9 @@ lpc4350.cfg monitor reset init # Not sure difference between init and halt... monitor reset halt monitor mww 0x40043100 0x10000000 - monitor mdw 0x40043100 # Verify 0x0 shadow register is set properly. - file lpc4350-test.axf # This is an ELF file. - break main - continue - continue # To continue from the breakpoint. + monitor mdw 0x40043100 # Verify 0x0 shadow register is set properly. + file lpc4350-test.axf # This is an ELF file. + load # Place image into RAM. + break main # Set a breakpoint. + continue # Run to breakpoint. + continue # To continue from the breakpoint.