DFU OVER BLE

Hi,

   I am following below link for DFU over BLE. Link (https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu) currently it is working fine. Here the secondary slot is in internal flash. My requirement here is  Instead of internal flash , the secondary slot has to be present in external flash(DFU has to be occur over BLE only ). do we have any sample for that. if not how to achieve that one .kindly suggest.

Parents Reply
  • Hi Simon,

                Thanks for the reply.

    1.

    I would recommend you to first follow DFU over Bluetooth,

    yes i had followed that and i am able to perform task succusfully.

    you'll  find the sample Serial DFU using external flash, which shows how to put the secondary slot in external flash. 

     yes, i got struck at this place only, am not able to understand that pm_static.yml file. that for defining the external flash.

    here is the code

    pm_static.yml (for nrf52840dk_nrf52840)

    external_flash:
      address: 0xf4000
      end_address: 0x800000
      region: external_flash
      size: 0x70c000
    
    mcuboot_secondary:
      address: 0x00000
      device: MX25R64
      end_address: 0xf4000
      region: external_flash
      size: 0xf4000
    

    can you explain here what is happening. and what i have to change for my bl653dvk board.

Children
Related