I use in test of micropython , lvgl and firmware
Code: Select all
esptool.py --chip esp32 --port /dev/ttyUSB0 read_flash 0 0x400000 orig_image.bin
for backup esp32 firmware , then erase_flash , then
Code: Select all
esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash 0 other_image.bin
for restrore other_image.bin, works fine.
then return to orig_image.bin : erase_flash and
Code: Select all
esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash 0 orig_image.bin
one trick i am missing ? Am I missing something?
Thanks for help