The BOOTSEL button on my Raspberry Pi Pico broken! Here is how to reset
Pico and enter BOOTLOADER mode using Python (MicroPython/CircuitPython) code;
such that no need touch BOOTSEL button and un-plug/re-plug USB.
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()
No comments:
Post a Comment