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

Added option to specify probe clock frequency #88

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

eboskma
Copy link
Contributor

@eboskma eboskma commented Oct 29, 2020

This adds an optional --speed <frequency> option to set the probe clock frequency.

I had issues flashing my Robotdyn STM32F103C8 Black Pill with my J-Link EDU Mini using any probe-rs related method (probe-run, cargo-flash, cargo-embed). When I lower the probe's clock frequency it works, but probe-run did not have the option to set the clock speed. With this PR it does!

@jacobrosenthal
Copy link

Im going to need this for the samd chips as well

Copy link
Member

@japaric japaric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@japaric japaric merged commit 50b5982 into knurling-rs:main Nov 9, 2020
@eboskma
Copy link
Contributor Author

eboskma commented Nov 10, 2020

@japaric Thank you for your work on embedded Rust!

@eboskma eboskma deleted the add-speed-option branch November 10, 2020 15:12
@jacobrosenthal
Copy link

Hey @eboskma Can you try cargo flash from git? I think it has the fix for your speed issue probe-rs/probe-rs#450
cargo install --git https://github.com/probe-rs/cargo-flash.git and if so would soon make its way into probe-run as well

Please let me know, were trying to track down anyone using reduced speed and get fixes in

@eboskma
Copy link
Contributor Author

eboskma commented Nov 29, 2020

@jacobrosenthal That works great, thanks for the heads up!

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

Successfully merging this pull request may close these issues.

3 participants