From a8c2507dbf6ab7bcabb666b895f0042715ccfa4b Mon Sep 17 00:00:00 2001 From: oharboe Date: Wed, 24 Sep 2008 08:21:34 +0000 Subject: "marcel" , 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 --- src/target/target/aduc702x.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/target') 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 } -- cgit v1.2.3