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
  • With these memory address ranges, I am able to write all 3 hex files successfully.

    Thanks for you help.

    But I want to be cautious about the memory addresses defined for Application hex file. This is how it looks now. I noticed that Application is not operating correctly.

    Would you please suggest better address range for Application hex file? as this seems to be colliding with boot-loader.

Children
Related