QUERY · ISSUE
stm32: Factory reset from code
port-stm32
I believe factory reset should be available as an alternative to USR. USR might not be practical or accessible for custom boards or how the device might be enclosed or accessed.
This might also be related to ways to clear/format/erase the filesystem from code.
Basically recovery and housecleaning.
CANDIDATE · ISSUE
Pyboard: Cannot use safe mode and factory reset
@dpgeorge
Firmwares with this problem:
pybv11-thread-20210902-v1.17.dfu and any newer
( including latest pybv11-thread-20220413-unstable-v1.18-330-gd242a9b7f.dfu)
This problem only appears in firmwares with threading feature.
Reproducible steps:
- Hold down the USR switch.
- While still holding down USR, press and release the RST switch.
- Let go of the USR switch.
Specific phenomenon:
- The green LED always keeps on.
- PC cannot recognize pyboard.
- No py script is run.
Also see #7935 and #7816