blob: 2d7b9101a50c553b7ba13d5abd0cef722592906e [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001area.reset
2sys.cpu CortexM0
3sys.bdmclock 3.0MHz ;cortex-m0
4sys.o enreset OFF
5sys.up
6
7do ./sys/clk_init.cmm
8do ./sys/ddr_init_312m.cmm
9
10//M0 address remap bit23
11data.set 0x00140000 %long 0x00870000
12
13// Release R7/A53 reset signal
14data.set 0x0013b138 %long 0x00000001 // R7
15data.set 0x0013b134 %long 0x00000001 // A53
16
17//jtag0 to ap
18do ./sys/jtag_switch_script.cmm 0 3