SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on how to get your MSP JTAG programmer up and running.
By baldwin
#95474
I'm looking for a hello world program for the MSP430-4619LCD.

Best,
-Keith
By baldwin
#95509
As a 1st step, I've been able to compile and download the MSP-4619-LCD_GE8 project you referenced using the IAR dev environment.

Unfortunately, when I called LCDWriteChar to type "hello" on the LCD nothing happened.

It looks like the function is not defined for the GE8 LCD. Any help you could offer would be greatly appreciated.

Best,
-Keith

Here are my calls to LCDWriteChar:
LCDWriteChar('h',0x10,0x17,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('e',0x20,0x27,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('l',0x28,0x2F,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('l',0x30,0x37,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('o',0x38,0x3F,0x10,0x1f,0x0070,0x01EF);

Here is the template for the LCDWriteChar function contained in \MSP-4619-LCD_GE8\LCD.c

void LCDWriteChar(unsigned char Ascii,
unsigned char xb, unsigned char xe,
unsigned char yb, unsigned char ye,
unsigned short FG_Colour, unsigned short BG_Colour) {

#ifdef GE12

GE12 code is here ...

#else

The else is empty...

#endif

}
By gm
#95541
Unfortunately I don't have your board. I did download the code and compiled and the LCDWriteChar() function is an empty function due to the #ifdef statement so it doesn't surprise me that nothing gets displayed. You might want to try the code on this page. It looks like his code is for the GE8 display and I looked at that function and it does not have the #ifdef statement so it should work.

HTH,

gm
By baldwin
#96353
So here is the response I got from OLIMEX.

From: OLIMEX Ltd Support [mailto:support@olimex.com]
Sent: Tuesday, March 16, 2010 2:33 AM
Subject: Re: MSP-4619-LCD_GE8

Hi
this is demo software with no ambitions to be complete, the major purpose is to show that the hardware is running in good order
I hope you understand that we can't address such software issues, we just provide the hardware, the development work is done by our customers
Best regards
Tsvetan / Olimex