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

Add cmd to erase multiple sectors #20

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

9names
Copy link
Member

@9names 9names commented Feb 2, 2024

On fast debug probes, erasing is the slowest operation during flash.
Add a function to the algo to pass a range of sectors to erase so that allow flash_range_erase can use block erase commands to perform the erase.
This is a bit more than 2x faster than sector erase.

Requires probe-rs/probe-rs#2132

Will rebase onto main once #19 is merged.

@9names 9names marked this pull request as draft February 2, 2024 13:35
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

Successfully merging this pull request may close these issues.

1 participant