Author: oharboe
Date: 2009-05-21 18:15:41 +0200 (Thu, 21 May 2009)
New Revision: 1875
Modified:
trunk/src/target/board/ti_beagleboard.cfg
trunk/src/target/target/omap3530.cfg
Log:
Dirk Behme <dir...@go...> Minor updates for OMAP3 scripts
Modified: trunk/src/target/board/ti_beagleboard.cfg
===================================================================
--- trunk/src/target/board/ti_beagleboard.cfg 2009-05-21 09:49:19 UTC (rev 1874)
+++ trunk/src/target/board/ti_beagleboard.cfg 2009-05-21 16:15:41 UTC (rev 1875)
@@ -9,3 +9,6 @@
endstate RUN/IDLE
+init
+
+omap3_dbginit
Modified: trunk/src/target/target/omap3530.cfg
===================================================================
--- trunk/src/target/target/omap3530.cfg 2009-05-21 09:49:19 UTC (rev 1874)
+++ trunk/src/target/target/omap3530.cfg 2009-05-21 16:15:41 UTC (rev 1875)
@@ -27,6 +27,8 @@
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0x0 -expected-id $_CPUTAPID -disable
jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0xf -expected-id 0x0b7ae02f
+target create omap3.cpu cortex_m3 -endian little -chain-position omap3.cpu
+
jtag configure $_CHIPNAME.cpu -event tap-enable {
puts "Enabling Cortex-A8 @ OMAP3"
irscan omap3.jrc 7 -endstate IRPAUSE
@@ -38,3 +40,18 @@
puts "Cortex-A8 @ OMAP3 enabled"
}
+proc omap3_dbginit { } {
+ version
+ jtag tapenable omap3.cpu
+ targets
+ # sleep 1000
+ # dap apsel 1
+ # sleep 1000
+ # dap apsel 1
+ # dap info 1
+ omap3.cpu mww 0x54011FB0 0xC5ACCE55 4
+ omap3.cpu mdw 0x54011314
+ omap3.cpu mdw 0x54011314
+ # omap3.cpu mdw 0x54011080
+ omap3.cpu mww 0x5401d030 0x00002000 4
+}
|