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
  • Hi, 

    RahulR said:
    Yet I am getting failure in downloading .zip  package.

    What is the error message? How do you generate the .zip package? What is the command? If you use s130_nrf51_2.0.1_softdevice.hex, you generate the pack with the command like this if you use the correct key:

    nrfutil pkg generate --application dfu_test_app_hrm_s130.hex --application-version 1 --application-version-string "1.0.0" --hw-version 51 --sd-req 0x87 --key-file private.pem FW.zip

    -Amanda H.

Children
Related