Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

CMSIS_DAP is not recognised (fix available link to PR) #400

Open
dvdsk opened this issue Apr 30, 2023 · 0 comments
Open

CMSIS_DAP is not recognised (fix available link to PR) #400

dvdsk opened this issue Apr 30, 2023 · 0 comments

Comments

@dvdsk
Copy link

dvdsk commented Apr 30, 2023

Describe the bug
This cheap Cmsis Dap/Daplink from china results in Error: probe not found

To Reproduce
Steps to reproduce the behavior:
Run Probe run --chip <some chip> <some-path-to-an-elf>

Expected and observed behavior
The probe should flash the elf

config.toml
not relevant

Probe details
You can get this information from probe-rs-cli. Your microcontroller must be connected to your PC / laptop when you run the command below.

Example:

$ probe-run --list-probes
[0]: CMSIS_DAP (VID: c251, PID: f001, Serial: 202108120001, CmsisDap)

Operating System:
Linux

Cause
dependency probe-rs recognizes Cmsis Dap devices by looking for the string "CMSIS-DAP". Since this device is called "CMSIS_DAP" with an underscore that check fails.

Fix
Wait till upstream merges this PR that fixes the cause, then update to latest probe-rs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant