]> git.sur5r.net Git - openocd/commitdiff
David Anders more target lib scripts contributed by
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 27 Jun 2008 06:19:37 +0000 (06:19 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 27 Jun 2008 06:19:37 +0000 (06:19 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/Makefile.am
src/target/event/hammer_reset.script [new file with mode: 0644]
src/target/interface/flyswatter.cfg [new file with mode: 0644]
src/target/target/hammer.cfg [new file with mode: 0644]

index 966ec37c43be099ba0cccf753c0d103d01b12f33..9a8de56cdcc5c42e35b29cf05c1dc3c2e4e79da7 100644 (file)
@@ -33,5 +33,6 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin event/at91eb40a_reset.script
        interface/calao-usb-a9260-c01.cfg interface/calao-usb-a9260-c02.cfg \
        interface/calao-usb-a9260.cfg target/at91sam9260minimal.cfg  event/lpc2148_reset.script \
        interface/chameleon.cfg interface/at91rm9200.cfg interface/jlink.cfg interface/arm-usb-ocd.cfg \
-       interface/signalyzer.cfg event/eir-sam7se512_reset.script target/eir-sam7se512.cfg
+       interface/signalyzer.cfg event/eir-sam7se512_reset.script target/eir-sam7se512.cfg \
+       event/hammer_reset.script interface/flyswatter.cfg target/hammer.cfg
 
diff --git a/src/target/event/hammer_reset.script b/src/target/event/hammer_reset.script
new file mode 100644 (file)
index 0000000..ae73074
--- /dev/null
@@ -0,0 +1,24 @@
+# Reset Script for the TinCanTools S3C2410 Based Hammer Module\r
+# http://www.tincantools.com\r
+#\r
+# Setup primary clocks and initialize the SDRAM\r
+mww 0x53000000 0x00000000\r
+mww 0x4a000008 0xffffffff\r
+mww 0x4a00000c 0x000007ff\r
+mww 0x4c000000 0x00ffffff\r
+mww 0x4c000014 0x00000003\r
+mww 0x4c000004 0x000a1031\r
+mww 0x48000000 0x11111122\r
+mww 0x48000004 0x00000700\r
+mww 0x48000008 0x00000700\r
+mww 0x4800000c 0x00000700\r
+mww 0x48000010 0x00000700\r
+mww 0x48000014 0x00000700\r
+mww 0x48000018 0x00000700\r
+mww 0x4800001c 0x00018005\r
+mww 0x48000020 0x00018005\r
+mww 0x48000024 0x009c0459\r
+mww 0x48000028 0x000000b2\r
+mww 0x4800002c 0x00000030\r
+mww 0x48000030 0x00000030\r
+flash probe 0\r
diff --git a/src/target/interface/flyswatter.cfg b/src/target/interface/flyswatter.cfg
new file mode 100644 (file)
index 0000000..83f5a64
--- /dev/null
@@ -0,0 +1,9 @@
+# Interface Configuration for the TinCanTools FT2232 Based Flyswatter\r
+# http://www.tincantools.com\r
+\r
+#interface\r
+interface ft2232\r
+ft2232_device_desc "Flyswatter"\r
+ft2232_layout "flyswatter"\r
+ft2232_vid_pid 0x0403 0x6010\r
+jtag_speed 1\r
diff --git a/src/target/target/hammer.cfg b/src/target/target/hammer.cfg
new file mode 100644 (file)
index 0000000..2738e5b
--- /dev/null
@@ -0,0 +1,28 @@
+# Target Configuration for the TinCanTools S3C2410 Based Hammer Module\r
+# http://www.tincantools.com\r
+\r
+#use combined on interfaces or targets that can't set TRST/SRST separately\r
+reset_config trst_and_srst\r
+\r
+#jtag scan chain\r
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)\r
+jtag_device 4 0x1 0xf 0xe\r
+\r
+\r
+#target configuration\r
+daemon_startup reset\r
+#target <type> <endianess> <reset mode>\r
+target arm920t little run_and_init 0 arm920t\r
+\r
+# speed up memory downloads\r
+arm7 fast_memory_access enable\r
+arm7_9 dcc_downloads enable\r
+\r
+target_script 0 reset event/hammer_reset.script\r
+\r
+working_area 0 0x30800000 0x20000 nobackup\r
+run_and_halt_time 0 1000\r
+\r
+#flash configuration\r
+#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]\r
+flash bank cfi 0x00000000 0x1000000 2 2 0\r