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

DFU possible from SDK 14.2 bootloader to SDK >=15 application?

If I have a device with bootloader compiled against 14.2 is it possible to do a DFU to an application configuration at SDK 15.0 or greater?

Parents
  • I keep getting SD Version Failed error when trying to dfu the SD+BOOT+APP.

    Here is how I constructed the dfu package

    nrfutil pkg generate --softdevice nRF5_SDK_15.0.0_a53641a/components/softdevice/s132/hex/s132_nrf52_6.0.0_softdevice.hex \
                         --bootloader nRF5_SDK_15.0.0_a53641a/examples/dfu/secure_bootloader/pca10040_ble_debug/armgcc/_build/nrf52832_xxaa_s132.hex \
                         --application nRF5_SDK_15.0.0_a53641a/examples/ble_peripheral/ble_app_buttonless_dfu/pca10040/s132/armgcc/_build/nrf52832_xxaa.hex \
                         --key-file private.pem --hw-version 52 --bootloader-version 0xff --application-version 0xff \
                         --sd-req 0x9D --sd-id 0xA8 test.zip
    ~                                                                                                                                             

    I am using nrfutil 6.1
    Going from a SDK14.2 build with SD 132 5.0.0 

    to 

    SDK 15 build with SD 132 6.0.0

    I am using a secure boot with own keys but I rebuilt all the sdk pieces to use the correct keys.

Reply
  • I keep getting SD Version Failed error when trying to dfu the SD+BOOT+APP.

    Here is how I constructed the dfu package

    nrfutil pkg generate --softdevice nRF5_SDK_15.0.0_a53641a/components/softdevice/s132/hex/s132_nrf52_6.0.0_softdevice.hex \
                         --bootloader nRF5_SDK_15.0.0_a53641a/examples/dfu/secure_bootloader/pca10040_ble_debug/armgcc/_build/nrf52832_xxaa_s132.hex \
                         --application nRF5_SDK_15.0.0_a53641a/examples/ble_peripheral/ble_app_buttonless_dfu/pca10040/s132/armgcc/_build/nrf52832_xxaa.hex \
                         --key-file private.pem --hw-version 52 --bootloader-version 0xff --application-version 0xff \
                         --sd-req 0x9D --sd-id 0xA8 test.zip
    ~                                                                                                                                             

    I am using nrfutil 6.1
    Going from a SDK14.2 build with SD 132 5.0.0 

    to 

    SDK 15 build with SD 132 6.0.0

    I am using a secure boot with own keys but I rebuilt all the sdk pieces to use the correct keys.

Children
Related