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.

OMAPL138 EDMA配置EMCR,CCERRCLR等寄存器写不进去值



首先,我对以上两个寄存器使用ioremap函数做地址映射,做完后直接写值打印出来是0,表明没有做任何修改,表示很困惑,现将所用到的部分程序写出来:

volatile unsigned int *edma3_emcr; //0x01C00308

edma3_emcr =(unsigned int *)ioremap(0x01C00308,16);

*edma3_emcr |= 0xFFFFFFFF;

然后打印出来的值为0,表示很困惑!