]> git.sur5r.net Git - openocd/blob - testing/examples/SAM7X256Test/prj/eclipse_rom.gdb
eol-style native
[openocd] / testing / examples / SAM7X256Test / prj / eclipse_rom.gdb
1 target remote localhost:3333
2 monitor reset
3 monitor sleep 500
4 monitor poll
5 monitor soft_reset_halt
6 monitor arm7_9 force_hw_bkpts enable
7
8 # WDT_MR, disable watchdog 
9 monitor mww 0xFFFFFD44 0x00008000
10
11 # RSTC_MR, enable user reset
12 monitor mww 0xfffffd08 0xa5000001
13
14 # CKGR_MOR
15 monitor mww 0xFFFFFC20 0x00000601
16 monitor sleep 10
17
18 # CKGR_PLLR
19 monitor mww 0xFFFFFC2C 0x00481c0e
20 monitor sleep 10
21
22 # PMC_MCKR
23 monitor mww 0xFFFFFC30 0x00000007
24 monitor sleep 10
25
26 # PMC_IER
27 monitor mww 0xFFFFFF60 0x00480100
28 monitor sleep 100
29
30 load
31 break main
32 continue