summaryrefslogtreecommitdiff
path: root/src/target/event
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-10 20:12:35 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-10 20:12:35 +0000
commit32eea2a2542987dccdea08664e77ed00c584c945 (patch)
treec95d3a969df95336ea50d1e90c75d7974f708b34 /src/target/event
parentcce7512ca908ab93b4effa77cb9dd01ac44edc81 (diff)
downloadopenocd_libswd-32eea2a2542987dccdea08664e77ed00c584c945.tar.gz
openocd_libswd-32eea2a2542987dccdea08664e77ed00c584c945.tar.bz2
openocd_libswd-32eea2a2542987dccdea08664e77ed00c584c945.tar.xz
openocd_libswd-32eea2a2542987dccdea08664e77ed00c584c945.zip
more target scripts wip.
git-svn-id: svn://svn.berlios.de/openocd/trunk@488 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/event')
-rw-r--r--src/target/event/wi-9c_reset.script14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/target/event/wi-9c_reset.script b/src/target/event/wi-9c_reset.script
index cd483701..abb50216 100644
--- a/src/target/event/wi-9c_reset.script
+++ b/src/target/event/wi-9c_reset.script
@@ -54,3 +54,17 @@ mww 0xA0700120 0x00084280 # Enable buffer access
mww 0xA0700140 0x00084280 # Enable buffer access
mww 0xA0700160 0x00084280 # Enable buffer access
+#Set byte lane state (static mem 1)"
+mww 0xA0700220, 0x00000082
+#Flash Start
+mww 0xA09001F8, 0x50000000
+#Flash Mask Reg
+mww 0xA09001FC, 0xFF000001
+mww 0xA0700028, 0x00000001
+
+# RAMAddr = 0x00020000
+# RAMSize = 0x00004000
+
+# Set the processor mode
+reg cpsr 0xd3
+