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

s130 2.0.0 ROM and RAM settings?

Hi,

I am using a 128KB-rom 16KB-ram nrf51822 and trying to run blinky from SDK 11 with softdevice.

If I load nrf51 S130 1.0.0 softdevice, and use the following in my gcc compiling setting: FLASH (rx) : ORIGIN = 0x1c000, LENGTH = 0x4000 RAM (rwx) : ORIGIN = 0x20002800, LENGTH = 0x1800 I was able to run blinky.

After I change to S130 2.0.0 softdevice, and use the following: FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x5000 RAM (rwx) : ORIGIN = 0x20002800, LENGTH = 0x1800 blinky does not work any more. I assume the RAM setting is wrong? what should be the correct setting?

Also what is the correct ROM/RAM setting for S130 2.0.0-7.alpha? I can't get blinky to work with this SD either.

Thanks for any help!

Parents
  • ble_app_beacon from SDK 11 works with SoftDevice S130 v2.0.0 (release version). How do you see that the example loads the alpha version of the SoftDevice (assuming you are not using SDK 11 alpha version)?

    Do you have an external 32kHz crystal on your board? If not the example wont work out of the box. You should create your own boards file (similar to PCA10028.h or PCA20006.h) and if you are going to use internal 32kHz oscillator, change NRF_CLOCK_LFCLKSRC to use .source = NRF_CLOCK_LF_SRC_RC. Also change rc_ctiv (RC calibration interval) and rc_temp_ctiv (RC temperature calibration interval) to your needs (you can read more about them in nrf_sdm.h). The LEDs and buttons pin definitions should also be changed.

Reply
  • ble_app_beacon from SDK 11 works with SoftDevice S130 v2.0.0 (release version). How do you see that the example loads the alpha version of the SoftDevice (assuming you are not using SDK 11 alpha version)?

    Do you have an external 32kHz crystal on your board? If not the example wont work out of the box. You should create your own boards file (similar to PCA10028.h or PCA20006.h) and if you are going to use internal 32kHz oscillator, change NRF_CLOCK_LFCLKSRC to use .source = NRF_CLOCK_LF_SRC_RC. Also change rc_ctiv (RC calibration interval) and rc_temp_ctiv (RC temperature calibration interval) to your needs (you can read more about them in nrf_sdm.h). The LEDs and buttons pin definitions should also be changed.

Children
No Data
Related