Skip to content

Commit 558a20e

Browse files
committed
Improve error message for when failing to reset target. This is usually caused by an old interface firmware
1 parent 2f0ac78 commit 558a20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False,
22492249
error("Unable to flash the target board connected to your system.", 1)
22502250

22512251
if not reset_dev(detected['port']):
2252-
error("Unable to reset the target board connected to your system.", 1)
2252+
error("Unable to reset the target board connected to your system.\nThis might be caused by an old interface firmware.\nPlease check the board page for new firmware.", 1)
22532253

22542254
program.set_defaults(target=target, toolchain=tchain)
22552255

0 commit comments

Comments
 (0)