summaryrefslogtreecommitdiff
path: root/testing/examples/SAM7S256Test/prj
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/SAM7S256Test/prj
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/SAM7S256Test/prj')
-rw-r--r--testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg b/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg
index 634b5026..e08b84b5 100644
--- a/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg
+++ b/testing/examples/SAM7S256Test/prj/sam7s256_jtagkey.cfg
@@ -25,18 +25,16 @@ reset_config srst_only 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
+target create target0 arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
+[new_target_name] configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup false
target_script 0 reset .\prj\sam7s256_reset.script
-working_area 0 0x00200000 0x4000 nobackup
-
#flash bank <driver> <base> <size> <chip_width> <bus_width>
flash bank at91sam7 0 0 0 0 0
# 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