Skip to content

Target detection not working for ARM_MUSCA_B1 #272

@LDong-Arm

Description

@LDong-Arm

Describe the bug
mbed-tools detect is not working for ARM_MUSCA_B1. Same with the -f option of mbed-tools compile, so it's a target detection issue.

To Reproduce
Steps to reproduce the behavior:

  1. Connect an ARM_MUSCA_B1 board to PC and wait for it to enumerate
  2. Run mbed-tools detect. The error is
ERROR: Could not identify a board with the product code: '5007'.
No connected Mbed devices found.

Expected behavior
The target ARM_MUSCA_B1 should be recognised. Output from the old tools (mbed detect):

[mbed] Detected ARM_MUSCA_B1, port /dev/tty.usbmodem143102, mounted /Volumes/MUSCA_B, interface version 0242:
[mbed] Supported toolchains for ARM_MUSCA_B1
| Target       | mbed OS 2 | mbed OS 5 |    ARM    | uARM |  GCC_ARM  | IAR |
|--------------|-----------|-----------|-----------|------|-----------|-----|
| ARM_MUSCA_B1 |     -     | Supported | Supported |  -   | Supported |  -  |
Supported targets: 1
Supported toolchains: 2

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS
  • Version: 11.2.3 (Big Sur)

Mbed (please complete the following information):

  • Device: ARM_MUSCA_B1
  • Mbed OS Version: 6.9.0
  • Mbed CLI 2 Version: 7.10.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions