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.

Run and step buttons grayed out when debugging.

Other Parts Discussed in Thread: LM3S2965

I am using Code Composer v. 4.2.1 with a Stellaris LMS2965 eval board.  I have an application that successfully builds and runs on my desktop using the evaluation version of Code Composer.  I want to move the project to a laptop with the licensed version of CC.  The code compiles fine (no errors or warnings) but when I go to debug, the run and step buttons are grayed out.  I made sure I am in the "Debugger View".  When I "Halt" the program, I get the message "0 <symbol is not available> 0xd3020830" in my Debug tab.  In the disassembly tab, all the addresses show a value of "???????".  My main program starts at address 0x0000474.  I am pretty new to this so I am not sure what to do from here.

Thanks.

  • Another note: I disabled the run to main option under the generic debugger options and tried various breakpoints.  With this approach, the run and step buttons are available but as soon as I click one, I get the same problem (i.e., the program appears to stall and when halt gives the "symbol not available" message).  It does not seem to matter where I put the breakpoint.  I tried putting it at main and several steps into the program.

  • Final note: I was finally able to get the program to run as I wanted.  Turns out I did not have the "startup_ccs_c.c" file explicitly added to the project on the laptop (rookie mistake I guess).  For my desktop project, I did not have to explicitly add this file.  My code was part of the workspace that had all of the Stellaris LM3S2965 examples.  Is there some setting that adds the startup file for you?

  • Thanks for posting an update on what fixed the behavior you were seeing, it will be helpful for others in the future.

    Corey Paye said:
    Is there some setting that adds the startup file for you?

    There isn't a setting that adds the startup file. If you create a new project from scratch, you would need to add this manually. In some cases, users start with one of the Stellarisware examples and modify it to suit their needs, in which case this file will already be part of the project.