summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-09-24 08:21:34 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-09-24 08:21:34 +0000
commita8c2507dbf6ab7bcabb666b895f0042715ccfa4b (patch)
treeb2ccb290956c50641a5c7a29aa2265c6e236ecd5 /src/target
parent4272b1989d845dacdba7cdac81c8ffbb60b9bded (diff)
downloadopenocd+libswd-a8c2507dbf6ab7bcabb666b895f0042715ccfa4b.tar.gz
openocd+libswd-a8c2507dbf6ab7bcabb666b895f0042715ccfa4b.tar.bz2
openocd+libswd-a8c2507dbf6ab7bcabb666b895f0042715ccfa4b.tar.xz
openocd+libswd-a8c2507dbf6ab7bcabb666b895f0042715ccfa4b.zip
"marcel" <M.W.Wijlaars@tue.nl>,
I have the ADuC702x flashdriver working again (see attachment). It adds the option to erase and write the ADuC702x flash git-svn-id: svn://svn.berlios.de/openocd/trunk@992 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target/aduc702x.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/target/target/aduc702x.cfg b/src/target/target/aduc702x.cfg
index 3bc474f2..e3e88620 100644
--- a/src/target/target/aduc702x.cfg
+++ b/src/target/target/aduc702x.cfg
@@ -1,6 +1,9 @@
## -*- tcl -*-
##
+jtag_nsrst_delay 200
+jtag_ntrst_delay 200
+
# This is for the case that TRST/SRST is not wired on your JTAG adaptor.
# Don't really need them anyways.
reset_config none
@@ -21,7 +24,7 @@ target arm7tdmi little 0
#working_area 0 0x11C00 0x400 backup
## flash configuration
-## AdUC702x not yet spported :(
+flash bank x7026 0x80000 0x10000 2 2 0
## If you use the watchdog, the following code makes sure that the board
## doesn't reboot when halted via JTAG. Yes, on the older generation
@@ -34,5 +37,5 @@ proc watchdog_service {} {
set watchdog_hdl [after 500 watchdog_service]
}
-[new_target_name] configure -event old-post_halt { watchdog_service }
+[new_target_name] configure -event reset-halt-post { watchdog_service }
[new_target_name] configure -event old-pre_resume { global watchdog_hdl; after cancel $watchdog_hdl }