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.

CC1352P: Infinite loop within malloc with DMM with Zigbee and BLE

Part Number: CC1352P
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK, Z-STACK

Hello

I have a DMM project with Zigbee and BLE, but that in itself it not important.

The TI supplied task, with base function stackTaskFxn(), makes a call to OsalPort_msgAllocate(() which in turn calls OsalPort_malloc(), then OsalPort_heapMalloc(), which ends up in HEAPMGR_MALLOC(). Within this function, it appears as if the heap is already in use (HEAPMGR_IN_USE), then it loops until any other task exits the heap code.

This is fine, other than the fact this task is also the highest priority (TI defined), so no other task can pre-empted and exit...

Is this a known problem?

Kind regards

Gary Partis