This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sdk13 buttonless dfu can't start bootloader

hi,dear engineers,

i use the example experimental_ble_app_buttonless_dfu of nRF5_SDK_13.0.0_04a0bfd, on the PCA10040 board,Now,i'm sure that I am flashed Softdevice,app,and bootloader,and the board work in the app.and well,the nRF connect v1.1 is connected to the board.

but when i use the nRF connect v1.1 to start DFU,it appear an error image description image description

i don't know why it do nothing and disconnect,it never enter the on_rw_authorize_req(),on_write(),on_hvc() in ble_dfu.c

Parents Reply
  • see the guide there

    From SDK v13 we introduced DFU buttonless characteristic. The characteristic has indication and write properties. What we need to do is simply enable indication on the characteristic and write 0x01 to it. The Buttonless device will send an indication and wait for acknowledge from the DFU master. When the acknowledge from the central comes, it will call bootloader_start() (check on_hvc() function in ble_dfu.c). The connection will be dropped after that.

Children
No Data
Related