program: do not poll target after reset run
Disable polling the target before we issue a 'reset run'. This stops errors or warnings if the target disables the SWD or JTAG interface as part of the application code. Change-Id: I5019dffdad41a8e210003ece1caf89069ee0f223 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1331 Tested-by: jenkins__archive__
parent
b2189fa936
commit
3f0e9c8ad2
|
@ -54,6 +54,8 @@ proc program {filename args} {
|
||||||
|
|
||||||
if {[info exists reset]} {
|
if {[info exists reset]} {
|
||||||
# reset target if requested
|
# reset target if requested
|
||||||
|
# also disable target polling, we are shutting down anyway
|
||||||
|
poll off
|
||||||
echo "** Resetting Target **"
|
echo "** Resetting Target **"
|
||||||
reset run
|
reset run
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue