ARMmbed / ARMmbed/mbed-cli

[mbed] ERROR: Unable to reset the target board connected to your system.

Open
#702 14 comments 0 reactions 0 assignees View on GitHub
Jira status: OPEN mirrored type: bug
Dominant language
Python
Stars
339
Forks
187
PR merge metrics
No merged PRs in 30d

Description

I'm getting
```
$ mbed compile --flash
...
[mbed] Detected "NRF52840_DK" connected to "/media/mark/MBED" and using com port "/dev/ttyACM0"
[mbed] ERROR: Unable to reset the target board connected to your system.
[mbed] ERROR: This might be caused by an old interface firmware.
[mbed] ERROR: Please check the board page for new firmware.
```
with return code 1, because `mbed_sterm` has no way to return true if `sterm` is false.
https://github.com/ARMmbed/mbed-cli/blob/master/mbed/mbed.py#L1785

I think just setting `result` to true if `sterm` is false is fine? I did it locally and it fixed my issue, but I didn't check all the places it's called.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.