This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Combining bootloader, softdevice, and application in single hex

Hello,

I am trying to combine Softdevice, bootloader, and Application hex files in single hex file. Currently using s130, SDK11, nrf51822.

I combined files using this tool :srecord.sourceforge.net/windows.html

Command used: srec_cat.exe application.hex -intel bootloader.hex -intel Softdevice.hex -intel -o final.hex -intel" which creates a final hex. where bootloader is for over-the-air-update from the dfu ....\nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10028\dual_bank_ble_s130\arm5_no_packs folder

When I upload the final hex file to the nrf51822, the device starts with advertising "dfutarg" (looking for OTA update) and does not start with the application code. The application code was present in the final hex file but it doesn`t loads.

I referred this link (devzone.nordicsemi.com/.../) which mentions valid_app_setting file to be merged when combining these three files.

Can anyone help me to know what exactly this file contains and what is the function of this hex file? Is it different for s130, sdk11? Am I on the right path?

Related