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

nRF51822 Prepare HEX file for Mass Production (Softdevice / Application / Bootloader) and start it into the Application

Hello,

i have a very easy goal, i want to generate a hex file which combines all parts and flash it via nrfutil or something like that onto the device.

I followed a few threads with the same topic , but none of them helped me.

I use the following configuration:

nRF51822
SDK 12.3 (IAR)
Softdevice 130 2.0.1
Bootloader from DFU Example Project
Application based on ble_app_template

I tried to generate the DFU Settings file with the following commandline code:

nrfutil settings generate --family NRF51 --application app.hex --application-version 3 --bootloader-version 1 --bl-settings-version 1 settings.hex

Then i used mergehex to merge it with the bootloader hex.

mergehex -m settings.hex bootloader.hex -o output_file.hex

Then i got the following error!

So i am not able to get it running, this is very frustrating!

Any ideas? Documentation?

Thanks a lot

Parents Reply Children
Related