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?
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?
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)?
Hi, Bui.
Thank you very much for your reply.
Thanks to your kind Tutorial, the bootloader example has been successfully used.
Thank you for this, too.
After setting up the boot loader mode, when BLE Scan is done again, "DFU Targ" is not detected.
The application is original and no modifications have been made to Source.
Now I suspect that the red box button is the one that sets the Bootloader mode after the connection.
In the above test, we downloaded the Buttonless Application with only the Bootloader Source downloaded. In this case, the next buttonless application was downloaded while the update was completed.
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.