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.

No .out file could be found when debugging in CCS

Other Parts Discussed in Thread: MSP430WARE

I am simply just trying to debug code I've written to blink an LED on a TI Launcphad MSP430G controller.  A pop-up apperas with the following text when I'm trying to debug:

Load program Error.

Encountered a problem loading file G:\Filepath\File.out.  Could not open file.

The CDT Build Console outputs the following:

**** Build of configuration Debug for project Assignment #1 ****

"C:\\Program Files\\TI\\ccsv5\\utils\\bin\\gmake" -k all
makefile:115: *** missing separator. Stop.

**** Build Finished ****

  • Hi, 

    A screenshot would be helpful. Secondly, the code is a sample code or a custom one?

    Regards,

    Gautam

  • The code is also shown in the screenshot.  It is from the Blinking LED tutorial available on the online wiki.

  • You are getting a "load program" error because your build failed and the program was never generated. Hence the debugger can't find the program. You need to resolve you build error.

    If you can attach the the project you are trying to build, that would be helpful.

    Thanks

    ki

  • Here is the C file:

    #include <msp430.h> 
    
    long int i = 0;
    
    int main(void) {
    	WDTCTL = WDTPW | WDTHOLD;	// Stop watchdog timer
    
    	P1DIR |= 0x01;
    
    	for (;;)
    	{
    		PIOUT ^= 0x01;
    
    		for (i = 0; i < 7500; i++);
    
    	}
    
    	return 0;
    }
    

    If the build did fail, then why would the CDT console output that the build finished?  The first post on this thread contains the ouput of the console when I try to debug the C file I attached to this post (it is the same C code from the screenshot above).

  • Norberto Sanchez Dichi said:
    If the build did fail, then why would the CDT console output that the build finished?

    It's a bit misleading. Basically the build action finished completing and the result was a failure.

    It's not the C file that is needed but your whole project folder. And also provide what exact version of CCS you are using and what version of the build tools.

  • I am using CCS 5.5 on Windows 7.  I uploaded the whole project folder onto dropbox, here is the link:

    https://www.dropbox.com/sh/x92i1erkd3aoru5/EeetbpDs9d

  • Hi,

    Try importing projects from MSP430WARE:  http://www.ti.com/tool/msp430ware

    Regards,

    Gautam

  • Gautam,

    I imported and debugged example code from MSP430WARE successfully.  Yet, I still don't understand why my own code won't debug?  

  • Hi Norberto,

    There is a certain way you need to build a project. This is where you're facing issues. It would be easier for you if you have a base sample project for your own implementations. 

    Regards,

    Gautam

  • I think I found the problem.  My project name had a pound sign in it - I guess CCS doesn't like that because I can now upload my code onto my launchpad

  • Good to know you found the issue.

    Congrats and Cheers,

    Gautam