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.

要操作DRA628的RM_ACTIVE_RSTCTRL寄存器,有什么前置要求么?



我在linux下写dsploader,用dev/mem来处理内存映射。

elf读入和操作dspbootaddr寄存器都没有问题。

但是mmap映射0x48180000,理论上得到的虚拟地址+0x0a10就是这个寄存器了,但是一写入就会发生那个著名的坑爹错误:“segmentation fault”。

RM_ACTIVE_RSTCTRL这个寄存器有什么特殊的么?或者操作它有什么前置要求么?

谢谢。