area.reset | |
sys.cpu CortexM0 | |
sys.bdmclock 3.0MHz ;cortex-m0 | |
sys.o enreset OFF | |
sys.up | |
do ./sys/clk_init.cmm | |
do ./sys/ddr_init_312m.cmm | |
//M0 address remap bit23 | |
data.set 0x00140000 %long 0x00870000 | |
// Release R7/A53 reset signal | |
data.set 0x0013b138 %long 0x00000001 // R7 | |
data.set 0x0013b134 %long 0x00000001 // A53 | |
//jtag0 to ap | |
do ./sys/jtag_switch_script.cmm 0 3 |