Maybe it is an obvious question but i do not see correct answer.
i use mx6sx mcu (a9 and m4 cores inside) and had created a FreeRTOS little test project for TCM_L memory of m4. The project has one little task - just to type out "hello world". the task works about 10 sec and stops then.
Then i have created the same for qspi flash and it works well.
My question is:
what it could be, that may cause to stop the task when uses TCM_L .
Is your M4 task built as bare metal one or as FreeRTOS-based? In the second case, the most likely cause of the issue is some memory contention between your task and FreeRTOS components, since FreeRTOS itself uses TCM as well.