summaryrefslogtreecommitdiff
path: root/testing/examples/LPC2294Test
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-30 08:04:11 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-30 08:04:11 +0000
commitbe968a54002b3387e0316c2fcce4ee93da840caa (patch)
treed793cfc689143060fff13c88de0f23f8a21093d0 /testing/examples/LPC2294Test
parent069a04dca0badadb709c6f2f84ef668ad38ddc8a (diff)
downloadopenocd_libswd-be968a54002b3387e0316c2fcce4ee93da840caa.tar.gz
openocd_libswd-be968a54002b3387e0316c2fcce4ee93da840caa.tar.bz2
openocd_libswd-be968a54002b3387e0316c2fcce4ee93da840caa.tar.xz
openocd_libswd-be968a54002b3387e0316c2fcce4ee93da840caa.zip
Rick Altherr <kc8apf@kc8apf.net> - update syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1114 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'testing/examples/LPC2294Test')
-rw-r--r--testing/examples/LPC2294Test/prj/lpc2294_jtagkey.cfg12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/examples/LPC2294Test/prj/lpc2294_jtagkey.cfg b/testing/examples/LPC2294Test/prj/lpc2294_jtagkey.cfg
index d2dfd45f..526cce1e 100644
--- a/testing/examples/LPC2294Test/prj/lpc2294_jtagkey.cfg
+++ b/testing/examples/LPC2294Test/prj/lpc2294_jtagkey.cfg
@@ -22,13 +22,8 @@ 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 configuration
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
@@ -36,3 +31,6 @@ flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 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