Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By jvune
#75965 Hi!
I'm trying to make a full flash dump of ESP8266 running nodemcu (with some .lua files) to make a copy of it. I'm using esptool.py for a dump. Like this: esptool.py.exe -p COM3 -b 230400 read_flash 0 0x200000 test.bin

When I look inside test.bin, I can see my lua code. So, those files are definitely there. But, when I upload this .bin to another ESP , nodemcu starts filesystem format procedure. Therefore, all .lua files are deleted. NodeMCU build itself seems to be fine.

Why does this happen if I make a full dump of the flash? Is there a register flag or something what defines that nodemcu should format filesystem? How can I copy ESP keeping all .lua files in place?