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

SDK 17.0.0 Bluetooth DFU example not work

I am tring to DFU by Bluetooth with example, but it not work.
Please someone help me!!

My environment
PCA10056 nRF52840
SDK17.0.0
examples/dfu/secure_bootloader/pca10056_s140_ble_debug

First flash the program by onboard J-link.
The program print "before" in main().
Next, build and pack target program.
The program print "after" in main().
DFU by nRF Toolbox on iPad.

Outputted "All flash operations have completed. DFU completed." on terminal.
It indicates that reached on_dfu_complete().
But, "after" is not displayed.
Parents
  • Hi,

    Your test seems sensible, updating from a firmware that writes "before" to "after". There is nothing here indicating what went wrong, though. I see you are already using the debug bootloader (pca10056_s140_ble_debug), which include RTT logging. Can you do the process again and upload the RTT logs here? It is interesting to see the logs both from the update, and from when (failing to) starting the new application. That should give a good indication of what the problem could be.

    (You can obtain the logs using the J-Link RTT viewer.)

Reply
  • Hi,

    Your test seems sensible, updating from a firmware that writes "before" to "after". There is nothing here indicating what went wrong, though. I see you are already using the debug bootloader (pca10056_s140_ble_debug), which include RTT logging. Can you do the process again and upload the RTT logs here? It is interesting to see the logs both from the update, and from when (failing to) starting the new application. That should give a good indication of what the problem could be.

    (You can obtain the logs using the J-Link RTT viewer.)

Children
Related