Start address for output .hex file

Asked by Michal Lauterbach on 2017-10-18

I'm using toolchain to convert .bin file to .hex file (intel hex). I need to specify start address of .hex file to 0x1F000. I tried this command:

arm-none-eabi-objcopy -I binary -O ihex --set-start 0x1F000 blinky.bin blinkyout.hex

but it's probably wrong, I'm getting


but I need something like this:


What I should change?
Thank you for you answer.

Question information

English Edit question
GNU Arm Embedded Toolchain Edit question
No assignee Edit question
Last query:
Last reply:
Uwe Bonnes (bon) said : #1

Use the srecord package. Look at the man pages how to specify offset when mapping a bin file to a hex file.

Can you help with this problem?

Provide an answer of your own, or ask Michal Lauterbach for more information if necessary.

To post a message you must log in.