esptool read flash 16M

Die_32_
Posts: 58
Joined: Wed May 05, 2021 2:42 pm

esptool read flash 16M

Postby Die_32_ » Tue Feb 22, 2022 7:53 am

Hi all,

I'm trying to read all the flash content of the ESP32 with 16 MB flash


Is this correct?

Code: Select all

("esptool.py -b 921600 --port COM14 read_flash 0x00000 0x1600000 flash_16M.bin"

ESP_Sprite
Posts: 8884
Joined: Thu Nov 26, 2015 4:08 am

Re: esptool read flash 16M

Postby ESP_Sprite » Wed Feb 23, 2022 1:38 am

0x1600000 is not 16M. You want 0x1000000.

Die_32_
Posts: 58
Joined: Wed May 05, 2021 2:42 pm

Re: esptool read flash 16M

Postby Die_32_ » Tue May 17, 2022 2:11 pm

So if I want to read all the flash from and ESP32 and copy to another ( i.e. for production speeding process), can I use

Code: Select all

For  16M Flash:
python esptool.py -b 921600--port COM3 read_flash 0x00000 0x1000000 flash_16M.bin
python esptool.py -b 921600 --port COM3 write_flash --flash_freq 40m 0x000000 flash_16M.bin
?

ESP_Sprite
Posts: 8884
Joined: Thu Nov 26, 2015 4:08 am

Re: esptool read flash 16M

Postby ESP_Sprite » Wed May 18, 2022 1:37 pm

From what I can see, that should indeed work.

Who is online

Users browsing this forum: No registered users and 68 guests