From: ntfreak Date: Fri, 4 Jul 2008 17:46:41 +0000 (+0000) Subject: - added event scripts for str73x and str75x targets X-Git-Tag: v0.1.0~545 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b36248beb9f8c15c830d76c8fa656178ed6c335b;p=openocd - added event scripts for str73x and str75x targets git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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