FreeRTOS+TCP and DMA cache with Zynq7000

I woud like to ask if it is possible to run FreeRTOS+TCP without enable L2 cache for ethernet buffers on Zynq7000?
Thank you.

Hi @trantam_cdt92 !

The driver does work properly when caching is enabled. By default caching is disabled.

Have a look at uncMEMORY_ATTRIBUTE. That macro determines if the memory will be cached.

Find a description here of the memory attributes.

EDIT: once you have enabled caching, make sure that ucIsCachedMemory() will return true.

4 Likes

Hi @htibosch !
Actually, I wanted to run FreeRTOS+TCP when caching is disabled. We used an old version of the FreeRTOS+TCP which doesn’t support disabling caching. After reading your reply, I downloaded the latest version of FreeRTOS+TCP and it could work properly when caching is disabled.
Thank you so much.