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

OTA bootloader available for 10 seconds after power on, for nrf52 like the one provided for nrf51

Hi, 

I know there are OTA bootloaders for nrf52 which can be enabled by pressing a button(gpio start) or by sending a message on a bluetooth cahracteristic(buttoless dfu start).

Is there available an OTA bootloader which starts always after power on for a limited time(5/10 seconds) before starting the application? I know there is a bootloader working in this way for nrf51822, but is there a similar one for nrf52832 too?

Thanks in advance.

Parents
  • Hello,

    This is not available, but you can change the bootloader project to suit your needs. I don't know what SDK you use for your nrf52832, bu if you are starting from scratch now, I recommend that you use the latest, SDKv15.2.0. The bootloader projects has become a lot easier to read in the later releases.

    Look into the function nrf_bootloader_init() in nrf_bootloader.c.

    It uses the activation_result = nrf_bootloader_fw_activate(); to determine whether or not to enter the DFU mode. Basically, just set dfu_enter = true for all outcomes, and it will always enter DFU. (This piece of code is always run before the application is started. Just make sure to set the timeout with a suitable time limit, so that it doesn't always take several minutes to start your device.

    Best regards,

    Edvin

Reply
  • Hello,

    This is not available, but you can change the bootloader project to suit your needs. I don't know what SDK you use for your nrf52832, bu if you are starting from scratch now, I recommend that you use the latest, SDKv15.2.0. The bootloader projects has become a lot easier to read in the later releases.

    Look into the function nrf_bootloader_init() in nrf_bootloader.c.

    It uses the activation_result = nrf_bootloader_fw_activate(); to determine whether or not to enter the DFU mode. Basically, just set dfu_enter = true for all outcomes, and it will always enter DFU. (This piece of code is always run before the application is started. Just make sure to set the timeout with a suitable time limit, so that it doesn't always take several minutes to start your device.

    Best regards,

    Edvin

Children
No Data
Related