blob: f43dcc249f53ce9eddef9bdd98effc47fa57463f [file] [log] [blame]
;this script can be used while there is no code running on cortex-M0 to release another cores
;this must be used first, and then plug the trace to specific port.
SYSTEM.RESET
SYSTEM.CPU CortexM0
System.JtagClock 3Mhz
System.Option ResBreak OFF
System.Option EnReset OFF
System.Up
wait 0.2s
;clk config
do .\Sys\clk_init.cmm
do ./sys/ddr_zx7520.cmm
;jtag config
do .\Sys\gpio_jtag_ap_ps.cmm
;remap
data.set 0x00100064 %LE %LONG 0x1
wait 0.1s
data.set 0xc0 %LE %WORD 0xE7FE
register.set PC 0xc0
print "now pull out the trace, and then plug to specific port, don't let power off!! "
sys.down