This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Disabling L2 cache for CPU1 (Zynq-7000)

Hello people,

we are trying to make AMP application on Zynq 7000 custom board. We have a FreeRTOS v8.2.3 and lwIP v1.4.1 running on CPU0, while baremetal application is running on CPU1 and this one handles DMA configurations and its interrupts. We have noticed that only when we completely disable L2 cache DMA transfers are working as expected. However, disabling L2 cache also affects some parts of lwIP, so we were wondering whether is possible to somehow disable L2 cache only for CPU1? We tried to put entire DDR segment which is seen by CPU1 as non cacheable with function Xil_SetTlbAttributes and value 0x14de2 (S=b1, TEX=b100 AP=b11, Domain=b1111, C=b0, B=b0), however this doesn't help.

Best regards,
Nenad

Top replies