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.

DM3730的PWM问题

Other Parts Discussed in Thread: DM3730

我想使用DM3730上的PWM功能,但是在运行程序的时候,出现错误Unhandled fault: external abort on non-linefetch (0x1818)at (0x4800e024)。我使用的的GPT10定时器,基地址为0x48086000,访问寄存器的方法是在用户空间中,通过mmap()来实现的。用这种方法,访问PAD CONFIGURATION registers就没有错误。我是参考https://github.com/MarkAYoder/BeagleBoard-exercises/tree/4db51ede707c9bab2daa8b8b613a3b2bbcee5480/pwm这里的代码的,我自己的代码在附件里,还麻烦大伙儿给看看,现在做毕设,急啊