This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2651R3: Insufficient Resource error observed while using iOS device

Expert 1720 points
Part Number: CC2651R3

Hi,

I use ble sdk5.40.

My application works well with android device(central)

We used the simple_peripheral example project as reference and built our applicatin on top of it.

Now when we test using iOS device, it shows Insufficient resource error. And when i refer to TI forum, i understand it could be due to no enough RAM or heap management issues.

I tried looking into the map file as per TI reference: Debugging — SimpleLinkTm CC13XX/CC26XX SDK BLE5-Stack User's Guide 2.02.04.00 documentation

And it shows the total RAM consumption as 37882 (rw data) which is 92.48% of total available (40kB) RAM, which is much above the expected consumption.

But i would like to know if this is static ram consumption or runtime?

Also may I know what data the SRAM in the below picture indicates?

Thank you for the valuable answer in advance.

  • Hi,

    Thank you for reaching out to us. I have a few questions that may help us resolve this as efficiently as possible. Does this issue occur in an unmodified 5.40 simple_peripheral project? If not, then can you provide a high-level overview of the changes that are required in the simple_peripheral project for this behavior to occur? Is this behavior present in the latest 6.40 SDK release?

    Best Regards,

    Jan

  • I haven't tried with an unmodified simple_peripheral project. But I hope not, since I think the issue is mainly caused due to RAM unavailability.

    We have lot of application level modifications like, usage of multiple events, uart to ble data transfer, ble pause, different advertisement sets etc, which caused increase in RAM consumption.

    Here, I would like to understand mainly the two questions I posted in the first message. Could you please answer me on that.

    I'm working on SDK5.40, and so I haven't tried 6.40SDK.

    Thank you.

  • Hi,

    In CCS, you can click on View > Stack Usage to have a graphical display of the map file. There you can see the different memory section allocated. Based on this information, you can answer your questions.

    I hope this will help,

    Best regards,

  • Thanks Clement for notifying that option. It is very useful.