Hi,
I am using MSP430 launchpad and CCS 6 to program MSP430F2011. I am interested in using the launchpad emulator to program the microcontroller on my PCB. I am using J4 pins to connect VCC, GRD, TEST and RST pins of the launchpad to my PCB. To do this, I open jumper connection of TEST and RST on J3. Below is a snapshot of the microcontroller and its components on my PCB.
I am running a very simple blink LED to test my connections.
#include <msp430F2011.h>
int main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
P1DIR |= 0x01; // Set P1.0 to output direction
for(;;) {
volatile unsigned int i; // volatile to prevent optimization
P1OUT ^= 0x01; // Toggle P1.0 using exclusive-OR
i = 10000; // SW Delay
do i--;
while(i != 0);
}
return 0;
}
The 4 signals (VCC, GND, TEST, and RST) are send correctly to the PCB. However, I keep getting the following error:
Error connecting to the target
Could not find the device(or device is unsupported).
Does anyone know what I am doing wrong?
Thanks a lot,