How to flash firmware - SmartArduino/SZDOITWiKi GitHub Wiki
Flash tool for Windows:
For ESP8266:
You can download the windows flash tool (for Esp8266) HERE. This tool is official Espressif flash tool.
You can also use esptool to flash the bin files on Linux, instead of Espressif flash tool.
For ESP32:
Download the flash tool (for Esp32) HERE
Flash address
The images flash to the address list below:
For ESP8266:
blank.bin --> 0xfe000 esp_init_data_default.bin -- > 0x7c000 0x00000.bin --> 0x00000 0x40000.bin --> 0x40000
For ESP32:
- blank.bin --> 0xfe000
- boot.bin --> 0x00000
- drom0.bin --> 0x04000
- irom0_flash.bin --> 0x40000
Note: The baudrate to flash for Esp32 must be 230400, while the default baudrate for Esp8266 is 115200, this can be changed.