I have a binary data file that I would like to program in flash at defined address on a nrf52 device
Which tool do you advise that generate hex intel file format by providing binary data filename and base address
Thanks
I have a binary data file that I would like to program in flash at defined address on a nrf52 device
Which tool do you advise that generate hex intel file format by providing binary data filename and base address
Thanks
Use arm-none-eabi-objcopy from GCC for ARM, it has various input output options and BIN to HEX is supported (you supply target address as parameter, see the documentation).
I think original Makefile.common in the examples also use arm-none-eabi-objcopy to convert .out to .hex. I checked the link you shared already, the following options didn't make a difference, still flashing to 0x0. Now I am contemplating manually changing the hex file I created.
--set-start=val] [--adjust-start=incr] [--change-addresses=incr] [--change-section-address sectionpattern{=,+,-}val]
I think original Makefile.common in the examples also use arm-none-eabi-objcopy to convert .out to .hex. I checked the link you shared already, the following options didn't make a difference, still flashing to 0x0. Now I am contemplating manually changing the hex file I created.
--set-start=val] [--adjust-start=incr] [--change-addresses=incr] [--change-section-address sectionpattern{=,+,-}val]