Chat freely about anything...

User avatar
By espprog
#90891 ESP_HexFlasher this is a tool for flashing ESP8266 firmware in Intel hex format.
Such firmware consists of one file with the hex extension, containing all the data. This is better than a few bin-files that you can mistakenly flash to other addresses or forget to flash some.
The hex format does not have these disadvantages. It is very easy to create a hex file if you have an elf file. For this, the objcopy component from GCC is used.
Code: Select allobjcopy.exe -O ihex file.elf file.hex

Tool ESP_HexFlasher compiled for operating systems Windows, Linux and MacOS X and you can download it in the attachment to the message.
An animated gif-picture shows the flashing process.
GIF.gif


Checkbox Clear system memory needed to write data by default to the system areas of flash memory. This may be needed if the ESP8266 does not work, but sends something like this to the UART.
Code: Select allets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 30372, room 16
tail 4
chksum 0x05
load 0x3ffe8000, len 2008, room 4
tail 4
chksum 0x62
load 0x3ffe87e0, len 580, room 4
tail 0
chksum 0xa3
csum 0xa3
OS SDK ver: 2.0.0(e271380) compiled @ Mar 30 2018 18:54:06
rf_cal[0] !=0x05,is 0xFF

Button Export converts hex file to bin files.

For example, the HEX.zip archive contains standard AT firmware and Blink (using GPIO2) in hex format.
Attachments
(64.03 KiB) Downloaded 225 times
(81.4 KiB) Downloaded 374 times
(97.05 KiB) Downloaded 126 times
(99.32 KiB) Downloaded 134 times
(102.01 KiB) Downloaded 121 times
(113.42 KiB) Downloaded 125 times
(648.73 KiB) Downloaded 137 times