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.

AM335x, Control Module Register cannot be written , only can be read.

I use my board to develop software,  I need to change pin mux, but  I failed to write the Control Module Register.

My code such as:

HWREG(SOC_CONTROL_REGS + CONTROL_CONF_UART_RXD(0)) = 0x0000001F;

HWREG(SOC_CONTROL_REGS + CONTROL_CONF_UART_TXD(0)) = 0x0000001F;

HWREG(SOC_CONTROL_REGS + CONTROL_CONF_UART_RXD(1)) = 0x00000030;

HWREG(SOC_CONTROL_REGS + CONTROL_CONF_UART_TXD(1)) = 0x00000010;

or:
*((volatile unsigned int *)0x44E10970) = 0x0000001F;

*((volatile unsigned int *)0x44E10974) = 0x0000001F;


*((volatile unsigned int *)0x44E10980) = 0x00000030;

*((volatile unsigned int *)0x44E10984) = 0x00000010;

 

The result of Control Module Register. Is not correct.

But the Device_Id Register (0x44E10600),is correct , I think that is no problem  about the operation of reading Control Module Register .

Anyone can help me ?Thanks very much.

English is very poor. So  Sorry.