This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SDK13 (SoftDevice s132 5.0) can not use DFU

Hi, Nordic

I check SDK13.0 bootloader_secure sample, it do not work

  1. nrfjprog download bootloader_secure

  2. use nRF Connect app in Android mobile phone to DFU (ble_dfu_send_hex\test_images_update_nrf52832*.zip)

  3. it can not start to dfu, android mobile phone only disconnect and show

    :INFO:PB: Init packet data len: 61

    :INFO:Handling signed command

    :ERROR:SD req not met

    :ERROR:Prevalidate FAILED!

    :INFO:Sending Response: [0x4, 0xa]

    Plz help me check why.

  • Prevalidate failed means that the bootloader has rejected the image. If you have replaced the debug public key in the bootloader, then you cannot use the test images provided in the SDK. You have to create a new firmware image with nrfutil that is signed with the private key that you used to create the public key. THis is done with the following command:

    nrfutil pkg generate --hw-version 52 --sd-req 0x90 --application-version 2 --application <name of application  hex>.hex --key-file <name of key file>.pem <name of the zip file to be generated>.zip
    
Related