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/MSP430F5529: Example projects not running properly

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hi,

I'm new to CCS, using it as part of a college course. I'm having problems running the example projects from the resource explorer. I'm trying to run the TI-RTOS for MSP430 - v 2.20.00.06 > Kernel Example > Hello Example. 

I import the project to my IDE, and it builds fine. When I begin debugging, I get a message in the debug window that it's running, but I never see any hello world output. When I try to step through the assembly, it says "source not found" and no symbols are defined. I've googled for hours trying to figure this out and I'm really frustrated. What in the world am I doing wrong?

Thanks.

  • Hi Scott,

    You are trying to step into a library that was built on TI's Linux servers (thus the strange location). This can occur if you pause the target and you happen to be in one of the libraries. You can either
    1. Rebuild the library that included the source code you are trying to step in to. Refer to the TI-RTOS User Guide of instructions on rebuilding.
    2. Navigate to the source file. You can ignore the beginning of the suggested path and replace it accordingly (e.g. c:\ti\tirtos_msp43x_20_00_06 instead of /db/vtree/zuma_blah_blah).
    3. Ignore it if you don't need to step through the library code.

    Todd
  • Hey Todd,

    I ended up uninstalling CCS 8 and installing CCS 6. For some reason, it works fine now. When I was trying to figure out CCS8, I took this screenshot of my work environment:

    It never told me which source was the problem, it only showed in the title bar that a source was missing. I'm sure this was a case of operator error. Anyways, thanks for the reply. 

    Scott

  • I have the exact same problem. The RTOS getting started guide uses CCS6 to show what steps to perform for a rebuild. I just can't figure out what is it that I'm getting wrong. I did a clean and rebuild the project, but still the same.

  • I never got it to work with CCS8. For me, downgrading to CCS6 was the best solution.

  • Thanks for the reply Scott. I think I've figured out the solution:

    through this thread:

    So apparently:

    "Per default watchdog timer on all MSP430 is set to active after startup. Therefore it is necessary to turn off the WDT if not needed right at the beggining of the application code. If the application code is using large variables which are needed to be initialized during startup, this could cause that the watchdog timer already fires during startup and the code will never be run."

    Turning the option to "off" resolved the issue. Hope this helps future CCS8 users.

    EDIT: More specifically in Project Properties (alt-enter in project explorer) >> MSP430 Linker >> Basic Options >> Set "Hold Watchdog timer during auto-initialization (--cinit_hold_wdt)" to "off"