# GDB startup script for debugging a program in flash ROM # $Id: at91sam7s.debugjlink 3372 2011-11-24 11:29:14Z svn $ # Connect to the GDB server target remote localhost:3333 # Reset target & gain control monitor reset # J-Link doesn't seem to provide target memory regions mem 0x00000000 0x0007FFFF ro mem 0x00200000 0x0020FFFF rw # Display memory regions info mem # Break at beginning of main() break main continue