← index #7960Issue #4408
Related · high · value 1.225
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

Files are missing boot.py and main.py on ESP8266 board

closedby lazarvgdopened 2019-01-13updated 2019-01-14

Hi there, I am using esp8266 lolin with micropython. I have done some kind of stress tests, disconnecting the power, resetting the board with reset button in order to test how it will behave.

What have I found is that files are missing from the board. I am using ampy to check the files on board. I have executed the commnad sudo ampy --port /dev/tty.wchusbserial1420 -d1 ls and I have gotten the output like this:
/. /. /. /. /. /. /. /. /. /.

I am not sure why is this happening, I was able to upload files, get existing files without any problem until I once pressed reset button to see will the board continue with work as expected.

Can somebody tell me is this related to micropython or the chip quality?

Thanks :)

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