Hi
I am trying to define the address of control register for port c:
#define UART1_CTL_R (*((volatile unsigned long *)0x4000D030))
When i am debugging it is showing 'no read permission at 0x400D030'
Can anyone please help?
Thanks
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.
Hi
I am trying to define the address of control register for port c:
#define UART1_CTL_R (*((volatile unsigned long *)0x4000D030))
When i am debugging it is showing 'no read permission at 0x400D030'
Can anyone please help?
Thanks
Hello Nabila,
First of all the 'no read permission at 0x400D030' looks to be a typo as it is only 7 nibble wide. Secondly have you made sure that the Clock to UART-1 is enabled.
Regards
Amit