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.

Code Composer Problems

I have deleted the complete CC studio and reinstalled it about six times in the last few days.  I shut it down, when I start up and try to debug the code I get the Load Program Error "Encountered a problem loading file; C:\

documents and Settings\Gil\workspace_v6_1\Blink The Led.out Could not open file.

If I do a new install it works a few times and I get the error.  There are no errors shown except this one.  The code is as follows:  It has compiled and run several times.  If I make a change or so it gives me that error.  Undoing the change and/or inserting new code I get the same error.

This problem is consistent.  It updated about an hour ago,  the problem remains.  I have had no system errors on this machine and other compilers work ok.

How do I fix it or do I go to another product?

//***************************************************************************************

//  MSP430 Blink the LED Demo - Software Toggle P1.0

//

//  Description; Toggle P1.0 by xor'ing P1.0 inside of a software loop.

//  ACLK = n/a, MCLK = SMCLK = default DCO

//

//                MSP430x5xx

//             -----------------

//         /|\|              XIN|-

//          | |                 |

//          --|RST          XOUT|-

//            |                 |

//            |             P1.0|-->LED

//

//  J. Stevenson

//  Texas Instruments, Inc

//  July 2011

//  Built with Code Composer Studio v5

//***************************************************************************************

#include <msp430.h>

// Delay Function

        doit( int x )                     // Time is passed as X

        {

      volatile unsigned int i;            // volatile to prevent optimization

 

      do i = i-1;                               // Decrement by i

      while(i > 0);                             // until zero is reached

      return ;       }                    // Finished nothing to return

 

int main(void) {

      WDTCTL = WDTPW | WDTHOLD;           // Stop watchdog timer

      P1DIR |= 0x41;                            // Set P1.0 to output direction

 

      for(;;) {

            volatile unsigned int i;      // volatile to prevent optimization

 

        doit(30);

            P1OUT ^= 0x00;                      // off

 

            doit (20);

            P1OUT ^= 0x40;                      // Red On

 

            doit (3);

            P1OUT ^= 0x01;                      // Red Green On

 

            doit (30);

            P1OUT ^= 0x40;                      // Green On

 

            doit (30);

            P1OUT ^= 0x01;                      // Red and green On

 

return 0;

}