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

Thread+BLE,DFU through ble

Hi, nordic engineer:

         Our project has a function, that is, BLE+Thread coexists. We hope that the mobile phone can upgrade the device through BLE. Can this idea be realized?
       I tried to burn softdecvice+bootloader, then use the mobile phone to give the device DFU. After the upgrade is completed, let the device power off and restart, the device does not jump to the application, but enters DFU mode again.

  • Hi Noa-Ben!
    Which bootloader do you use? Am I correct that you are trying to have a device with Softdevice+BLE bootloader only and transfer the application via DFU?

    Could you paste all commands that you use, so anyone can follow your steps? (settings generation, package generation, starting DFU etc).

    Which version of nrfutil do you use? Which version of SDK do you use?

    Are you able to perform the DFU with blinky example (softdevice-enabled variant)?


    BR,

    Tomchy

  • Hi, tomchy:

            Bootloader's version that I used is secure_bootloader_ble_s140_pca10056. Also, I had tried to use the bootloader secure_bootloader_ble_s140_pca10056_debug.

           The same effect, DFU can be successful, but still enter DFU mode after restart

    1. nrfjprog --eraseall
    
    2. nrfjprog --program ./s140_nrf52_6.1.1_softdevice.hex
    
    3. nrfjprog --program secure_bootloader_ble_s140_pca10056.hex
    
    4. nrfutil pkg generate --hw-version 52 --sd-req 0xb6 --application-version 3 --application ble_thread_dyn_mtd_coap_cli_pca10056_s140.hex --key-file MIXIT.pem dyn_mtd_coap_cli.zip

Related