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

52810, how to use dfu?

Hello, guys, I develop 52810 with sdk 14.1.0, i need the OTA features, but i couldn't find the dfu demo(ble secure dfu bootloader and buttonless dfu template app, pca10040e), what can i do ?

Do you give the dfu demo for 52810 later?

Parents
  • Update 13.03.18:

     

    Attached is a modified SDK v14.2.0 that contains nRF52810 project files for GCC, Keil and SES.
    Version v1.0: SDK_14.2.0_nRF52810_Secure_BL.zip
    Version v1.1: Contains fix for the micro-ecc lib issue in the Keil project SDK_14.2.0_nRF52810_Secure_BL_v1.1.zip

     

    Hi Blue,

    we will add support for the nRF52810 in the bootloader examples in a future release, but for now you can modify the existing pca10040 project by doing the following modifications

    Change the device under "Options for Target" --> Device to nRF52810_XXAA

    Modify the ROM/RAM settings under Options for Target --> Target to the following

    IROM1 Start: 0x28000 Size: 0x6000
    IRAM1 Start: 0x20001C08 Size: 0x43F8
    

    Then you will have to set the following defines under Preprocessor Symbols under Options for Target --> C/C++

    BLE_STACK_SUPPORT_REQD BOARD_PCA10040 CONFIG_GPIO_AS_PINRESET NRF52_SERIES NRF52810_XXAA NRF52_PAN_74 NRF_DFU_SETTINGS_VERSION=1 NRF_DFU_SVCI_ENABLED NRF_SD_BLE_API_VERSION=5 S112 SOFTDEVICE_PRESENT SVC_INTERFACE_CALL_AS_NORMAL_FUNCTION SWI_DISABLE0 __HEAP_SIZE=0
    

    and replace the include path to the S132 header files with the headers of the S112 under Include Paths, i.e.

    ..\..\..\..\..\components\softdevice\s112\headers
    ..\..\..\..\..\components\softdevice\s112\headers\nrf52
    

    Lastly you need to replace nrf_sdh_ble.c,nrf_ble_dfu.c and nrf_dfu_types_s112.h with the attached files.

    Attachments:

    nrf_dfu_types_s112.h

    nrf_ble_dfu_s112.c

    nrf_sdh_ble_s112.c

Reply Children
No Data
Related