Page 1 of 1

ESP32 download tool failes to upload binary

Posted: Tue Jun 29, 2021 8:24 am
by Captain.Chode
I have a small project written in platformio with the Arduino framework. I have exported the binary and try to upload it with the ESP flash downloader. The first upload succeeded (to a brand new devmodule), but for the second time (to the same module) failes with the following error:

is stub and send flash finish

I didn't set anything security related or whatsoever. What could be the problem?

image (1).png
image (1).png (46.45 KiB) Viewed 3783 times
image (2).png
image (2).png (44 KiB) Viewed 3783 times

Re: ESP32 download tool failes to upload binary

Posted: Wed Jun 30, 2021 7:04 pm
by Captain.Chode
So apparently uploading these files solved the problem:

bootloader.bin @ 0x1000
boot_app0.bin @ 0xe000
partitions2.bin @ 0x8000

After that it is possible to upload just the firmware. Not sure why did it work in the first place though...
image (3).png
image (3).png (41.16 KiB) Viewed 3728 times