Skip to content

Commit d537cfa

Browse files
committed
drivers/stlink: clarify "init mode failed" message
The message as it was didn't let the user know that something was wrong with the target or wiring. Change-Id: Ib609c2d31959e77413e61c348d0e31d7269d5c58 Signed-off-by: Paul Fertser <[email protected]> Reviewed-on: http://openocd.zylin.com/2365 Tested-by: jenkins Reviewed-by: Uwe Bonnes <[email protected]> Reviewed-by: Jens Bauer <[email protected]>
1 parent 5b6c29a commit d537cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jtag/drivers/stlink_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ static int stlink_usb_open(struct hl_interface_param_s *param, void **fd)
18311831
err = stlink_usb_init_mode(h, param->connect_under_reset);
18321832

18331833
if (err != ERROR_OK) {
1834-
LOG_ERROR("init mode failed");
1834+
LOG_ERROR("init mode failed (unable to connect to the target)");
18351835
goto error_open;
18361836
}
18371837

0 commit comments

Comments
 (0)