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.

TMS320F28335: 无法改变TMS320C28335中SCI寄存器的值

Part Number: TMS320F28335


在技术手册中我查询到F28335中的SCICCR寄存器的地址为0x00007050

所以我在程序中用宏定义把这个寄存器封装了一下:

#define  BSP_SCI_CCR                           *((CPU_INT16U *)(0x00007050))

//其中,CPU_INT16U为 :
typedef  unsigned  short         CPU_INT16U;

但是当我尝试给BSP_SCI_CCR赋值或者进行逻辑运算的时候,在debug界面的register里观察到SCICCR寄存器并没有改变。

为什么会出现这种情况?

在改变之前我使用了EALLOW.