ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS
Posted: Sat May 28, 2022 9:00 am
by tienpm
Hi everyone, I have 2 ESP32 , ESP32 1 is master and ESP32 2 is slave. I want to let the ESP32 master use .bin file in SPIFFS to update firmware for the ESP32 slave (may be via serial). If anyone has sample code for this, please let me know. Thank you very much.
Re: ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS
Posted: Sun May 29, 2022 1:34 am
by ESP_Sprite
Re: ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS
Posted: Sun May 29, 2022 2:11 am
by tienpm
Re: ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS
Posted: Mon May 30, 2022 4:22 am
by tienpm
Hi sir, I have tested with 2 esp32 nodemcu , and use newest commit. But when I open idf.py monitor to ESP32 Slave ( It have updated "hello-world.bin" by ESP32 Master. But it not reset.
I have test with another file "count.bin". ESP32 Slave updated successful via Serial Flasher, but it only print 0 in Monitor ( expect is 0 1 2 3 4 5 6 7 8 ,....)
Can you help me slove this problem? Tks a lot