Lolin board erase everything from flash

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
lazarvgd
Posts: 25
Joined: Sun May 20, 2018 8:57 am

Lolin board erase everything from flash

Post by lazarvgd » Mon Jan 14, 2019 9:51 am

Hi there, I am using a NodeMCU Lolin board to control my home heater. The problem is that I had electricity problems due to maintenance in my street. What I have found is that the board has stopped working. When I entered to the serial monitor to see what are the outputs of the board, I have found that board is empty, no files were there. I used ampy to get a list of all available files, but instead of file names I got this :

Code: Select all

/. /. /. /. /. /. /. /. /. /.
So I realized that the board erased the code from flash due to frequent power loses. Does anybody has any idea how to put the board in some kind of sleep of safety shutdown mode when power is lost?

Thanks

Post Reply