Open ESPDOWNLOADTOOLV2.4.exe. Choose the COM port ESP8266 Flasher and Programmer + ESP8266 Wifi Serial Transceiver module connecting to. Download el capitan os x. Set the BAUDRATE to 115200. Make sure ESP8266 Wifi Serial Transceiver module is in FLASH mode (Refer Step 2 first photo for hardware configuration) Click START to install the firmware.
On paper it has some nice advantages compared to the old V0.9 version or also to other ESP8266 dev boards: you can directly connect it to your computer for programming and you won’t need an additional USB-to-Serial programmer or an external power supply. The USB connector does the job. The only problem: they must have changed something on the interface. Flashing doesn’t work out of the box anymore:
Flash Download Tool![]()
is what I got when trying to upload a file with the ESPlorer to the module…
I’m programming on a Mac, so all the fancy Windows based flashing tools won’t work for me directly. I usually use the adapted Arduino IDE or the esptool.py to upload new images to the device. This posts describes how you can flash the new hardware despite the problems with the esptool. Basically it shows how you can use the original Windows tool from Espressif from your Mac OS X system, even if it is made for Windows.
I hope that the esptool gets fixed quickly to work with the new hardware. I’m also not sure whether the problems comes from the USB-to-Serial converter or rather from the ESP-12E module. I suspect it is the later, but I couldn’t find anyone complaining about problems with the ESP-12E in general.
Shopping Links:
Did you like this post? Consider supporting me with a virtual coffee or beer.
Related posts:
The ESP32 Flash Download Tool, just like the ESP8266 download tool, is the official Espressif Download tool that runs on Windows platform. The tool can be used to modify and generate init BINs, generate consolidated BIN files or program multiple chips for production runs.
The tool uses COM port to send BIN files from PC to the ESP32, which then flashes the data to the primary flash chip.
There are multiple approaches to flashing the BIN files on to your ESP32 based system. Perhaps the simplest method to use with Espressif ESP32 ESP-IDF is to use command
make flash in the Linux environment instead of just make as instructed in Getting Started with ESP-IDF Part – 3. make flash will invoke scripts to actually flash your BIN files to your ESP32 through the USB-to-UART adapter. However, this may not work very well if you are running the Linux environment on a Virtual Machine. In that case, the flash download tool comes in handy!
However, here we will go through the process of programming the ESP32 with the GUI based ESP32 Flash Download Tool. It is the official tool from Espressif Systems, the manufacturer of ESP32.
To proceed with the article, download the flash tool from here:
As in ESP32 ESP-IDF v.1.0 with no modified ld script files, the locations should be as follows for normal applications:
0x1000: bootloader.bin
0x4000: partitions_singleapp.bin 0x10000: .bin Esp Flashing Tool
The flash map is very simple as the ESP-IDF does not support OTA in this version yet. Therefore, the system only consists of a bootloader, a data partition table and the main user application BIN (generated by you by compiling your code).
![]()
Pull GPIO0 LOW by pressing the “program” button on your development board. Reset the ESP32 by pressing the EN button momentarily while holding down the IO0 button.
Esp Flash Download Tool
Now the ESP32 will successfully enter the flash programming mode. You can now set the files and check the required BIN file slots in the software such that they are all set to be downloaded into the flash.
Next press the Start button to continue and flash the BIN files into your ESP32 module!
Esp Flash Download
Make sure that the COM port has been correctly selected. The download tool would typically automatically detect an USB-UART converter.
If you are repeatedly flashing revised versions of your application during the development process, note that you need not flash bootloader and singleapp partition BINs repeatedly.
You simply need to flash the .bin every time you update your program and generate an updated BIN file. Uncheck the bootloader and partition BINs to prevent unnecessary writes to the flash.
If you have not already, we urge you to go through our tutorials on ESP32 ESP-IDF:
ESP-IDF Tutorial Part 1 ESP-IDF Tutorial Part 2 ESP-IDF Tutorial Part 3
Scroll down to the bottom of the page and SUBSCRIBE to us to stay updated!
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |