← index #4832Issue #8528
Related · high · value 1.343
QUERY · ISSUE

stm32: Factory reset from code

openby TravisJoeopened 2019-06-05updated 2022-01-01
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

closedby IlysvlVEizbropened 2022-04-13updated 2022-08-25

@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:

  1. Hold down the USR switch.
  2. While still holding down USR, press and release the RST switch.
  3. Let go of the USR switch.

Specific phenomenon:

  1. The green LED always keeps on.
  2. PC cannot recognize pyboard.
  3. No py script is run.

Also see #7935 and #7816

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied