summaryrefslogtreecommitdiff
path: root/src/target/target/hammer.cfg
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/target/hammer.cfg
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/target/hammer.cfg')
-rw-r--r--src/target/target/hammer.cfg28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/target/target/hammer.cfg b/src/target/target/hammer.cfg
new file mode 100644
index 00000000..2738e5bb
--- /dev/null
+++ b/src/target/target/hammer.cfg
@@ -0,0 +1,28 @@
+# Target Configuration for the TinCanTools S3C2410 Based Hammer Module
+# http://www.tincantools.com
+
+#use combined on interfaces or targets that can't set TRST/SRST separately
+reset_config trst_and_srst
+
+#jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+jtag_device 4 0x1 0xf 0xe
+
+
+#target configuration
+daemon_startup reset
+#target <type> <endianess> <reset mode>
+target arm920t little run_and_init 0 arm920t
+
+# speed up memory downloads
+arm7 fast_memory_access enable
+arm7_9 dcc_downloads enable
+
+target_script 0 reset event/hammer_reset.script
+
+working_area 0 0x30800000 0x20000 nobackup
+run_and_halt_time 0 1000
+
+#flash configuration
+#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
+flash bank cfi 0x00000000 0x1000000 2 2 0