Create hex file

carrielbr
Posts: 1
Joined: Tue Jun 30, 2020 1:07 pm

Create hex file

Postby carrielbr » Tue Jun 30, 2020 1:10 pm

Hello,


IDF compiles the firmware into a bin file.

Is it possible to create a hex file to update the firmware?

Thank you.

ESP_Sprite
Posts: 3729
Joined: Thu Nov 26, 2015 4:08 am

Re: Create hex file

Postby ESP_Sprite » Wed Jul 01, 2020 12:36 pm

Can you be a bit more specific than 'to update the firmware'; what do you want to do exactly? Asking because I don't think any tool in our workflow uses hex files.

AlexESP32
Posts: 44
Joined: Thu Oct 03, 2019 9:41 am

Re: Create hex file

Postby AlexESP32 » Thu Jul 02, 2020 5:14 pm

Nice question ;) I have the same one. Is it possible to flash the esp32 with an hex-file. Actual this only works with bin-files.

But if you want to store an hex-file on your host (PC, ..) you can choose the srec-tool and generate a hex-file.
If you want to flash this file onto your device you can take srec again and do a bin-file from the hex-file.

http://srecord.sourceforge.net/man/man1 ... mples.html

Who is online

Users browsing this forum: No registered users and 26 guests