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
This commit is contained in:
oharboe
2008-09-24 08:21:34 +00:00
parent 4272b1989d
commit a8c2507dbf
4 changed files with 262 additions and 40 deletions

View File

@@ -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 }