Skip to content

ESP32-S2 can't boot to UF2-Bootloader from user code #5426

Closed
@FlorianBaumgartner

Description

@FlorianBaumgartner

CircuitPython version

Setup: Adafruit ESP32-S2 Metro, UF2 0.5.2, CircuitPython 7.0.0, Windows 10

Code/REPL

import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.UF2)
microcontroller.reset()

Behavior

Acts just as a regular system reset. Device does not enter UF2-Bootloader.

Description

Even by directly calling:

esp_reset_reason();
esp_reset_reason_set_hint((esp_reset_reason_t) 0x11F2);
esp_restart();

The ESP32-S2 does not enter UF2-Bootloader.
The only way is to double press the reset button, or reset the device and shortly after press the boot button.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugespressifapplies to multiple Espressif chips

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions