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.

CCSv5 Getting Started Guide errors

Hello.  I am working through the Getting Started wiki and have run into an issue in debugging.

In Launching the Debugger in Debugging Projects, I get the following errors:

CORTEX_M4_0: Trouble Writing Memory Block at 0x80002000 on Page 0 of Length 0x33e: Debug Port error occurred.
CORTEX_M4_0: GEL: File: C:\Users\cbuskell\workspace_v5_1\Test_Project_1\Debug\Test_Project_1.out: Load failed.

The Getting Started Guide was designed with a different dev board than the one I'm using (EKS-LM4F232H5QD), so I've had to modify the procedure for this situation. 

What do these errors mean, and how do I correct them?

Thanks for your time.

-Cam

  • Hi Cam,

    could you please provide a bit further information/help us narrow down the issue here.  What guide did you follow and how did you change things for your hardware?  What emulator do you use and have you verified that the emulator is working as expected?  (ie drivers installed, verified on another board/target in the case you are not using a built in emulator/ICDI interface)

    Best Regards,
    Lisa

  • Cam,

    The error message says you are trying to write to memory address 0x80002000, which according to the device's datasheet it is not mapped to anything.

    One of the possible reasons for this to happen is if the linker CMD file is not appropriate for the device you are using. Can you check if your project has a file named <lm4f232h5qd.cmd>?

    Hope this helps,

    Rafael

  • Hi Rafael.

    Yes, lm4f232h5qd.cmd is present in my project.

    Would the command linker file, downloaded from the guide, be causing issues here?  It looks like it's for a C6000 device. 

  • Cam,

    Yes, that would cause errors during loading. If you have the <C6748.cmd> file added to your project, please remove it and replace it with the <lm4f232h5qd.cmd>.

    As you mentioned, the Getting Started Guide uses the C674x simulator, which is a completely different beast.

    In step 7 of the page Creating projects there is a remark about the use of other devices - I will add one more remark that covers the case where existing files are already supplied with CCS (case of all microcontrollers and, as of CCSv5.2, all devices).

    Cheers,

    Rafael