[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/boot/common/src/uboot/trace/sys/boot.cmm b/boot/common/src/uboot/trace/sys/boot.cmm
new file mode 100644
index 0000000..0d142f5
--- /dev/null
+++ b/boot/common/src/uboot/trace/sys/boot.cmm
@@ -0,0 +1,22 @@
+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_zx7520.cmm
+
+
+//M0 address remap bit23
+data.set 0x00146004 %long 0x00870000
+
+data.set 0x00100000 %long 0xeafffffe
+data.set 0x0130702c %long 0xf
+
+//switch to psjtag
+data.set 0x00143030 %long 0x333303
+
+Wait 1s
+print "switch jtag0 from m0 to ps"
\ No newline at end of file