Hi,experts
I am using qdma under codec engine.When DMA is between two DDR address ,it work right.When between DDR and l2 RAM , it work wrong.
I wonder if the L2RAM can be access or not, then I use memcpy to do data copy transfer like this:
memcpy(L2RAM1,DDR,N);-->memcpy(L2RAM2,L2RAM1,N);-->memcpy(DDR,L2RAM2,N);
Then I check the final data compare with original data. The result is that final data is totally wrong!It is some repetitive data.
I check my cache configure registers,it should be right.I set L2 into 128K cache and 128K RAM.My board is C6A8168 evm.
what's the problem?
Thank you!!
Francis