-
Notifications
You must be signed in to change notification settings - Fork 1.3k
microcontroller.reset() to bootloader on esp32-s2 #3884
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
Comments
circuitpython/ports/esp32s2/common-hal/microcontroller/__init__.c Lines 70 to 73 in 1b7fbaf
I don't think it is possible to enter |
there is some way to enter the DFU bootloader from usercode because arduino does it... |
@ladyada here is the shutdown handler that does the reboot into the proper mode: https://github.com/espressif/arduino-esp32/blob/idf-release/v4.2/cores/esp32/esp32-hal-tinyusb.c#L458-L479 it is registered here: https://github.com/espressif/arduino-esp32/blob/idf-release/v4.2/cores/esp32/esp32-hal-tinyusb.c#L531 Let me know if this does not help :) |
Thanks! @me-no-dev, this works... the changes are in my |
@microdev1 Could you make your changes into a PR? |
This is stuck due to |
I just want to point out, that I am very interested that this feature will work in the not to distance future, |
This should be fixed now, with the latest merge, and also with the latest TinyUF2. Update your TinyUF2 bootloader to at least 0.5.0, following the instructions here: https://learn.adafruit.com/adafruit-magtag/install-uf2-bootloader |
Uh oh!
There was an error while loading. Please reload this page.
Running these commands in REPL my device is rebooting into standard mode coming up as a
CIRCUITPY
drive.Tested on:
and
I have previously followed the process to have UF2 combo bootloader on my devices.
The text was updated successfully, but these errors were encountered: