cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F765 FreeRTOS + LWIP + FatFS stuck in prvIdleTask

HDøss.1
Associate II

Hi,

I’m using FreeRTOS + LWIP + FatFS to host an embedded webserver on the STM32F765. Directly from startup the application goes into prvIdleTask, after one iteration through each of my 2 tasks. I believe the error is due to the FreeRTOS variables and ucHeap being placed in the SRAM region when building the application (I’m using CMake). If i explicitly build the files in a specific order to make sure the FreeRTOS stuff is placed in DTCM it seems to work fine. Has anyone else experienced the same/have an explanation as to why this might be happening?

PS: The error also only seems to occur when Dcache is enabled, which I have understood is necessary from a performance perspective.

1 REPLY 1
Piranha
Chief II