Skip to content

Reset into boot loader from REPL [CP3.0-alpha-3] #739

@osterwood

Description

@osterwood

I am attempting to reset into the boot loader via the REPL via:

import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.BOOTLOADER)
microcontroller.reset()
  • When running 2.2.1 : the board properly resets into BOOTLOADER mode (with the uf2 file visible in the mounted disk).
  • When running 2.2.4 : correct behavior (same as 2.2.1).
  • When running 3.0.0-alpha.3 : the board resets into normal running mode. Bootloader mode seems to be skipped or ignored.

I am able to get to the boot loader on 3.0.0 via double clicking the reset button, but would love for the REPL method to also be supported as I'm developing a custom CircuitPython board that does not have a reset button.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions