UART file transfer

pepopi
Posts: 32
Joined: Mon Apr 11, 2022 9:45 am

UART file transfer

Postby pepopi » Wed May 25, 2022 11:12 am

Hello everyone,
I'm doing a project in my university and I need to program a ESP32 with another ESP32 using UART. The firmware is previously stored in SPIFFS in the "master". What I don't know is how to transfer the bootloader.bin, partition.bin and firmware.bin to the "slave" ESP32. I know there is another topic that treats a similar matter, but that topic has not been enough to understand it.

Thank you in advance

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: UART file transfer

Postby ESP_Sprite » Thu May 26, 2022 3:02 am


pepopi
Posts: 32
Joined: Mon Apr 11, 2022 9:45 am

Re: UART file transfer

Postby pepopi » Fri May 27, 2022 8:17 am

Thanksfor answering so fast. In the link you sent there is an example of what I'm trying to do but I'm doing the project on the Arduino IDE. Furthermore, is the bootloader customized or is it the default bootloader?

Thank you

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: UART file transfer

Postby ESP_Sprite » Fri May 27, 2022 1:37 pm

No such thing as a 'customized' bootloader on the ESP32 platform as the bootloader is in ROM and you cannot change that. (At least, when it comes down to the bootloader code that handles flashing.)

Who is online

Users browsing this forum: PepeTheGreat and 55 guests