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

Jump to bootloader buttonless

Hi,

I use the SDK12.3 and SD130 with secure_bootloader and my own application. I can flash SD and Bootloader and update my app over OTA with DFU from NRF Toolbox. My app works fine after updating. I implemented the buttonless service to do the buttonless jump back to bootloader if needed (I also have another custom service which works fine). If I use the characteristic from buttonless dfu service to switch to bootloader I get the notification "Response for: Enter Bootloader Status: Success". But I never jump to the bootloader. If I set a breakpoint in my bootloader I never reach it. So I dont know where to search because it seems everything is fine. Couldnt find a similiar case in the dev zone. Any help appreciated, thanks

Parents
  • with the experimental ble_app_buttonless_dfu example + bootloader it works. After jump to bootloader the device is still in application even the notification states Response for: Enter Bootloader Status: Success"

    With the use of breakpoints I can see that the enter_bootloader() is called. The notification is triggered. The s_dfu_settings.enter_buttonless_dfu is set to true and nrf_dfu_settings_write gets called and runs completly. I cant see code where on_disconnect() is used after all of that. Where should on_disconenct() be called?

Reply
  • with the experimental ble_app_buttonless_dfu example + bootloader it works. After jump to bootloader the device is still in application even the notification states Response for: Enter Bootloader Status: Success"

    With the use of breakpoints I can see that the enter_bootloader() is called. The notification is triggered. The s_dfu_settings.enter_buttonless_dfu is set to true and nrf_dfu_settings_write gets called and runs completly. I cant see code where on_disconnect() is used after all of that. Where should on_disconenct() be called?

Children
No Data
Related