ESP32 Flash Download Tool: usable via commandline?

timm_f
Posts: 18
Joined: Tue Feb 20, 2018 2:53 pm

ESP32 Flash Download Tool: usable via commandline?

Postby timm_f » Mon Mar 12, 2018 12:46 pm

Hello,

we are planning to program the ESP32 in production process.
Currently, we are using a GUI tool which can program several different device types, ESP32 being just one of them.
The optimal solution would be: the GUI tool calls the Flash Download Tool and passes command line parameters to it.
Here are my questions:
  • Can the Flash Download Tool be started with command line parameters (e.g. image file, COM port...)?
  • Are there other possible solutions (e.g. using the Flash Download Tool config files, e.g. FLASH_DOWNLOAD_TOOLS_V3.6.3\configure\esp32\spi_download.conf)?
  • If so, is a documentation available for the options in the config files?

Thanks in advance for any suggestions.
Best Regards, Timm

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: ESP32 Flash Download Tool: usable via commandline?

Postby kolban » Tue Mar 13, 2018 2:58 am

Howdy Timm,
I'm probably missing something obvious here ... but can you not drive the flashing of your ESP32 with the "esptool" described here:

https://github.com/espressif/esptool

This appears to be a veritable swiss army knife of capabilities and can be used just fine in scripts or via program execution.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

timm_f
Posts: 18
Joined: Tue Feb 20, 2018 2:53 pm

Re: ESP32 Flash Download Tool: usable via commandline?

Postby timm_f » Tue Mar 13, 2018 8:38 am

Howdy Kolban,

thank you very much for pointing out the right direction :-)
I was only aware of the GUI programmer tool until now.

Best Regards, Timm

Who is online

Users browsing this forum: Majestic-12 [Bot] and 63 guests