Introduced jtag_init and "jtag arp_init" to allow target scripts more control over how OpenOCD starts up and initializes the target.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2805 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -359,3 +359,13 @@ proc capture_catch {a} {
|
||||
} result
|
||||
return $result
|
||||
}
|
||||
|
||||
|
||||
# Executed during "init". Can be implemented by target script
|
||||
# tar
|
||||
proc jtag_init {} {
|
||||
if {[catch {jtag arp_init} err]!=0} {
|
||||
# try resetting additionally
|
||||
jtag arp_init-reset
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user