backup / restore some time KO [updated]

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
picpic020961
Posts: 15
Joined: Thu Feb 18, 2021 4:24 pm

backup / restore some time KO [updated]

Post by picpic020961 » Sun Oct 17, 2021 6:38 am

Bonjour ,
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
At restart ESP32 some time it's OK some time KO : memory corrupted.

one trick i am missing ? Am I missing something?
Thanks for help

Post Reply