← index #7960PR #721
Off-topic · high · value 1.040
QUERY · ISSUE

Does micropython have FLASH power-down protection?

openby china-zhangdjopened 2021-11-01updated 2026-03-24
port-stm32proposed-close

My pyboard has a problem that the file system in the flash is damaged due to a sudden power failure during operation, how should I solve it?

CANDIDATE · PULL REQUEST

get and set read protection level

closedby xybopened 2014-06-27updated 2014-11-06
ports

Implemented STM32 read protection (#612)

Careful when you unset RDP with stm.set_RDP(0), the board maybe unflashable and you must erase the RDP option with JTAG or ST-LINK tools if your power down the board too fast. And stm.set_RDP(2) is dangerous too.

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