Hello!
Is there a ready-made tool for generating * .hex files from * .bin files for ESP32 microcontrollers?
I need to get the hexadecimal image file of the memory chips from the files my_firmware.bin + partitions_singleapp.bin.
Thank!
bin2hex for ESP32 microcontrollers?
Re: bin2hex for ESP32 microcontrollers?
hi
for own interest, why you would do .hex from .bin files ?
do you want combine all the bins user.files to one file?
if you want combine the bin's to one file you can use the Flash Download Tools (ESP8266 & ESP32) / windows GUI flasher tool that do the work for you.
simple entry the file src, the address where it must go
and combine it all to one bin
if you then want flash to the esp
simple flash the target.bin to 0x0
hope this helps
best wishes
rudi
edit: add example pic
check the params on your used clk, spi ram .. also the option "do not chng bin" ..
like you use/need this.
- Attachments
-
- example_combine_hello_world.png (49.85 KiB) Viewed 4520 times
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: bin2hex for ESP32 microcontrollers?
Thanks a lot for your help!
I think this is what I need.
In my project I want to use one single flash memory chip to store the firmware of the ESP32 and STM32 microcontrollers. ESP32 is a slave and is enabled upon request by STM32. Further firmware upgrades are expected using the bootloader developed for STM32. Therefore, I need to synthesize a common image file for flash. I think the * .hex format is best suited for these purposes.
I think this is what I need.
In my project I want to use one single flash memory chip to store the firmware of the ESP32 and STM32 microcontrollers. ESP32 is a slave and is enabled upon request by STM32. Further firmware upgrades are expected using the bootloader developed for STM32. Therefore, I need to synthesize a common image file for flash. I think the * .hex format is best suited for these purposes.
Who is online
Users browsing this forum: Bing [Bot] and 65 guests