From b36248beb9f8c15c830d76c8fa656178ed6c335b Mon Sep 17 00:00:00 2001 From: ntfreak Date: Fri, 4 Jul 2008 17:46:41 +0000 Subject: [PATCH] - added event scripts for str73x and str75x targets git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/Makefile.am | 3 ++- src/target/event/str710_program.script | 8 +------- src/target/event/str730_program.script | 1 + src/target/event/str750_program.script | 2 ++ src/target/target/str730.cfg | 2 ++ src/target/target/str750.cfg | 2 ++ 6 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 src/target/event/str730_program.script create mode 100644 src/target/event/str750_program.script 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 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 -- 2.39.5