Skip to content

microcontroller.reset() to bootloader on esp32-s2 #3884

@FoamyGuy

Description

@FoamyGuy

Running these commands in REPL my device is rebooting into standard mode coming up as a CIRCUITPY drive.

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

Tested on:

Adafruit CircuitPython 6.1.0-beta.2-182-g1b7fbaf31 on 2020-12-26; Adafruit MagTag with ESP32S2

and

Adafruit CircuitPython 6.1.0-beta.2-30-g6cced4940 on 2020-12-13; FeatherS2 with ESP32S2

I have previously followed the process to have UF2 combo bootloader on my devices.

Metadata

Metadata

Assignees

Labels

bugespressifapplies to multiple Espressif chips

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions