I have designed a WiFi board using the ESP-07S to be used as an interface between a data collection system we build and the user software. The data collection system only uses RS232 and this new board will make it possible to communicate over WiFi.
It all works pretty well, but now we have a problem moving it out of engineering to production.
How can we have production flash our code onto the ESP-07S without using the full Arduino (or Sloeber) IDE?
Expressif has put out a flash download tool that is in theory capable of doing this, but for the life of me I cannot understand how to use it…
Our production uses Windows computers.
What we have available is a binary flash file that contains our code. When programming an off-the-shelf ESP-07S the binary content shall be loaded onto the ESP using the serial interface after the entire on-board flash chip has been erased.
This is a one-time operation because the flash code contains an over-the-air flash updating utility that is used for further updates.
Is there any description on how to use the Expressif flash download tool when stuffing a flash file created by the Arduino IDE onto a new ESP module? What comes with the download is a hard to understand Readme.pdf file.
It uses very terse language. And it shows only the ESP32 tool!!!
Our design uses 4M (1M SPIFFS) flash setting in the IDE and is set to erase all flash when programming.
The flash tool seems to require us to select multiple flash files and enter a load address for each, which we have no clue as to how one sets correctly. We have a single bin file created by the IDE and we need to erase the flash before loading. That is in principle all…
In the development IDE the settings are:
- Default protocol
- 80 MHz CPU freq
- 26 MHz crystal
- Erase all flash
- 40 MHz flash freq
- DIO flash mode
- 4M(1MSPIFFS) flash size
- IwIP Variant: v2 Higher Bandwidth
- Reset method: ck
- 115400 upload speed
So this is what I want to set the tool to use.
But how is it done?
SPI speed? (What is this? Maybe the Flash freq?)
Flash Size? (The IDE setting is not a selectable item in the tool)
Address of bin file? (I have no clue at all to this item)
Erase before programming? (Do I have to manually click the ERASE button?)