summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-04 17:46:41 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-04 17:46:41 +0000
commitb36248beb9f8c15c830d76c8fa656178ed6c335b (patch)
tree446e2438fdefc2061f7fe650252d26ad2c2989cd /src/target
parentd0bd3b719eb863657136365dcc27b8ae5964b519 (diff)
downloadopenocd_libswd-b36248beb9f8c15c830d76c8fa656178ed6c335b.tar.gz
openocd_libswd-b36248beb9f8c15c830d76c8fa656178ed6c335b.tar.bz2
openocd_libswd-b36248beb9f8c15c830d76c8fa656178ed6c335b.tar.xz
openocd_libswd-b36248beb9f8c15c830d76c8fa656178ed6c335b.zip
- added event scripts for str73x and str75x targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/Makefile.am3
-rw-r--r--src/target/event/str710_program.script8
-rw-r--r--src/target/event/str730_program.script1
-rw-r--r--src/target/event/str750_program.script2
-rw-r--r--src/target/target/str730.cfg2
-rw-r--r--src/target/target/str750.cfg2
6 files changed, 10 insertions, 8 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am
index 28d5862b..025c629c 100644
--- a/src/target/Makefile.am
+++ b/src/target/Makefile.am
@@ -34,5 +34,6 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin event/at91eb40a_reset.script
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 \
- event/hammer_reset.script interface/flyswatter.cfg target/hammer.cfg target/mx31.cfg target/at91eb40a.tcl
+ event/hammer_reset.script interface/flyswatter.cfg target/hammer.cfg target/mx31.cfg target/at91eb40a.tcl \
+ event/str730_program.script event/str750_program.script
diff --git a/src/target/event/str710_program.script b/src/target/event/str710_program.script
index b268adf0..e5b56f7b 100644
--- a/src/target/event/str710_program.script
+++ b/src/target/event/str710_program.script
@@ -1,8 +1,2 @@
flash protect 0 0 7 off
-
-
-
-
-
-
-
+flash protect 1 0 1 off
diff --git a/src/target/event/str730_program.script b/src/target/event/str730_program.script
new file mode 100644
index 00000000..b1601b84
--- /dev/null
+++ b/src/target/event/str730_program.script
@@ -0,0 +1 @@
+flash protect 0 0 7 off
diff --git a/src/target/event/str750_program.script b/src/target/event/str750_program.script
new file mode 100644
index 00000000..e5b56f7b
--- /dev/null
+++ b/src/target/event/str750_program.script
@@ -0,0 +1,2 @@
+flash protect 0 0 7 off
+flash protect 1 0 1 off
diff --git a/src/target/target/str730.cfg b/src/target/target/str730.cfg
index 9965fa3d..e7c6ba55 100644
--- a/src/target/target/str730.cfg
+++ b/src/target/target/str730.cfg
@@ -23,6 +23,8 @@ target arm7tdmi little run_and_halt 0 arm7tdmi
run_and_halt_time 0 30
+target_script 0 gdb_program_config event/str730_program.script
+
working_area 0 0x40000000 0x4000 nobackup
#flash bank <driver> <base> <size> <chip_width> <bus_width>
diff --git a/src/target/target/str750.cfg b/src/target/target/str750.cfg
index c87f5d09..29280dcf 100644
--- a/src/target/target/str750.cfg
+++ b/src/target/target/str750.cfg
@@ -24,6 +24,8 @@ target arm7tdmi little run_and_halt 0 arm7tdmi
run_and_halt_time 0 30
+target_script 0 gdb_program_config event/str750_program.script
+
working_area 0 0x40000000 0x4000 nobackup
#flash bank <driver> <base> <size> <chip_width> <bus_width>