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

Calculate Memory Settings for 51822_xxAB and S130 V2.0.1

My Chip is a Insight SIP ISP1302. It's based on a 51822_xxAB, 128kb Flash and 16kb RAM.

I try to use the S130 with the UART Application.

The S130 2.0.1 requiers 108kb (1B000) Flash and 4.95kb (13C8) RAM.

When i calculate the Settings for Keil, i get the following values: ROM Start 1B000, Size 5000 RAM Start 13C8, Size 2C38

But it doesen't works.

In different Posts i see Values for the RAM Start of 20002000 or similar. What is that???

Can someone give me the correct values for my Project and explain how to calculate.

Thanks a lot!

  • AFIK.The SD needs more RAM if you use any features in the SD

    The beacon App settings are RAM Start 0x20001870 i.e SD takes 0x1870

    The UART example, which has a service is RAM Start 0x20001fe8

    The same value is used for the App Template and HRS etc etc, which all have a service.

  • Hi Cavemanatwork,,

    @rogerclark is correct, the RAM usage of the SoftDevice will depend on which the configuration the SoftDevice uses, e.g. the number of concurrent central links and peripheral links.

    The sd_ble_enable function takes app_ram_base as an argument and and on return this will contain the minimum start address of the application RAM region required by the SoftDevice for this configuration. Calling sd_ble_enable() with *p_app_ram_base set to 0 can be used during development to find out how much memory a specific configuration will need.

    Best regards

    Bjørn

Related