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.
Tool/software: Code Composer Studio
Hi,
I am using CCS version 10.1.0.00010 with TivaC EK-TM4C1294XL LaunchPad under Windows 10 x64 professional and I have started to see the following error message quite often:
CORTEX_M4_0: Trouble Reading Memory Block at 0x4000c000 on Page 0 of Length 0x4: Debug Port error occurred.
I found out how to to reproduce this error. Under debugger select to view registers. Then click on UART0 to see all the UART0 related registers. Then try to step through your code and the error shows right away. It's not important which UART is selected.
Any ideas how to fix this?
Thanks,
Sam
Hi Sam,
Is the UART peripheral initialized/enabed? If not, then you will see that error. For example, if you use the uart_echo example from TivaWare, you will see that error as you step through until the below line to enable the UART is executed:
ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);
After that, the debugger will be to access the memory mapped register for the UART and the error message will go away.
Thanks
ki