summaryrefslogtreecommitdiff
path: root/src/target/target/str912.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target/str912.cfg')
-rw-r--r--src/target/target/str912.cfg8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/target/target/str912.cfg b/src/target/target/str912.cfg
index cd0ec11c..6f605b06 100644
--- a/src/target/target/str912.cfg
+++ b/src/target/target/str912.cfg
@@ -17,9 +17,7 @@ jtag_device 8 0x1 0x1 0xfe
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm966e little 1 arm966e
+target create target0 arm966e -endian little -chain-position 1 -variant arm966e
[new_target_name] configure -event reset-start { jtag_rclk 16 }
@@ -35,9 +33,7 @@ target arm966e little 1 arm966e
flash protect 0 0 7 off
}
-
-
-working_area 0 0x50000000 16384 nobackup
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 0
#flash bank str9x <base> <size> 0 0 <target#> <variant>
flash bank str9x 0x00000000 0x00080000 0 0 0