diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-14 08:15:23 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-14 08:15:23 +0000 |
commit | 9bd0116866d35be18890d0c008dc380e60a52597 (patch) | |
tree | 88f0d068a8c83229fb3ead0f4f6b1281571c25df /src/target/target/str730.cfg | |
parent | 6a775dff38d52431fd472665fefaf641edc0db57 (diff) | |
download | openocd+libswd-9bd0116866d35be18890d0c008dc380e60a52597.tar.gz openocd+libswd-9bd0116866d35be18890d0c008dc380e60a52597.tar.bz2 openocd+libswd-9bd0116866d35be18890d0c008dc380e60a52597.tar.xz openocd+libswd-9bd0116866d35be18890d0c008dc380e60a52597.zip |
- added new and missing target scripts - stm32stick and str730
git-svn-id: svn://svn.berlios.de/openocd/trunk@579 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target/str730.cfg')
-rw-r--r-- | src/target/target/str730.cfg | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/target/target/str730.cfg b/src/target/target/str730.cfg new file mode 100644 index 00000000..b3879a94 --- /dev/null +++ b/src/target/target/str730.cfg @@ -0,0 +1,28 @@ +#STR730 CPU
+
+#use combined on interfaces or targets that can’t set TRST/SRST separately
+#reset_config trst_and_srst srst_pulls_trst
+reset_config trst_and_srst srst_pulls_trst
+
+#jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+jtag_device 4 0x1 0xf 0xe
+
+#jtag nTRST and nSRST delay
+jtag_nsrst_delay 500
+jtag_ntrst_delay 500
+
+#target configuration
+daemon_startup reset
+
+#target <type> <startup mode>
+#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
+target arm7tdmi little run_and_halt 0 arm7tdmi
+
+run_and_halt_time 0 30
+
+working_area 0 0x40000000 0x4000 nobackup
+
+#flash bank <driver> <base> <size> <chip_width> <bus_width>
+flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x
+
|