DFU with Arduino and esp32s2
Posted: Sun Nov 01, 2020 2:46 pm
Hi!
I'd like to use DFU mechanism:
https://docs.espressif.com/projects/esp ... s/dfu.html
to upload my sketches on a devboard based on the esp32s2 chip.
At the moment it seems that a specific menu choice is not available, but is it there a way to do it manually?
For what I understood, you need a specific .bin file for DFU, you cannot use the one normally built for "serial" flash, is it correct?
If I give a look to the compile process triggered by Arduino, it generates an .elf image and, at the end, launches esptool "elf2image" command. Could it be possible to use this intermediate .elf file to produce the .bin for DFU? Or is there a different way?
Thanks
I'd like to use DFU mechanism:
https://docs.espressif.com/projects/esp ... s/dfu.html
to upload my sketches on a devboard based on the esp32s2 chip.
At the moment it seems that a specific menu choice is not available, but is it there a way to do it manually?
For what I understood, you need a specific .bin file for DFU, you cannot use the one normally built for "serial" flash, is it correct?
If I give a look to the compile process triggered by Arduino, it generates an .elf image and, at the end, launches esptool "elf2image" command. Could it be possible to use this intermediate .elf file to produce the .bin for DFU? Or is there a different way?
Thanks