How to include buttonless DFU in existing SES Project

Hello,

I would like to add buttonless DFU to my project.

This is so that in the field our mobile application will be able to push new FW to the device upon connection.

I am using a BMD-350 which is based on the nRF52832.

Using NRF 15.3.0 and Segger Embedded Studio

I have got the secure_dfu example working on an eval board.

However, I am wondering how to add the bootloader to the project? Is it added as a part of the SES project, or is something similar to the secure_dfu example flashed before the FW is flashed?

I've read over https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Fsdk_app_serial_dfu_bootloader.html
and it says that the secure_bootloader needs to be programmed. Does this mean it is a separate project that is flashed before flashing other SW is programmed?

Any help would be appreciated.

Parents Reply
  • Hello, that blog has been great! Thank you for sharing. I've successfully followed all his steps, using our code instead of nrf_blinky.
    Unfortunately, after I flash the device I receive this error: 

    00> <error> app: ERROR 4 [NRF_ERROR_NO_MEM] at C:\Users\Caleb(CDUE)\repos\lancelot_p_fw\app\main.c:3551
    00> PC at: 0x0003B77D


    Reading this post suggests the issues is that I have not included a bootloader. However, I have indeed included secure_bootloader_ble_s132_pca10040.hex when merging the hex files.

    Please let me know if you have a solution for this issue.

Children
Related