Hi!
My setup:
* nRF52 DK
* nRF5_SDK_15.0.0_a53641a
* s132_nrf52_6.0.0
* SES V3.34b 64-bit
In my application I am using Peer Manager to manage bonding and also I am going to store some user data in persistent storage (FDS), for example measurement results. I am not really familiar with the memory structure in Nordic chips, I have seen Product Specification, but some things are still unclear. My questions are:
1) How many bonding records will Peer Manager store? And what is the size of a bonding record? What function should I use to limit maximum bonds number?
2) In case my application for now is 191KB large (512KB chip):
Configuration memory segments:
FLASH RX 0x0 0x80000
RAM RWX 0x20000000 0x10000
Section placement macros:
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x80000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x10000
FLASH_START=0x26000
FLASH_SIZE=0x5a000
RAM_START=0x20003770
RAM_SIZE=0xc890
What are my limitations on storing my personal nonvolatile data? How can I assure that bonding records will not overwrite my data and vice-versa? Is there any way to assign certain FLASH pages to bond manager and other for other uses?
3) I have noticed that when I program my device the bonds stay untouched (which is weird for me). Where is the declaration for them to be in another memory segment than the code?