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!
Esp32 update attached arduino?
Re: Esp32 update attached arduino?
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.
-
- Posts: 829
- Joined: Mon Jul 22, 2019 3:20 pm
Re: Esp32 update attached arduino?
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.
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 66 guests