Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Raspberry Pi Pico 2 can't enter Safe Mode #9710

Closed
@Supermath101

Description

@Supermath101

CircuitPython version

Adafruit CircuitPython 9.2.0-beta.0 on 2024-09-17; Raspberry Pi Pico 2 with rp2350a

Code/REPL

# boot.py
import usb_cdc
usb_cdc.disable()

Behavior

After power-cycling the Raspberry Pi Pico 2, as instructed in #990 (comment), the boot.py still runs.

Description

I was expecting a REPL prompt similar to this, but more applicable to the actual situation:

Auto-reload is off.
Running in safe mode! Not running saved code.

You are in safe mode because:
The power dipped. Make sure you are providing enough power.
Press reset to exit safe mode.

Press any key to enter the REPL. Use CTRL-D to reload.

Adafruit CircuitPython 8.1.0 on 2023-03-30; Adafruit Feather RP2040 with rp2040

https://learn.adafruit.com/circuitpython-safe-mode/overview

However, I was instead met with no REPL, as the boot.py disabled the REPL.

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions