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

Runsva
Posts: 1
Joined: Thu Oct 10, 2024 4:47 am

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

Postby Runsva » Thu Oct 10, 2024 7:17 am

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 384 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.

lbernstone
Posts: 824
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Wed Oct 16, 2024 4:10 am

I think UART is probably easier to implement, but take a look at https://github.com/espressif/esp-serial-flasher

Who is online

Users browsing this forum: No registered users and 35 guests