Entering SWIM mode on ST-LINK does not update swim status word.
authorAke Rehnman <ake.rehnman@gmail.com>
Sun, 29 Mar 2020 10:13:18 +0000 (12:13 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 12 Apr 2020 21:06:29 +0000 (22:06 +0100)
commitb9a30e089227db441afd300989b0befce21b7da3
treeb48bf639727b86e74b19b54a66d9dc9e5b5a5463
parent68e200c660aefe960e351452748f299c4a334474
Entering SWIM mode on ST-LINK does not update swim status word.

As a consequence of a previous failed SWIM command any
subsequent attempts to enter SWIM mode fails. Change
stlink_usb_mode_enter to use stlink_usb_xfer_noerrcheck
instead.

Change-Id: I5c6a1a8e68d3dc77ec37264880383366fa6a75d9
Signed-off-by: Ake Rehnman <ake.rehnman@gmail.com>
Reviewed-on: http://openocd.zylin.com/5547
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/drivers/stlink_usb.c