MicroPython/CircuitPython, enter bootloader programmatically, without BOOT button.

MicroPython/CircuitPython, enter bootloader programmatically, without BOOT button. (Tested on Raspberry Pi Pico)


In case the Raspberry Pi Pico is flashed MicroPython:
import machine
machine.bootloader()
In case of CircuitPython:
import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.BOOTLOADER)
microcontroller.reset()


Comments

Popular posts from this blog

MicroPython/ESP32-C3 + 1.8" 128x160 TFT ST7735 SPI, using boochow/MicroPython-ST7735 library.

CameraWebServe: ESP32-S3 (arduino-esp32) + OV5640 camera module