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

bootloader DFU buttonless

I have developed hardware utilizing an nRF52832 and am developing a bootloader for the system. I have had success following two tutorials: Getting started with Nordic's Secure DFU bootloader, a step by step guide - Software Development Kit - Short-range guides - Nordic DevZone and https://github.com/gamnes/nRF52832-buttonless-dfu-development-tutorial. I have used both in an earlier version of SDK though these are both written for SDK 15. I am now trying to develop the process for SDK 17.0.2. I am close but nRFconnect has a problem with the Soft Device version. In the Nordic based tutorial there was information on the setting page where as the github does not describe this. So, the reason for the support is the Nordic tutorial will not stay open on my browser, but after a moment goes back to my home page Google. So, I can not look up the process to set the setting page to the version of the softdevice used. Any thoughts?

  • Hello,

    You can also find the FWID from the Softdevice release notes ("nRF5_SDK_17.0.2_d674dde\components\softdevice\s132\doc\s132_nrf52_7.2.0_release-notes.pdf"). FWID for s132 v7.2.0 is 0x0101.

  • I am in need of some help, love to chat most often, but I have a problem I need to solve. I am working with the armgcc toolchain within SDK17.02 with command line and nrfutil. I want to create a secure bootloader within the 17.0.2 SDK and the applications would also be developed to first run standalone with the same SDK. 

    I have tried to follow the two tutorials above to fit the SDK17.0.2, but the tutorials are written for SDK15.0.0 and I think I have some things right, but obviously I have some things wrong.

    Has anyone ported the bootloading tutorials into SDK 17.0.2 and if you were successful do you have any suggestions? Thank you! 

  • Having gone through the instructions again carefully I have had success utilizing these tutorials. I have made a couple of changes:

    1. in the sdk.config I set the 

    NRF_BL_DFU_ENTER_METHOD_BUTTONLESS 1
    2. In Nordics tutorial I see a difference the format private.key or private.pem. I used gamnes private.pem format to create the application zip. 
    3. both the secure bootloader buttonless soft device and the ble_uart application use the SD 7.2.0, and therefore the sd -req is 0x101.
    I primarily followed the Nordic based tutorial based on SDK12 with the above changes.
Related