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
  • Hi Benjamin,

    If you test with the experimental_ble_app_buttonless_dfu , can you switch to the bootloader ?

    What exactly happened when you "never jump to the bootloader" ? The device continue to operate in application as normal ?

    Have you check if enter_bootloader() inside ble_dfu.c is called ? What the buttonless dfu example does is to write to bootloader setting , wait for the flash update is complete, then disconnect and on_disconnect() it will trigger a softreset to jump to bootloader.

Reply
  • Hi Benjamin,

    If you test with the experimental_ble_app_buttonless_dfu , can you switch to the bootloader ?

    What exactly happened when you "never jump to the bootloader" ? The device continue to operate in application as normal ?

    Have you check if enter_bootloader() inside ble_dfu.c is called ? What the buttonless dfu example does is to write to bootloader setting , wait for the flash update is complete, then disconnect and on_disconnect() it will trigger a softreset to jump to bootloader.

Children
No Data
Related