QUERY · ISSUE
Does micropython have FLASH power-down protection?
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
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.