Flash Esp32 from another Esp32

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Marius
Posts: 4
Joined: Fri Nov 30, 2018 2:08 pm

Flash Esp32 from another Esp32

Post by Marius » Tue Aug 20, 2019 6:51 am

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.

User avatar
jimmo
Posts: 553
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: Flash Esp32 from another Esp32

Post by jimmo » Tue Aug 20, 2019 7:10 am

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.

danielm
Posts: 158
Joined: Mon Oct 05, 2015 12:24 pm

Re: Flash Esp32 from another Esp32

Post by danielm » Tue Aug 20, 2019 11:15 am

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.

Post Reply