OK if target is unavailble after waiting for halt
This commit is contained in:
parent
6ff5d5d8ce
commit
d6cad946db
|
@ -145,6 +145,9 @@ proc ocd_process_reset_inner { MODE } {
|
||||||
# Did we succeed?
|
# Did we succeed?
|
||||||
set s [$t curstate]
|
set s [$t curstate]
|
||||||
|
|
||||||
|
if { $s == "unavailable" } {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if { $s != "halted" } {
|
if { $s != "halted" } {
|
||||||
return -code error [format "TARGET: %s - Not halted - Maybe unavailable %s" $t $s]
|
return -code error [format "TARGET: %s - Not halted - Maybe unavailable %s" $t $s]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue