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.

CCS/EVMK2H: When I debug i cant step through

Part Number: EVMK2H


Tool/software: Code Composer Studio

I have a project that compiles but when i try and debug the debug options for stepping through the code are missing, just the stop button can be seen. there are no compilation issues, I have no other breakpoints other than one in main, the arrow that points the current running line isn't shown. I have successfully debugged another project but that one was an RTOS project, meaning i can step through the code. Is there a general guide to follow some where, what should i post to resolve this issue?

  • Hi,

    The behaviour you describe is heavily dependent on how the project was created (it may have invalid or misplaced code that locks the device) and how the debugger was launched (there are many configurations that may influence this particular behaviour).

    I can't see a document that explicitly explains the process step-by-step to properly configure the debugger for this particular board. You then have to follow the procedure below:

    First of all, create a Target Configuration File by following the general guidelines shown in the reference below:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Setup_CCS

    For this particular board, you have to add an appropriate GEL file to properly initialize the HW, as mentioned in the following post:
    e2e.ti.com/.../2453934

    At this point you have a sound debugger configuration. However, depending on how you created your project it may be allocating code to invalid memory regions. In this case I suggest you to start with an example project, as they will be properly pre-configured to do this task.

    Hope this helps,
    Rafael