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/MSP430FR6989: Error: Identifier not found with CCS, and MSP430FR6989

Part Number: MSP430FR6989
Other Parts Discussed in Thread: MSP-EXP430FR6989

Tool/software: Code Composer Studio

Hi TI community,

I have an MSP430FR6989 Launcher (MSP-EXP430FR6989).

I have Code Composer Studio 6.1.0

I am testing a small code related to the while loop

#include <msp430.h> 



int main(void)
{
    char x = 0;
    char y = 0;

    while(x<10)
    {
    	y = x+y;
    	x++;
    }

    while(1);
	
	return 0;
}

I build the project, and debug it, in the variable window I can only see variable x (image below).

When I highlight y, and add it to the watch window, I clicked on "Add Watch Expression", and at the expression it says Error: Identifier not found (image below).

 

Kindly help me on this matter.

 

Thank you in advance.

 

Forat