cancel
Showing results for 
Search instead for 
Did you mean: 

Hex or bin with multi-firmware

Lwang1
Associate II

My solution have more than one project, each project program in different address. exp: bootloader(0x08000000, 64K) application(0x08010000. 448K).

How can create an hex or bin with these two ?

2 REPLIES 2
KnarfB
Principal III

Most hex files can be easily combined using a text editor or simple scripts. If you're looking for tools: Python intelhex package https://python-intelhex.readthedocs.io/en/stable/

hth

KnarfB

Peter BENSCH
ST Employee

...or by using a simple text editor in which

  • you load the first hex,
  • delete the last line (usually containing :00000001FF) and then
  • append the second hex at the end

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.