Hello,
I have written a very simple code built on top of the blinking led example code included in CCS v5.3.0.00090. It creates a global char array with the string "Hello World" on it, and it then copies the string using strcpy to another global char array. After that, it just blinks the LED. This code works when I run the debugger on the Launchpad with an MSP430G2553, but when I try to debug it on an MSP430FR5969 using the MSP-TS430RGZ48C rev 1.1 board and an MSP-FET430UIF, it does not work. It seems to never enter the main function since it never let's me single step the device. If I hit the suspend button, it gives me an error: Can't find a source file at "/tmp/TI_MKLIBaXqLbT/SRC/copy_decompress_rle.c"
Any idea on what's happening?
Thanks!
#include <msp430.h> #include <string.h> char helloWorld[] = "Hello World"; char helloWorldCopy[20]; int main(void) { strcpy(helloWorldCopy, helloWorld); 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; }