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.

CC2640R2F: Dynamic Memory Leak (Heap overflow) after connections and data transfer cycle

Part Number: CC2640R2F

Hi, Using CC2640R2F and CC2642R2F in some of our applications in peripheral mode, no pairing, no input/output device. 

We have noticed that whenever there is a data transfer, around 56 bytes of data is not cleared from the heap, so heap memory keeps

growing resulting in the HAL_ASSERT_CAUSE_HARDWARE_ERROR being raised. We have ensured that our application is not causing this.

We used heap metrics, tried to debug, but could not identify the exact source. Any help will be appreciated,

We temporarily addressed the field issue by doing controlled soft reset during disconnect, but need to resolve this permanently. 

This issue is seen in both simplelink_cc2640r2_sdk_5_30_00_03, simplelink_cc13xx_cc26xx_sdk_6_40_00_13, 

  • Hello,

    Thank you for reaching out.

    I have looked into the release notes of the SDKs mentioned and this issue does not seem to be known.

    In order for me to reproduce, could you please provide the code changes to implement on the simple_peripheral example?

    Appreciate your inputs,

    Best regards,