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

NRF52810 INCREASING RAM SIZE FROM NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE

Hello,

I am currently working on a project which is a pcb design with NRF52810. To set the gatt services I need to increas ram size by changing NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE on sdk_config.h and also i changed ram length and ram origin in the ble_app_beacon_gcc_nrf52.ld according to logs and errors.

// <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4. 
#ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 580
#endif

MEMORY
{
  FLASH (rx) : ORIGIN = 0x19000, LENGTH = 0x17000
  RAM (rwx) :  ORIGIN = 0x200017D8, LENGTH = 0xE828
}

After this project worked on the development board with 10040e. Then I tried the project on our ibeacon design but project did not work on the NRF52810.

Then I used a small project which is working on NRF52810 and changed ble_app_beacon_gcc_nrf52.ld by changing NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE in sdk_config.h. After that i realized if I change the linker file my project does not work on NRF52810.

Actually I am asking are there anything i can do to work my project on NRF52810 hardware.

Thank you!

Related