"CPE_TRACE_MSG_DMA_CFGERR, 0" error for DMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

"CPE_TRACE_MSG_DMA_CFGERR, 0" error for DMA

2,962 次查看
xuedongyang
Contributor II

I am trying to DMA some data to HRAM for offline analysis in LA1224/LA2160 5G system. However, it kept saying DMA configuration error for this channel.

I checked the channel number, which is not used by anywhere else. Also I checked the HRAM address, which looks good. The DMA length is only 68 bytes. I am not sure what else could be wrong.

Anyone has any suggestion what else I should check. It is very annoying problem that is blocking our debugging activity.

Attached is the DMA statement I am using. Is there anything wrong in the statement? At least, I can compile and run.

0 项奖励
回复
2 回复数

2,949 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please give more information, what code is this? is this part of our LSDK? , which revision are we talking about, etc.?

0 项奖励
回复

2,945 次查看
xuedongyang
Contributor II

Hi, Yipingwang,

Thank you for your reply.

Actually we just resolved the issue. The problem is that the AXI address (destination address) in our DMA statement is not 128-bit aligned, which is required in the document "VSPA-16SP ISA-v3.0 Instruction Set Manual for LA1224". After we change the address to 128-bit aligned address, we don't see the problem any more.

0 项奖励
回复