diff options
Diffstat (limited to 'uc_str912/prj_main_add/prj/eclipse_ram.gdb')
-rw-r--r-- | uc_str912/prj_main_add/prj/eclipse_ram.gdb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/uc_str912/prj_main_add/prj/eclipse_ram.gdb b/uc_str912/prj_main_add/prj/eclipse_ram.gdb new file mode 100644 index 0000000..0c72df4 --- /dev/null +++ b/uc_str912/prj_main_add/prj/eclipse_ram.gdb @@ -0,0 +1,24 @@ +target remote localhost:3333
+monitor reset
+monitor sleep 500
+monitor poll
+monitor soft_reset_halt
+monitor arm7_9 sw_bkpts enable
+
+# Set SRAM size to 96 KB
+monitor mww 0x5C002034 0x0197
+monitor mdw 0x5C002034
+
+# Set Flash, Bank0 size to 512 KB
+monitor mww 0x54000000 0xf
+
+# needed for gdb 6.8 and higher
+set mem inaccessible-by-default off
+
+load
+break main
+continue
+
+
+
+
|