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.

ccs c语言读到寄存器值总是0,与实际的内存内容不一致(DM8148)



Dear Chris,

目前想设置GPIO,对其寄存器进行设置,在此之前,pinctrl对GPIO 的 CM_ALWON_GPIO_X_CLKCTRL进行相关操作。

目前状况,通过写寄存器,通过memory可以看到写成功(与写的内容一致)。

但是我读这些寄存器,读出来的一直是0,与寄存器的实际内容不一样。不知道什么原因造成。

(CCS5.5,程序在ARM cortex-A8 裸机,没有操作系统,仿真器emulator).

BRS,

Meng