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.

[参考译文] CC1352R:堆:`发送蓝牙通知时损坏的可用列表`

Guru**** 2541020 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1100594/cc1352r-heap-corrupted-free-list-while-sending-bluetooth-notifications

部件号:CC1352R

设备:CC1352R1

板:自定义

SDK:4.40 .04.04

在使用发送蓝牙通知时GATTServApp_ProcessCharCfg(),尝试释放堆时运行无限循环是相当常见的。 它卡在while HeapMem.c函数中的循环 heapMem_freeUnprotected中。

以下是ROV HeapMem的屏幕截图:  

位于该地址的内存浏览器将引用自身。 我认为循环引用可以解释无限循环。

我知道SDK SDK SDK 5.20 .00.52 可能会帮助解决这个问题,但此时升级SDK将是一项相当大的工作。 我希望在尝试SDK升级之前,有人能向我指出一些调试选项或解决方案的方向。

谢谢你。