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

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

@dvdsk

Description

@dvdsk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions