Skip to content

board disappears when in safe mode #4728

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

Closed
Neradoc opened this issue May 8, 2021 · 1 comment · Fixed by #4730
Closed

board disappears when in safe mode #4728

Neradoc opened this issue May 8, 2021 · 1 comment · Fixed by #4730
Assignees
Milestone

Comments

@Neradoc
Copy link

Neradoc commented May 8, 2021

Booting into safe mode the board does not appear on USB anymore (no MSC, no serial) until reset into normal mode.
Tested on macOS Catalina, but I think it's either a crash of the board or USB being disabled in safe mode.
Tested with a QT PY M0, Feather M4 pressing reset-to-boot, and a pico using the following code:

>>> import microcontroller
>>> microcontroller.on_next_reset(microcontroller.RunMode.SAFE_MODE)
>>> microcontroller.reset()

Tested a few builds, it seems to happen starting with #4689 (dynamic USB descriptors)

@dhalbert
Copy link
Collaborator

dhalbert commented May 8, 2021

I know what the problem is and will fix it.

@dhalbert dhalbert self-assigned this May 8, 2021
@dhalbert dhalbert added this to the 7.0.0 milestone May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants