MSP430F413STK2 Example program

Does someone have a small program that I can download to this kit using the JTAG interface from the IAR kickstart IDE? I am just learning the ropes and I am getting errors when I compile/make the example program from Olimex’s website.

Also, there isn’t much information on the kit itself for an extreme beginner. The only information I can find about the two two jumpers on the board are that they are ‘TEST pin pull-down’ and ‘RST/NMI pin pull-up’. Is there any documentation that explains in detail the hardware of the kit for a newcomer?

Any suggestions on where a beginner like me should start getting to know this kit better?

Thanks,

Joseph

I am still on the startiting line to get something working on the MSP430F413STK2 kit. So far I am pretty disappointed and surprised that there isn’t anyone out there who has a working piece of code to share :frowning:

Anyways, here’s something I was trying to do. To make the LED on the board blink. The documentation says the LCD is connected to P6.2. Can someone tell me if there’s something wrong with this code? I am able to compile, make and download the program successfully from IAR kickstart IDE, but the LED is not blinking.

#include <msp430x41x.h>

void main(void)

{

WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer

P6DIR |= 0x03; // Set P6.2 to output direction

for (;:wink:

{

volatile unsigned int i;

P6OUT ^= 0x03; // Toggle P6.2 using exclusive-OR

i = 50000; // Delay

do (i–);

while (i != 0);

}

}

Well… I got some help from the MSP430 group on yahoo. Here’s the corrected program to blink the LED. As I progress to the LCD display, I will post more code here. Any active programmers here at all? Just curious…

#include <msp430x41x.h>

void main(void)

{

WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer

P6DIR |= 0x04; // Set P6.2 to output direction

for (; ; )

{

volatile unsigned int i;

P6OUT ^= 0x04; // Toggle P6.2 using exclusive-OR

i = 50000; // Delay

do (i–);

while (i != 0);

}

}