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.

TMS570LS1224: Problems occurred while using heap functions in FreeRTOS.

Part Number: TMS570LS1224


Tool/software:

After my system starts vTaskStartScheduler(); if I execute free = xPortGetFreeHeapSize(); min = xPortGetMinimumEverFreeHeapSize(); void *ptr = pvPortMalloc(128);

the system will jump to prefetchEntry.I would like to know why this happens and how to avoid it. By the way, I am currently using the mbedtls encryption library, so I need to use pvPortMalloc.