-->
Page 1 of 1

Dump FW and Flash

PostPosted: Thu Jul 23, 2015 12:16 pm
by Ripper121
I work on a device and want to dump the Flash/FW to a file.
I want to buld >100 Devices and so i need a fast way to flash the FW and my Code fast to the ESP.

How can i dump all what i need to copy it on a second esp?

Re: Dump FW and Flash

PostPosted: Thu Jul 23, 2015 12:54 pm
by martinayotte
esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x80000 ./backup.bin
(where 0x80000 is the size of 512K Flash)
Then, on second ESP :
esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ./backup.bin

Re: Dump FW and Flash

PostPosted: Thu Jul 23, 2015 1:22 pm
by Ripper121
An with this method i also copy my code?
I run nodemcu and code with it.

Re: Dump FW and Flash

PostPosted: Thu Jul 23, 2015 4:29 pm
by martinayotte
Since NodeMCU has a bigger Flash, the size need to be choosen accordingly to get the whole thing together.