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
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).
How do we use this ? can you give a sample command ..?
According to this page it should be something like this
arm-none-eabi-objcopy -I binary -O ihex filename.bin filename.hex
Ok great, thanks.
This command works well. However, now I am using SoftDevice, I need to move my app to end of softdevice in the flash memory. My makefile is such that I create elf target and then generate bin and hex with arm-none-eabi-objcopy. How can I move my app in the flash memory ?