Part Number: MSP430G2231
First of all, thank you for having interest of my thread..
I'm studying Microcontroller with MSP430G2231 IC which is quite old-fashioned.
I tried to apply a simple below code. (LED blinks normally and stops when button pushed)
int main(void)
{
WDTCTL = WDTPW | WDTHOLD;
P1DIR |= 0x01;
P1DIR &= 0x08;
P1REN |= 0x08;
P1OUT |= 0x08;
for(;;)
{
volatile unsigned int i;
P1OUT ^= 0x01;
i = 50000;
do(i--);
while(i != 0);
while(!(P1IN & 0x08));
}
return 0;
}
At 'Build Project' process, Console prints below warning messages, but build was completed somehow.

At 'Connect Target' process, the error message occurs.

Here's the disassembly code of pointed address, "0xf822".

Did the error occur just because the MCU IC is too old to be applied recent-version software?
Or is there any problems? If there is, can the problems be solved by interpret disassembly code above?