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

nrf51822_CEAA RAM limitation

Hi All,

I'm trying to test the ble_app_hrs_rscs_relay example on an nRF51822 (256 Ko flash / 16 Ko RAM) with the softdevice s130 but unfortunately the program is not being run. Compiling with Keil gives the following results: image description

Memory mapping is as following: image description

I'm using default Stack/Heap configuration in the startup code: image description

Please note, this same example is running perfectly on nrf51422 on the Nordic nRF51-DK (PCA10028 V1.1.0).

Could you please confirm that this issue is because of insufficient RAM size?

Many thanks in advance.

Parents
  • I'm using the ISP130301 which embeds an nRF51822_CEAA, and as you can see in the datasheet both 16 MHz and 32.768 kHz clocks are integrated. The example uses the external low frequency clock 32.768 KHz as following: SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL); // LFCLK crystal oscillator 20 PPM accuracy. Actually, I don't think it is a hardfault, because when debugging (with Keil) the main function is not being even called!

Reply
  • I'm using the ISP130301 which embeds an nRF51822_CEAA, and as you can see in the datasheet both 16 MHz and 32.768 kHz clocks are integrated. The example uses the external low frequency clock 32.768 KHz as following: SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL); // LFCLK crystal oscillator 20 PPM accuracy. Actually, I don't think it is a hardfault, because when debugging (with Keil) the main function is not being even called!

Children
No Data
Related