Skip to content

Expanded error message when set_active_configuration fails. - #120

Open
rewolff wants to merge 1 commit into
ch32-rs:mainfrom
rewolff:fix-error-msg
Open

rewolff wants to merge 1 commit into
ch32-rs:mainfrom
rewolff:fix-error-msg

Conversation

@rewolff

@rewolff rewolff commented Oct 26, 2026

Copy link
Copy Markdown

I spent a lot of time watching the "unknown error" when my PC didn't see the bootloader go away after 10 seconds.
(activating the bootloader requires a pullup on PA12, which also permanently shows the device as "connected" )

So I added a better explanation. It now says that it was trying to "set active configuration" and adds "is the bootloader running?" as a hint to the unsuspecting user.

This branch has not been deployed

No deployments
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