Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Message allocation bug in cc2640 sdk

$
0
0

sdk version: ble_cc26xx_2_00_00_42893

Hi,

I build a fully automated central with cc2650, (that already build for the cc2541).

And after 15 times of connection->writing->disconnection (using the message queue and all other ti-rtos benefits), the software just stuck and didn't response to any button press or any semaphore post or any thing, and its feels like kind of allocation error.

after a week of digging, i found out that message is being deleted within the task using "ICall_freeMsg", BUT allocated using "ICall_malloc" within the call "_enqueueMsg" function in each project example on the SDK.

after changing the message allocation to "ICall_allocMsg" insead of "ICall_malloc", the app works well and did never stack.

Please verify this issue.

Thanks.


Viewing all articles
Browse latest Browse all 262198


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>