Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By wally
#11095 Not sure ithis question belongs to this forum

I can succesfully upload firmware using the following command:
./esptool.py -b 9600 -p /dev/ttyUSB0 write_flash 0x000000 ./Firmware.bin

what is the correct size in arguments to read the same file back i wrote above ?
usage: esptool read_flash [-h] address size filename
positional arguments:
address Start address
size Size of region to dump
filename Name of binary dump

./esptool.py -b 9600 -p /dev/ttyUSB0 read_flash 0x000000 ??????? ./savedFW.bin
got it :)
./esptool.py -b 9600 -p /dev/ttyUSB0 read_flash 0x000000 0x7f000 ./xxxFW2.bin

thank you