"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
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user