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

  • by following this (infocenter.nordicsemi.com/index.jsp, I made a step further:

    Please see the log msg of nRF Connect:

    V 17:46:48.165 [DFU] Connecting to DFU target...
     D 17:46:48.231 [DFU] gatt = device.connectGatt(autoConnect = false)
     I 17:46:48.534 [DFU] Connected to C1:17:F7:AF:0C:7C
     V 17:46:48.534 [DFU] Discovering services...
     D 17:46:48.534 [DFU] gatt.discoverServices()
     D 17:46:48.534 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
     I 17:46:49.014 [DFU] Services discovered
     D 17:46:49.039 [DFU] wait(1000)
     W 17:46:50.052 [DFU] Application with buttonless update found
     V 17:46:50.052 [DFU] Jumping to the DFU Bootloader...
     V 17:46:50.052 [DFU] Enabling notifications for 8e400001-f315-4f60-9fb8-838830daea50
    
Reply
  • by following this (infocenter.nordicsemi.com/index.jsp, I made a step further:

    Please see the log msg of nRF Connect:

    V 17:46:48.165 [DFU] Connecting to DFU target...
     D 17:46:48.231 [DFU] gatt = device.connectGatt(autoConnect = false)
     I 17:46:48.534 [DFU] Connected to C1:17:F7:AF:0C:7C
     V 17:46:48.534 [DFU] Discovering services...
     D 17:46:48.534 [DFU] gatt.discoverServices()
     D 17:46:48.534 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
     I 17:46:49.014 [DFU] Services discovered
     D 17:46:49.039 [DFU] wait(1000)
     W 17:46:50.052 [DFU] Application with buttonless update found
     V 17:46:50.052 [DFU] Jumping to the DFU Bootloader...
     V 17:46:50.052 [DFU] Enabling notifications for 8e400001-f315-4f60-9fb8-838830daea50
    
Children
No Data
Related