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

There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board. (SDK is using 12.3.)

Hi
I am currently testing Buttonless DFU using SDK 12.3, nRF52832 DK.
Example test was conducted first using the DK board, but as you can see in the picture, it will fail. I don't know why.
Is the method wrong?

 

Parents
  • Hi Aser, 

    I assume that you didn't see the device advertised as "DFU Targ" after you set it to bootloader mode? What was the behavior after the write ? 


    I suspect that the application has crashed, you may want to check if it enters any assert handler or if it resets. 

    Have you flashed the bootloader ? Do you have any issue if you test the bootloader (without the buttonless application)?

  • I realized that I was doing something wrong after all my attempts.
    First, mark the "↓x3" button and press the "↑" button.
    I realized that I had to choose Request instead of Command in a pop-up window.
    But even though I have tried to switch to boot mode countless times through this method, I still use Nordic Buttonless to do it.
    :(What should I do?

  • Hi Aser, 

    If you instead click on the DFU button can you do a DFU update  ? The app should detect that it's a buttonless application and perform the DFU buttonless automatically. 

    The buttonless application is quite simple. It waits for a write request to write to a flag in flash and then reset to the bootloader. 

    You can debug the buttonless application quite easily. You can check if enter_bootloader() is called inside on_ctrlpt_write() when there is a BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST.

    Please be aware that SDK v12.3 is pretty old. We changed the way we enter DFU bootloader (using GPREGRET instead of flash ) from SDK v13. The current SDK is v15.3

  • Hello Bui. Good morning.
    I've done a lot of DFU with the DFU Button you mentioned, but it's repeatedly output the same log as an infinite loop.
    I don't know why.
    When this is resolved, the phone sends a signal to the boot mode and it will be able to apply it to the My Project.
    Thank you.

Reply Children
No Data
Related