[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/build/scripts/trace32/zx297520v3/sys/boot.cmm b/ap/build/scripts/trace32/zx297520v3/sys/boot.cmm
new file mode 100755
index 0000000..2d7b910
--- /dev/null
+++ b/ap/build/scripts/trace32/zx297520v3/sys/boot.cmm
@@ -0,0 +1,18 @@
+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