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

nrfjprog version: 9.7.3 , settings.hex is created differently than nrfjprog version: 9.7.1

Hi

working on a NRF51822 device with SDK12 

I was using nrfjprog version: 9.7.1 to create a setting.hex with the following line

nrfutil settings generate --family NRF51 --application nrf51822_xxaa.hex --application-version %AppVer% --bootloader-version %BootVer% --bl-settings-version %BlSettingsVer% settings.hex

and than merging the .settings file with a DFU/ Boot project output .hex to create a merged .hex file 

mergehex -m nrf51822_xxaa_boot_s130.hex settings.hex -o BL_Settings.hex

that was working fine 

I was setting up a new station and installing nrfjprog again, this time it was 9.7.3 to find out that now there is memory overlap

ERROR: The hex files cannot be merged since there are conflicts.

apparently it's creating a different .hex file,

as you can see in the image, the entire part marked in blue was added to the settings.hex file 

I repeatedly made the same steps in my other station with the same exact files and it didnt happen there,

only after REMOVING the part marked in blue "MANUALLY" I was able to successfully merge and than created a complete .hex including application and softdevice,(Everything worked fine)

I don't understand why would it happen, I and would appreciate some help

I also tried to find the 9.7.1 version to burn on my new station and couldn't  (didn't find my old installation file on my previous station)

Thanks

Parents Reply Children
Related