Esp32 update attached arduino?

brolly759
Posts: 13
Joined: Sun Jun 02, 2019 9:00 pm

Esp32 update attached arduino?

Postby brolly759 » Thu Aug 22, 2019 5:35 am

Is there a way to use the esp32 to update a connected arduino over serial ? I know it sounds redundant but I have an RF module made and uses an arduino core and i want to be able to update the module if theres any updates available online. Is there a similar function like avrdude to program a 328p?

Thanks!

rodmcm
Posts: 65
Joined: Sat Sep 02, 2017 3:31 am

Re: Esp32 update attached arduino?

Postby rodmcm » Thu Aug 22, 2019 7:37 am

You can program an arduino through the serial port so you should be able to make the ESP32 act as a data pipe, however you've got to get the new compiled program out of the IDE into the BT or WIFI connection to the ESP.

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

Re: Esp32 update attached arduino?

Postby lbernstone » Thu Aug 22, 2019 3:00 pm


brolly759
Posts: 13
Joined: Sun Jun 02, 2019 9:00 pm

Re: Esp32 update attached arduino?

Postby brolly759 » Thu Aug 22, 2019 9:24 pm

A pipe is not really what I am looking for. I am looking for more of a way to have the esp32 get a HEX file from the cloud and store it locally and push it to the ATMEGA328P.

The link looks interesting but I see it uses SPI to program the chip instead of serial. having SPI always connected between the 2, I dont know how it will effect the RFM69HCW over SPI to ATMEGA328P and the SPI to ESP32 for updating if there will be any issues.

Who is online

Users browsing this forum: No registered users and 100 guests