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

how to use nvm module with application which has ble dfu and nrf uart service

hello,

i am doing a project with nRf52810 and sdk15.3' app_ble_uart example and integrated secure ble dfu with butttonless dfu service, it is working successfully

now i want to integrate nvm flash read/write and integrated flash write example.

after integrating my ble_uart application is not advertising(running) when i do dfu OTA.

but it advertises when i directly flash the application. 

any instructions on how to use flash memory for user data when dfu is enabled.

so which example i can refer to use flash memory and which addresses are free for storing nvm data.

Parents
  • Hi,

    You can find a good representation of the flash layout when using bootloader under Memory layout in the bootloader documentation. Most SDK examples use 3 flash pages for FDS, which are right below the bootloader, which is part of the "application data" in this figure. You can use any free space between below this and above the application itself for other purposes. I do not expect there are many pages available though, as the nRF52810 is quite limited on flash (as you can see from the memory layout table).

Reply
  • Hi,

    You can find a good representation of the flash layout when using bootloader under Memory layout in the bootloader documentation. Most SDK examples use 3 flash pages for FDS, which are right below the bootloader, which is part of the "application data" in this figure. You can use any free space between below this and above the application itself for other purposes. I do not expect there are many pages available though, as the nRF52810 is quite limited on flash (as you can see from the memory layout table).

Children
Related