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

Need a secure bootloader for nRF52811 that supports S113

Hi,

We are atempting to get DFU over UART working in our project, but there does not appear to be a bootloader project in the 16.0 SDK for this configuration. What would be the best way to generate a one? For our application, we had started from the 10040e s112 BLE UART project, but needed to modify various project settings including macro definitions for the RAM_START and FLASH_START addresses.

What would be required to do this for the bootloader, or is there a a bootloader project available for this configuration?

Best regards,

Drew

  • In SDK 16.0.0, examples for the nRF52811 are in folders starting with “pca10056e”, and not the “pca10040e”. So for secure UART bootloader, the one in this path should be used,

    “<Your path to nRF5_SDK_v16.0.0>\examples\dfu\secure_bootloader\pca10056e_uart”. This will work with both S112 and S113.

  • The project does not link. After building the micro-ecc library and building the project, we are getting the following error:

    Do we need to fix the flash placement?

    Regards,

    Drew

  • Are you building in "Debug" mode or "Release" mode? It will be larger in size in Debug mode.

  • We are building in Release mode.

  • Hi Andrew, 

    I am not seeing any issues when compiling the pca10056e_uart ( i.e. nRF5_SDK_16.0.0_684aa2c\examples\dfu\secure_bootloader\pca10056e_uart example) in a clean "install" of  nRF5_SDK_16.0.0_684aa2c. I have attached the compiled hex file.

     secure_bootloader_uart_mbr_pca10056e.hex

    Have you modified the example in any way, e.g. added any code or modified the project options like the linker settings or similar?

    Best regards

    Bjørn

1 2