ESP32 download tool failes to upload binary

Captain.Chode
Posts: 15
Joined: Mon Mar 11, 2019 4:23 pm

ESP32 download tool failes to upload binary

Postby Captain.Chode » Tue Jun 29, 2021 8:24 am

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 3647 times
image (2).png
image (2).png (44 KiB) Viewed 3647 times

Captain.Chode
Posts: 15
Joined: Mon Mar 11, 2019 4:23 pm

Re: ESP32 download tool failes to upload binary

Postby Captain.Chode » Wed Jun 30, 2021 7:04 pm

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 3592 times

Who is online

Users browsing this forum: Google [Bot], yohnsee and 85 guests