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.

EKS-LM4F232 blinky project ported to CCS5.1 with no modifications

I have ported the EKS-LM4F232 blinky project to CCS5.1.  It compiles and runs as expected.  This may be a CCS or a StellarisWare issue.  I am confused about several issues:

1) During load I get the following warnings.  What are they about? 

CORTEX_M4_0: Trouble Reading Memory Block at 0x400043fc on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004400 on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004404 on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004408 on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x4000440c on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004410 on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004414 on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004418 on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x4000441c on Page 0 of Length 0x4: Debug Port error occurred.

CORTEX_M4_0: Trouble Reading Memory Block at 0x40004420 on Page 0 of Length 0x4: Debug Port error occurred.

2)  I can open the register window and look at Core Registers and WatchDog0, but all other registers have values of "Error: unable to read".  A debugger that does not allow you to look at the registers has a serious defect.  What is going on with this?

  • I seem to have answered the question from another thread.  The above issues seem to occur for the same reason.  The registers are not available until the program enables their respective components.  Once my program enabled them, the CORTEX_M4_0 errors did not happen.  Seems like the Stellaris SysCtlPEripheralEnable function is a better way to go.