Today I found one of my two launchpads doesn't work. I'm stepping through the following code using CCS5:
void Setup()
{
// Stop watchdog timer
WDTCTL = WDTHOLD | WDTPW;
// Setup main clock to 1MHZ
BCSCTL1 = CALBC1_1MHZ;
DCOCTL = CALDCO_1MHZ;
// Enable interrupt
__bis_SR_register(GIE);
P1DIR |= LED_PIN;
P1OUT |= LED_PIN;
It's working until the line P1DIR, all I got is the following message in CCS console:
MSP430: Trouble Reading Memory Block at 0x3fc on Page 0 of Length 0x2: Could not determine device state
I unplug the the same chip and put onto another board, and things are working without any issues. Does this mean any hardware issue with the debugger board?
Thanks