MSP430FG4619 with Nokia 6610 LCD

I just received the evaluation board for MSP430FG4619. The unit works perfectly with the firmware already programmed into it, but when I tried to compile and load the demonstration code (using IAR 3.42) that’s available on the website, I couldn’t get that board to work the way it should have. Of the available modules all I am able to do is to read the accelerometer output. But when I try to display the ball on the screen or infact try to run any routine on the screen, I see nothing. I wonder if there is something wrong with the code or if I am doing something wrong…

I have been trying to get the evaluation board for MSP430FG4619 to work also. However, I have been using msp430-gcc (3.2.3). I don’t have IAR. I haven’t been able to get the LCD working either. The interrupt routine to turn off and on the back light works and I am able to step though the code execution with gdb. I have successfully got the LCD to work on the AT91SAM7X256 with gcc.

Mspgcc found some problems with the code. The r and c variables (in main.c that holds the row and column information) and the return value from mmcGetXXResponse (in mmc.c) were signed causing comparisons in if statements to always be false (at least for mspgcc).

Although all the code seems to be in the zip file on their website, the while loop in main looks like it only runs the accelerometer ball demonstration. The preprogrammed demonstration that ships with the board shows a menu at boot up that you select with the joystick which demo to run. Because of the inconsistency with how main is setup and the problems with the LCD, I don’t think this is the final version of the code that ships with the board. I hope Olimex proves me wrong and can help us get the LCD working on these boards.

MaxAmp:
I have been trying to get the evaluation board for MSP430FG4619 to work also. However, I have been using msp430-gcc (3.2.3). I don’t have IAR. I haven’t been able to get the LCD working either. The interrupt routine to turn off and on the back light works and I am able to step though the code execution with gdb. I have successfully got the LCD to work on the AT91SAM7X256 with gcc.

Mspgcc found some problems with the code. The r and c variables (in main.c that holds the row and column information) and the return value from mmcGetXXResponse (in mmc.c) were signed causing comparisons in if statements to always be false (at least for mspgcc).

Although all the code seems to be in the zip file on their website, the while loop in main looks like it only runs the accelerometer ball demonstration. The preprogrammed demonstration that ships with the board shows a menu at boot up that you select with the joystick which demo to run. Because of the inconsistency with how main is setup and the problems with the LCD, I don’t think this is the final version of the code that ships with the board. I hope Olimex proves me wrong and can help us get the LCD working on these boards.

You have to remember per C99 standard, the characteristics of a char are chosen BY THE COMPILER DESIGNER… It is up to the programmer to look into the limits.h (Iar doesnt explicitly list it here, they refer to an internal variable) to find out what the range of the variable is…

GCC for the 430 is only c89 compliant and I’m not sure what the rule was back then…

Aq430 (quadravox) defines a char by default as an 8bt signed

Crossworks (rowley) defines a char as 0-255 for an 8bit unsigned as default.

According to the IAR documentation a char is 0-255 like crossworks…

for iar from the manual

The char type is by default unsigned in the compiler, but the --char_is_signed

compiler option allows you to make it signed. Note, however, that the library is compiled

with the char type as unsigned.

Did some additional checking… CCE also treats char by default as unsigned, so MSPGCC/Aq430 are the ones that vary from what Ti uses as standard…

Hi all,

I’ve got also this kind of board. My board is shipped with LCD type GE8 and the example Olimex sources for GE12!!! So if you can see GE8 text on the display, you won’t see anything on the display if you use the sources from Olimex’s homepage!

Here is a sample project which can handle the GE8: http://dev.ivanov.eu/projects/msp430-46 … index.html

Good luck!

Note: the sources are updated now on Olimex’s page…