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

OTA DFU for nRF52810 on SDK v15

Hello,

I am developing firmware for nRF52810 with SDK 15.0.0 and I need the OTA DFU features (buttonless DFU to be more specific) but there is no DFU demo for nRF52810.

Is answer for this question (https://devzone.nordicsemi.com/f/nordic-q-a/27185/52810-how-to-use-dfu) is applicable for SDK 15.0.0 (S112-SD-v6)? By the way, it was mentioned in those answer that you will add support for the nRF52810 in the bootloader examples in a future release.

Thank you

  • Hi,

    The explanation by Bjorn regarding how to port the bootloader in the SDK to nRF52810 should still be valid. You should be able to follow these steps and get a working bootloader for S112-v6. The alternative is to just stay on SDK14.2.0 and use the bootloader from the GitHub repository linked to by Bjørn. You can have a look at the release notes for SDK15.0.0 and if you don't need any of the added features SDK14.2.0 will be a good option. Note that the bootloader does require some space, so with the bootloader and SoftDevice present only 60kB is left for the application. In SDK14.2.0 the SoftDevice was smaller so the application can be 64kB on the older SDK.

    It is still true that bootloader support for nRF52810 will be added in a future release. Unfortunately, this did not get completed for nRF5 SDK 15.0.0 because the priority for SDK15.0.0 was to get support for the newly released nRF52840 device. It's important that a bootloader always works as intended, so adding a new bootloader target to the SDK requires a time-consuming testing process which we were not able to fit in the schedule for SDK15.0.0.

    Best regards,
    Rune Holmgren

  • Hi Rune,

    Now I am using nRF5_SDK_15.3.0_59ac345 for my project on nRF52810.

    I found a bootloader example at

    \nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\pca10040e_ble\

    And an application example at:

    \nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_buttonless_dfu\pca10040e\

    And some pre-compiled hex files at:

    \nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_dfu_test_images\ble\nrf52832\

    Questions:

    1. Can I use pca10040e bootloader/application examples for my nRF52810 board directly?

    2. I tried to flash device with pre-compiled hex files at ..\nrf52832\ble_app_buttonless_dfu_with_bonds_s132_with_setting_page.hex, it reports an error

    "ERROR: The file specified is not a valid hex file, has data outside valid areas
    ERROR: or does not have data in valid areas."

    Does this mean I can not use pre-compiled hex files from nRF52832 on nRF52810?

    This thread is kind of out of date, and my question may be stupid. But I will be very appreciated if you can give me some help.

Related