
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,第一个链接已经失效了,第二个链接并没有具体说如何配置啊?
PROCESSOR_SDK_RADAR_03_08_00_00
抱歉回复晚了,下面是e2e工程师的回复。
What is srcAddr and which EDMA instance is used?
Was the cache operation done before and after EDMA transfer?
srcAddr 是0x00800150,也就是DSP1的LOCAL_L2地址,EDMA 实例是Utils_dmaCopy1D()。
搬移之前执行了
Cache_wb((Ptr) (0x00800150), 256*8*128, Cache_Type_L2D, TRUE);
搬移之后执行了
Cache_wb((Ptr) (0x90000000), 256*8*128, Cache_Type_ALLD, TRUE);
不清楚这个Cache_Type是否设置正确。
请看下面工程师的最新回复。
There are 2 EDMA instances, one is SYSTEM EDMA and the other is DSP EDMA.
Depending on which instance, the DSP L2 address is different.
The one used in the code is for DSP EDMA.
The srcAddr should be 128-bytes aligned because cache line size is 128-bytes. The srcAddr should be changed to 0x00800180.
And the call should be WB L1D cache.
Cache_wb((Ptr) (0x00800180), 256*8*128, Cache_Type_L1D, TRUE);
After EDMA transfer, the call should be Invalidate.
Cache_inv((Ptr) (0x90000000), 256*8*128, Cache_Type_ALLD, TRUE);