]> git.sur5r.net Git - openocd/commitdiff
- added event scripts for str73x and str75x targets
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 4 Jul 2008 17:46:41 +0000 (17:46 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 4 Jul 2008 17:46:41 +0000 (17:46 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/Makefile.am
src/target/event/str710_program.script
src/target/event/str730_program.script [new file with mode: 0644]
src/target/event/str750_program.script [new file with mode: 0644]
src/target/target/str730.cfg
src/target/target/str750.cfg

index 28d5862b8a585d27acd3e359c4e586f7644ba739..025c629c5e745a28a512c9f3c86eec2cf088ad78 100644 (file)
@@ -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
 
index b268adf09274c5cfc421fe63ca2d611bc972fb78..e5b56f7ba9a4355c39dc3e35b22d265647063969 100644 (file)
@@ -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 (file)
index 0000000..b1601b8
--- /dev/null
@@ -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 (file)
index 0000000..e5b56f7
--- /dev/null
@@ -0,0 +1,2 @@
+flash protect 0 0 7 off
+flash protect 1 0 1 off
index 9965fa3d9f1d30038283a3b782455b2ffa7be643..e7c6ba55d820f2a3e363b73c7055e11d42550827 100644 (file)
@@ -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>
index c87f5d090d390e34a6f6e0c681a9092dc03b7326..29280dcf83df4dc20c4716dfbcdd36b20ae62e71 100644 (file)
@@ -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>