This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Program download methods??

HI,all!

I have a question about downloading program into nrf51822 MCU.

That is: As you konw, using the nRFgoStdio to download the code, you have to download the softdevice hex first and then download the application hex laterly, but I want to combine the softdevice hex file and application hex file into one hex file, instead of downloading them seperately, how can I manage to do that?

Thank you very much!

Parents Reply
  • The post Kristin linked pretty much addresses the question. I just wanted to add one bit of specificity to it: I added the following post build command to my project to merge my application with the softdevice:

    C:\Program Files (x86)\Nordic Semiconductor\nrf51\bin\mergehex -m ._build\onset_mx1101.hex .\s110_nrf51822_6.0.0_softdevice.hex -o ._build\mx1101_merged.hex

    Later when I build my bootloader project, it merges my "mx1101_merged.hex with the bootloader to produce the file that is programmed in production.

Children
No Data
Related