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

ble_app_hrs + Buttonless DFU on NRF52DK(52832) + OTA update

Hi,

I want to verify

1. Program  ble_app_hrs with buttonless dfu integrated + secure bootloader + bootloader setting to nRF52DK. 

2. Boot up nRF52DK, then use buttonless dfu goto bootloader mode

3. Update app_dfu_package.zip (nrfutil pkg generate --hw-version 52 --application-version 0 --application ble_ap nrfutil pkg generate --hw-version 52 --application-version 0 --application ble_app_hrs_pca10040_s132.hex --sd-req 0xCB --key-file private.key app_dfu_package.zip
Zip created at app_dfu_package.zip)

====

Below are my steps:

Step1 Generate bootloader setting page

Step2  merge secure bootloader(\dfu\secure_bootloader\pca10040_s132_ble\) + bootloader settings

Step3 Program secure bootloader (examples\dfu\secure_bootloader\pca10040_s132_ble)+ bl setting

Step4 Program softdevice (s132_nrf52_7.0.1)

Step5 Program app(ble_app_hrs_pca10040_s132 which is integrate with buttonless_duf already)

Step 6 When nRF52DK bootup, error logs are below:

Are my steps correct?

How can I make it right?

Thanks.

Vick

Parents Reply
  • Hi Sudharsan,

    I have followed Section4 => Success.

    Next I have followed Section5, nRF52DK goes bootloader mode directly when booting up, not advertising with Nordic_HRM_DFU.

    (I'm using ble_app_hrs to integrate)

    I think it is good start and maybe ble_app_hrs is more complex than nus.

    How do I debug next?

    By the way, I have noticed that RAM size configuration.

    Origin is below:

    RAM_START=0x20002bd0

    RAM_SIZE=0xd430

    If I  increase the RAM_START by 0x10 and decrease the RAM_SIZE by 0x10.

    After:

    RAM_START=0x20002be0

    RAM_SIZE=0xd420

    =>Then UART logs complain RAM size issue when booting up

    So below is my current setting, and nRF52DK goes to bootloader mode directly.

    Thanks.

Children
Related