omap3530.cfg: yes we have SRAM!
[fw/openocd] / tcl / target / omap3530.cfg
index 45f3c01ce59dd6493b39c69e11ef12e6adb1e97b..0a83423c68243319c085a30e07c3a74b4457d8f1 100644 (file)
@@ -38,6 +38,9 @@ jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME cortex_a8 -chain-position $_CHIPNAME.dap
 
+# SRAM: 64K at 0x4020.0000; use the first 16K
+$_TARGETNAME configure -work-area-phys 0x40200000 -work-area-size 0x4000
+
 ###################
 
 # the reset sequence is event-driven