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

NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE and RAM_START blocks execution

Hello,

After adding pairing using static passkey to my nRF52840 board, i am facing a memory issue :

At the beginning of execution, the code stopped as if there was a breakpoint (but there wasn't) in the disassembly window of Segger embedded studio.

To make it work, i add to increase NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE  in sdk_config.h, and i had also to change the RAM_START address in the project option => Linker.

It was working fine, but the day after, it did the same error, without changing a line in the code, so i had to increase it again.

Now, i has been several days that i have to increase this lines again and again and the values are :

RAM_START=0x20003698

#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 2800

Sometimes, it works and i can go back to the values i putted the first time...

What can i do to avoid this problem ?

Related