← index #7960Issue #4287
Off-topic · high · value 1.395
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 · ISSUE

PYBOARD V1.1 LED Green and Yellow blink with no program running after powering on.

closedby jsbyyshengopened 2018-11-02updated 2018-11-03

I design a board with the same hardware configuration as PYBOARD V1.1 but I meet a strange problem. After my board powering on, the LED Green and Yellow blink no matter I put any python code in the flash. Meanwhile, the program in the flash won't execute. After 60s, the board can connect to the computer and I notice the boot.py doesn't execute either( for I put 'import pyb' in it but I cannot use pyb in REPL). When I connect to the computer, I can use REPL without any error and all the functions are normal. I have no idea with this for a long time and I wonder if someone can help me. I will appreciate anyone who offers me help.

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