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

regarding to buttonless DFU

Hi,

I have tried buttonless DFU in SDK 12, for which I have a few questions

(1) Is bootloader not needed if I use Buttonless DFU Template Application? However, SoftDevice is still required.

(2) I have to combine my own application with the Buttonless DFU Template Application. Is it correct?

For the above two questions, see answers below.

However, I failed at the last step. Please see my test steps and the problem in the attached word document.DFU trial SDK 12.docx

Parents
  • after reading through the online document, I have come to know that

    (1) bootloader is needed

    (2) I can add Buttonless Secure DFU Service to my application to achieve buttonless DFU.

    Following this link, I managed to let the device reboot from "Nordic_Template" app to bootloader mode "DfuTarg".

    The tick is that we need to add

    char_md.char_props.write = 1;

    in ble_dfu.c () as discussed in here

  • HI Hung,

    I' followed your blog to try DFU. I have encountered problem:

    Before DFU, device shows "DfuTarg" during BLE scan; device was loaded with bootloader (bootloader_secure), and app (experimental_ble_app_buttonless_dfu) through Keil; SoftDevice through nRFStudio.

    once I used DFU to flash an application zip file(experimental_ble_app_buttonless_dfu) into HW, it becomes "Nordic_Template", for which I cannot do DFU anymore. How to switch between "Nordic_Template" and "DfuTarg"?

Reply
  • HI Hung,

    I' followed your blog to try DFU. I have encountered problem:

    Before DFU, device shows "DfuTarg" during BLE scan; device was loaded with bootloader (bootloader_secure), and app (experimental_ble_app_buttonless_dfu) through Keil; SoftDevice through nRFStudio.

    once I used DFU to flash an application zip file(experimental_ble_app_buttonless_dfu) into HW, it becomes "Nordic_Template", for which I cannot do DFU anymore. How to switch between "Nordic_Template" and "DfuTarg"?

Children
No Data
Related