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.

Compiler/CC3220SF: cc3220sf

Part Number: CC3220SF

Tool/software: TI C/C++ Compiler

Hi,

i use dynamic memory and i get WDT because in function HeapMem_freeUnprotected it stack on

while (nextHeader != NULL && nextHeader < newHeader) {
/* Make sure the addr is not in this free block */
Assert_isTrue(((UArg)newHeader >= (UArg)nextHeader + nextHeader->size),
HeapMem_A_invalidFree);
curHeader = nextHeader;
nextHeader = nextHeader->next;
}

the problem is:

nextHeader = nextHeader->next 

advice

Thanks