Page 1 of 1

flashing without the esptool.py

Posted: Wed Oct 23, 2019 9:09 am
by dani619
Hello,
I want to flash esp32 without using the esptool.py because it uses python.
I want to be able to flash the binaries using only c.
is there a tool for that or do I need to port esptool.py myself?

Re: flashing without the esptool.py

Posted: Thu Oct 24, 2019 11:56 pm
by ESP_Angus
Hi dani619,

There's no officially supported C tool for flashing an ESP32. There have been some community projects but I'm unsure of their status, you can search the forum to find some discussion about them.

If you only need a way to run esptool without a separate Python environment installation, then the Arduino-ESP32 ships bundled versions of esptool.py as standalone executables for Windows, macOS, Linux. Download links can be found here:
https://github.com/espressif/arduino-es ... e.json#L97

Re: flashing without the esptool.py

Posted: Wed Feb 16, 2022 10:33 pm
by meowsqueak
the Arduino-ESP32 ships bundled versions of esptool.py as standalone executables for Windows, macOS, Linux
Unfortunately the Linux tarballs just contain `esptool.py` without any dependencies included, unlike the Windows (i686-mingw32) download which contains a standalone esptool.exe.

It would be nice to have a zero-dependency C utility for flashing the ESP32 since it could be integrated with other embedded software. Depending on Python is very heavy, and OTA isn't always an option.

Re: flashing without the esptool.py

Posted: Thu Feb 17, 2022 3:16 am
by ESP_Sprite
Note that this is an old post; since then we developed a C library specifically for flashing from other embedded devices.

Re: flashing without the esptool.py

Posted: Thu Feb 17, 2022 4:05 am
by meowsqueak
Alright, this is exactly what I am looking for! Thank you. Although I only found it because of your reply... is this mentioned in the docs somewhere?

Re: flashing without the esptool.py

Posted: Tue Apr 02, 2024 12:15 pm
by marbalon
It is great news that flasher can be built as C app on any MCU, but what about fuse bits programming? I need this also.