Page 1 of 1

Upload Arduino Sketch to ESP32 via Another Controller using SPI/I2C

Posted: Thu Oct 10, 2024 7:17 am
by Runsva
Is it possible to upload a single Arduino "INO" code file to an ESP32 controller board, via another ESP32 board (or any Arduino microcontroller), using SPI or I2C and the Ardunio IDE v2.3.3?

So:
Capture.JPG
Capture.JPG (56.27 KiB) Viewed 385 times
I'm aware that it is possible to do so using the serial pins on the ESP32 controller, as demonstrated in another Espressif Forums posting, but I'm looking for a method of doing it via SPI or I2C (so I can upload to multiple ESPs in parallel).

Thanks for reading my post, any guidance is appreciated.

Re: Upload Arduino Sketch to ESP32 via Another Controller using SPI/I2C

Posted: Wed Oct 16, 2024 4:10 am
by lbernstone
I think UART is probably easier to implement, but take a look at https://github.com/espressif/esp-serial-flasher