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

DFU

Hi, I am developing the application in nRF52832 with SDK_16 in SES.

I have a problem with DFU

I need to run the application and DFU has to be activate only if the mobile application gives permission

I have seen that Two method in DFU

Button DFU

Buttonless DFU

Is Buttonless DFU as same as Background DFU or both are different

I have done Button DFU.

But while running Buttonless DFU for my application. the application doesn't work. i don't know how to debug my application

Parents
  • Is Buttonless DFU as same as Background DFU or both are different

     Buttonless DFU means that you can trigger the nRF52xxx device to enter bootloader mode by writting to one of the characteristics in the DFU service. The nRF52xxx will then reset into the bootloader and  the bootloader that receives the new firmware image and when the entire image is received it will replace the old image with the new one. In other words, the 

    Background DFU is different. Here its the application that receives the new firmware image while it is continuing to perform the regular application tasks. Once the entire firmware image has been received the nRF52xxx will reset into bootloader mode and replace the old application with the new one. 

    So the main difference is that with regular buttonless DFU the device will not function as "normal" when the firmware image is being received, but if the update is done in the background in the application, i.e. Background DFU, then the only downtime will be the time it takes to replace the old application with the new one. 

    I have done Button DFU.

    But while running Buttonless DFU for my application. the application doesn't work. i don't know how to debug my application

    Are you using the _debug version of the bootloader as suggested by my colleague in https://devzone.nordicsemi.com/f/nordic-q-a/51844/ble_app_buttonless_dfu-my-application

     Please describe in detail what that is not working with your application. Are you not able to perform DFU? Doesnt the nRF52xxx device enter the bootloader when you write to the DFU characteristic? Do you get an error when you try to perform DFU?

    Best regards

    Bjørn

  • Hi,

    i need your opinion that, i need to do DFU

        In Button DFU - Works, but the problem is after sleep when it wake up with button press it enter into DFU mode (note: device has one button)

      Buttonless DFU and Background DFU as different means . and code reference for background DFU. 

    If the device is Fitness tracker (Health care product) which one you suggest  Button DFU or Buttonless DFU  or Background DFU.

    I tried to implement Buttonless DFU to BLE_UART or BLE_Blinky  it has build but the problem

    But after successive upload into the device it doesn't work.

    do you have any BLE_UART_DFU code (buttonless)  reference .

Reply Children
No Data
Related