Skip to content

Conversation

@torfinnberset
Copy link

Previously, for a locked device, bossac would fail if you passed both an --unlock and an --erase flag at the same time, as the erase was scheduled before the unlocking. This PR enforces that any --unlock operation is committed immediately, so that any following erase or write operation can succeed.

…se operations would fail due to the flash still being locked
@shumatech
Copy link
Owner

Looks fine except I don't think the timer is useful for such a fast operation.

@torfinnberset
Copy link
Author

On my board, the unlock operation takes a 'significant' time to complete, so I added the timer to measure.

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.

2 participants