OK if target is unavailble after waiting for halt

This commit is contained in:
cgsfv 2024-03-28 09:42:17 -07:00
parent 6ff5d5d8ce
commit d6cad946db
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ proc ocd_process_reset_inner { MODE } {
# Did we succeed?
set s [$t curstate]
if { $s == "unavailable" } {
continue
}
if { $s != "halted" } {
return -code error [format "TARGET: %s - Not halted - Maybe unavailable %s" $t $s]
}