summaryrefslogtreecommitdiff
path: root/src/target/event/hammer_reset.script
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-27 06:19:37 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-27 06:19:37 +0000
commita61fe67b78f6436703a51242e03d5c115ea27cf9 (patch)
tree2e28bbdcf8844700d99d42435d756990b41f574b /src/target/event/hammer_reset.script
parent0778b69f827c1ad20c8e56cb9d5429b6b8c2ec0d (diff)
downloadopenocd+libswd-a61fe67b78f6436703a51242e03d5c115ea27cf9.tar.gz
openocd+libswd-a61fe67b78f6436703a51242e03d5c115ea27cf9.tar.bz2
openocd+libswd-a61fe67b78f6436703a51242e03d5c115ea27cf9.tar.xz
openocd+libswd-a61fe67b78f6436703a51242e03d5c115ea27cf9.zip
David Anders more target lib scripts contributed by
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/event/hammer_reset.script')
-rw-r--r--src/target/event/hammer_reset.script24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/target/event/hammer_reset.script b/src/target/event/hammer_reset.script
new file mode 100644
index 00000000..ae73074a
--- /dev/null
+++ b/src/target/event/hammer_reset.script
@@ -0,0 +1,24 @@
+# Reset Script for the TinCanTools S3C2410 Based Hammer Module
+# http://www.tincantools.com
+#
+# Setup primary clocks and initialize the SDRAM
+mww 0x53000000 0x00000000
+mww 0x4a000008 0xffffffff
+mww 0x4a00000c 0x000007ff
+mww 0x4c000000 0x00ffffff
+mww 0x4c000014 0x00000003
+mww 0x4c000004 0x000a1031
+mww 0x48000000 0x11111122
+mww 0x48000004 0x00000700
+mww 0x48000008 0x00000700
+mww 0x4800000c 0x00000700
+mww 0x48000010 0x00000700
+mww 0x48000014 0x00000700
+mww 0x48000018 0x00000700
+mww 0x4800001c 0x00018005
+mww 0x48000020 0x00018005
+mww 0x48000024 0x009c0459
+mww 0x48000028 0x000000b2
+mww 0x4800002c 0x00000030
+mww 0x48000030 0x00000030
+flash probe 0