I have been using this launchpad for the past month and it worked fine. I wanted to test some code for the UART channel (shown below) and all my code does is initialize EUSCI_A to UART on pins 1.1 and 1.0 with the below interrupt. IT was working fine without the transmitData line. Now I can no longer program the MSP and receive an error: MSP430: Error connecting to the target: Unknown device.
void EUSCI_A0_ISR(void)
{
switch(__even_in_range(UCA0IV,USCI_UART_UCTXCPTIFG))
{
case USCI_NONE: break;
case USCI_UART_UCRXIFG:
RXData = EUSCI_A_UART_receiveData(EUSCI_A0_BASE);
EUSCI_A_UART_transmitData(EUSCI_A0_BASE, RXData);
break;
case USCI_UART_UCTXIFG: break;
case USCI_UART_UCSTTIFG: break;
case USCI_UART_UCTXCPTIFG: break;
}
}