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 Vick,

    In your command for settings hex generation, If you are using SDK version > 15.2, please use --bl-settings-version 2 when generating bootloader setting. 

    Our SDK version is 17.0.2 which is greater than SDK 15.2 and I am using S140 soft-device.

    Here I am giving my settings generation command. We are using secure boot validation. In SDK v15.2 and earlier, it's simply a CRC check of the application image.

    nrfutil settings generate --family NRF52 --application ..\..\XXX_52833\Output\Release\Exe\XXX_52833_s140_V1702.hex --application-version 0 --softdevice ..\..\..\components\softdevice\s140\hex\s140_nrf52_7.2.0_softdevice.hex --bootloader-version 0 --bl-settings-version 2 --sd-boot-validation VALIDATE_ECDSA_P256_SHA256 --app-boot-validation VALIDATE_ECDSA_P256_SHA256 --key-file private.key settings.hex

    Regards

    Sudharsan

Children
No Data
Related