summaryrefslogtreecommitdiff
path: root/testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg')
-rw-r--r--testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg b/testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg
index c24a2517..8d9492b3 100644
--- a/testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg
+++ b/testing/examples/LPC2148Test/prj/lpc2148_jtagkey.cfg
@@ -22,16 +22,14 @@ reset_config trst_and_srst srst_pulls_trst
jtag_device 4 0x1 0xf 0xe
#target configuration
-daemon_startup reset
-
-#target <type> <startup mode>
-#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
-target arm7tdmi little 0 arm7tdmi-s_r4
-
-working_area 0 0x40000000 0x4000 nobackup
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi-s_r4
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup false
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765 calc_checksum
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
+
+init
+reset halt