Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bootloader Deep Sleep

Wich is the proper way to bring bootloader into deep sleep?

I'm using a modified version of the BLE Secure DFU Bootloader (SDK 14.1.0) for the nrf52810. I have added button support for trigger the sd_power_system_off function and the wakeup event. In this way I'm able to put the system in sleep mode. By pushing the button it starts advertising again and it is possible to establish connection, but not starting a DFU.

Can you give me some advice to fully understand how wakeup works and how to use it with bootloader?

Thank you

Parents
  • Hello,

    A device will typically enter sleep from the main application (after advertisment timeout,etc.), and therefore not require any changes in the bootloader code, but you may need to disable the BOOTLOADER_BUTTON pin if you only have one button in your design, bootloader will enter DFU mode on startup if you use the same pin for wake-up. 

    BOOTLOADER_BUTTON pin is not required if you implement support for buttonless dfu in your main app. 

     

Reply
  • Hello,

    A device will typically enter sleep from the main application (after advertisment timeout,etc.), and therefore not require any changes in the bootloader code, but you may need to disable the BOOTLOADER_BUTTON pin if you only have one button in your design, bootloader will enter DFU mode on startup if you use the same pin for wake-up. 

    BOOTLOADER_BUTTON pin is not required if you implement support for buttonless dfu in your main app. 

     

Children
Related