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

Combined DFU not working.


* Query on Combined DFU :
1. nrfutil version being used : 2.3.0
2. Followed nRFUtil for Generating DFU packages from -> https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_pkg.html
3. The nrfutil command used to generate .zip package:
nrfutil pkg generate --debug-mode --hw-version 52 --sd-req 0x98 --application <App Binary hex file> \
                                                                --softdevice <Merged Hex of BLSetting and Softdevice S132 v5.0.0> \
                                                                --bootloader <Custom Bootloader Hex File>  \
                                                                --key-file <Key_file.pem>
4. Bootloader was not updating ,only the application is updating with new version.
5. How to update the Bootloader + app + softdevice + key in a single DFU ?

Parents
  • Hi Abhilash, 

    Do you test the bootloader example or customer bootloader? Are you able to test with the example bootloader?

    Please try the command as the following:

    nrfutil pkg generate --hw-version 52--sd-req 0x98 --softdevice s132_nrf52_5.0.0_softdevice --bootloader-version 1 --bootloader secure_bootloader_ble_s132_pca10040.hex --application app.hex --application-version 1  --key-file <private.key> dfu_update_sd_bl_app.zip

    4. Bootloader was not updating ,only the application is updating with new version.

    How do you know the bootloader is not updated? 

    The SD (+ BL) + APP update is done with two consecutive connections unless a custom bootloader is used. First, the SD (+ BL) is updated, then the bootloader will disconnect and the (new) BL will start advertising. Then the second connection to the bootloader will update the APP. Do you see that?

     

     Regards, 

    Amanda 

Reply
  • Hi Abhilash, 

    Do you test the bootloader example or customer bootloader? Are you able to test with the example bootloader?

    Please try the command as the following:

    nrfutil pkg generate --hw-version 52--sd-req 0x98 --softdevice s132_nrf52_5.0.0_softdevice --bootloader-version 1 --bootloader secure_bootloader_ble_s132_pca10040.hex --application app.hex --application-version 1  --key-file <private.key> dfu_update_sd_bl_app.zip

    4. Bootloader was not updating ,only the application is updating with new version.

    How do you know the bootloader is not updated? 

    The SD (+ BL) + APP update is done with two consecutive connections unless a custom bootloader is used. First, the SD (+ BL) is updated, then the bootloader will disconnect and the (new) BL will start advertising. Then the second connection to the bootloader will update the APP. Do you see that?

     

     Regards, 

    Amanda 

Children
No Data
Related