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

480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library

Drive 320x240 ILI9341 SPI TFT using ESP32-S3 (NodeMCU ESP-S3-12K-Kit) using TFT_eSPI library, in Arduino Framework.