Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nRF91 DK / nRF53 DK support #242

Open
simtind opened this issue Oct 29, 2020 · 0 comments
Open

nRF91 DK / nRF53 DK support #242

simtind opened this issue Oct 29, 2020 · 0 comments

Comments

@simtind
Copy link

simtind commented Oct 29, 2020

Description

Mbed-ls does not correctly list newest-generation nRF dev kits. This is probably related to them having more than one com port. At least on windows, the script stops parsing composite device functions before all parts of the probe has been discovered, since the max number of components is hardcoded to 5.

mbed-os-tools version: 0.0.15
mbed-ls version: 1.7.12
Targets: nRF5340-DK and nRF9160-DK

Steps to reproduce:

  • Connect an nRF9160-DK or nRF5340-DK to computer with mbed-ls installed.
  • Excecute mbedls -u

Output looks like the following

platform_name platform_name_unique mount_point serial_port target_id interface_version
unknown None[0] unknown COM22 000960012849 unknown

If -u is not passed to mbedls, the following warning appears.
WARNING:mbedls.lstools_base:MBED with target id '000960012849' is connected, but not mounted. Use the '-u' flag to include it in the list.

The expected behavior is for mbedls to detect and recognize the nRF devkit:

platform_name platform_name_unique mount_point serial_port target_id interface_version
nRF5340_DK None[0] E: COM22 000960112849 unknown

Ideally, the serial_port value would be a list for devkits with more than one COM port.

platform_name platform_name_unique mount_point serial_port target_id interface_version
nRF5340_DK None[0] E: ['COM12', 'COM11', 'COM22'] 000960112849 unknown

Issue request type

[ ] Question
[X] Enhancement
[ ] Bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant