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

Several devices issue #9

Open
jannden opened this issue Oct 11, 2024 · 1 comment
Open

Several devices issue #9

jannden opened this issue Oct 11, 2024 · 1 comment

Comments

@jannden
Copy link

jannden commented Oct 11, 2024

I had to add usb_vid, usb_pid to the Embed.toml probably due to the fact, that several devices were found on my Windows PC (a person next to me using Linux had the same problem):

[default.probe]
protocol = "Swd"
usb_vid = "0d28"
usb_pid = "0204"

Here is the error:

PS C:\Users\.....\microbit\src\03-setup> cargo embed --target thumbv7em-none-eabihf
   Compiling semver-parser v0.7.0
    ...
   Compiling rtt-check v0.1.0 (C:\Users\.....\microbit\src\03-setup)
      Config default
      Target C:\Users\.....\microbit\target\thumbv7em-none-eabihf\debug\rtt-check
       Error The following devices were found:
              [0]: BBC micro:bit CMSIS-DAP -- 0d28:0204:9906360200052820E521F0BA07F91E12000000006E052820 (CMSIS-DAP)
             [1]: CMSIS-DAP v1 -- 0d28:0204:9906360200052820e521f0ba07f91e12000000006e052820 (CMSIS-DAP)
              Use '--probe VID:PID'
              You can also set the [default.probe] config attribute (in your Embed.toml) to select which probe to use. For usage examples see https://github.com/probe-rs/probe-rs/blob/master/probe-rs-tools/src/bin/probe-rs/cmd/cargo_embed/config/default.toml .
@BartMassey
Copy link
Member

Interesting. Thanks much for the report! What is the other device that is showing up here?

Anyhow, we can add a note to the book. If you want to do a PR, it would be welcome. Otherwise I'll get it in a bit.

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

2 participants