80 |
# dbug has problems if we go into binary mode, so this allows us to |
# dbug has problems if we go into binary mode, so this allows us to |
81 |
# disable entry into binary mode. |
# disable entry into binary mode. |
82 |
if ![board_info $dest exists no_binary_mode] { |
if ![board_info $dest exists no_binary_mode] { |
83 |
remote_binary $dest |
remote_binary $dest |
84 |
} |
} |
85 |
} |
} |
86 |
|
|
87 |
# if we built the srecord on a remote host, copy it back here so we |
# if we built the srecord on a remote host, copy it back here so we |
147 |
remote_send $dest [board_info $dest download_command] |
remote_send $dest [board_info $dest download_command] |
148 |
if [board_info $dest exists download_response] { |
if [board_info $dest exists download_response] { |
149 |
remote_expect $dest 5 { |
remote_expect $dest 5 { |
150 |
[board_info $dest download_response] { } |
[board_info $dest download_response] { } |
151 |
timeout { |
timeout { |
152 |
perror "Download command never responded." |
perror "Download command never responded." |
153 |
return "unresolved" |
return "unresolved" |
154 |
} |
} |