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

12.1.0 nRF5 SDK Bootloader size issue

I generated boot-loader (logging disabled) from SDK 12.1.0 for adding a signature check during DFU for nRF51

The problem I am facing is with the size of bootloader (hex file size 56,871 bytes).

Previously I was using bootloader (hex file size 40,050 bytes) generated from SDK 11.0.0

Application hex file size is 161,287 bytes

Soft device: S130: 305,123 bytes

While writing into flash through nRFgo Studio, I am following this sequence:

1. Upload Soft device hex file

2. Upload Application hex file

3. Upload bootloader hex file

On step 3 I am getting error "This hex file has data in SoftDevice region"

What are different ways to get over this issue?

Parents Reply
  • Another way I tried is, first I flashed Boot-loader and Soft Device through nrfConnect Programmer and then generated hex.zip package from Application hex file.

    I used nrfConnect android App to flash .zip package.

    It followed steps:

    1. Connecting

    2. Starting bootloader

    3. Disconnected (Without initiating download)

    I double checked the private key used to generate .zip package and same key was used to generate public_key.c file that was used to build the boot-loader. Yet I am getting failure in downloading .zip  package.

Children
Related