Page 1 of 1

Flash Esp32 from another Esp32

Posted: Tue Aug 20, 2019 6:51 am
by Marius
Is it possible to use a Micropython based Esp32 to flash another one? I guess the esptool is not a straight forward port to mp.

Re: Flash Esp32 from another Esp32

Posted: Tue Aug 20, 2019 7:10 am
by jimmo
Hi,

Just to confirm - you'd like to use one ESP32 to program the actual firmware on another ESP32 (not just update/modify just the Python code / filesystem contents).

I'd imagine it was probably do-able (to port esptool.py to micropython). Especially if you strip out everything that isn't firmware upload. It has a few library dependencies that aren't in MicroPython, but many of them look like they might not be used for the upload firmware code path.

Re: Flash Esp32 from another Esp32

Posted: Tue Aug 20, 2019 11:15 am
by danielm
I am also interested in this.

The goal: To build tester device based on MP which would be able to flash specific firmware into target device.