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

Proper IROM and IRAM settings.

Hi,

I am basing on examples for PCA10040 board with 52832.

Now I want to make some app for 52810.

I want to use softDevice s132 version 6.1.0.

I am a little bit confused about setting proper IROM and IRAM, because in different version of s132 I see different answers about IROM and IRAM.

Could You help me with choosing right IROM and IRAM settings for 52832 and for 52810?

Regards,

Artur

Parents
  • Hi Arthur, 

    the S132 v6.1.0 is not compatible with the nRF52810, please see the nRF52810 Compatibility Matrix. Its only the S132 v5.1.0 that is compatible with the nRF52810. All the nRF52 Series SoftDevices will return the RAM start address and size when you call sd_ble_enable to enable the SoftDevice. The flash requirement for the respective SoftDevice versions can be found in the release notes which are bundled with the SDK, e.g. nRF5_SDK_15.0.0_a53641a\components\softdevice\s132\doc and \nRF5_SDK\nRF5_SDK_15.0.0_a53641a\components\softdevice\s112\doc. 

    S112 v6.0.0 Release Notes

    S132 v6.0.0 Release Notes

    Best regards

    Bjørn 

  • Hi Bjorn,

    Thank You for the response.

    Last time I made an app for nRF51 I was so unsure as today. Isn`t this numeration a little bit too confusing?

    I am able to find hex file 6.0.0 in SDK 15.0.0 and hex 5.0.0 in SDK 14.2.0.

    So where is this 5.1.0 You mentioned?

    How could I call sd_ble_enable if I cannot start debugging my app on uVision 5 without proper softdevice?

    Best regards,

    Artur

  • As indicated in the nRF52810 Compatibility Matrix, the S132 v5.1.0 is a part of the nRF5 SDK v14.2.0. You can of course download only the SoftDevice from the nRF52810 Product page, here is the link.

    You should be able to flash the S132 v5.1.0, then flash the application where you have set the flash start address and ram start address stated in the S132 v5.1.0 Release Notes and then debug the application to see what sd_ble_enable() returns in the app_ram_base variable. 

    Best regards

    Bjørn

Reply Children
Related