How To Read from ESP32 - CLONE/BACKUP Everything

Published: 12 February 2021
on channel: Kevin Darrah
52,760
974

This was kind of a fun one that you might find useful someday like I did.

Esptool git reference: https://github.com/espressif/esptool
Flash chip datasheets: https://www.winbond.com/hq/product/co...

Here's all of those commands you can use as a starting point and note that on windows, things will be slightly different. Just follow the same steps and you should be good:

Read from Adafruit Huzzah board (4MB):
/Users/kevindarrah/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py --port /dev/cu.usbserial-01D5ECE0 --baud 921600 read_flash 0 0x400000 adafruit.bin

Write back to Adafruit Huzzah:
/Users/kevindarrah/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py --chip esp32 --port /dev/cu.usbserial-01D5ECE0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x0 /Users/kevindarrah/adafruit.bin

Get Flash ID for size:
/Users/kevindarrah/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py --port /dev/cu.usbserial-DA00Y7QG --baud 921600 flash_id

Read trigBoard (16MB):
/Users/kevindarrah/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py --port /dev/cu.usbserial-DA00Y7QG --baud 230400 read_flash 0 0x1000000 trigBoardbackup.bin

Write trigBoard:
/Users/kevindarrah/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py --chip esp32 --port /dev/cu.usbserial-DA00Y7QG --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x0 /Users/kevindarrah/trigBoardbackup.bin

Tindie link to trigBoard: https://www.tindie.com/products/kdcir...

Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
  / kdarrah  

Twitter:   / kdcircuits  

For inquiries or design services:
https://www.kdcircuits.com


Watch video How To Read from ESP32 - CLONE/BACKUP Everything online without registration, duration hours minute second in high quality. This video was added by user Kevin Darrah 12 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 52,76 once and liked it 97 people.