[ECOS] LCD on EP7211

Wilson Kwan wilson@kinesphere.com
Wed Jan 31 15:10:00 GMT 2001


Hi Lewin,

Thanks for the quick response.


> The sample code in eCos works A-OK for me (I am using the 7212, but it's
> the same board). Are you 100% certain you have initialized your pointer
> correctly? I tested initially using the Alps grayscale 640x240 LCD and now
> I've interfaced a color QVGA LCD, which is working great! (with tweaking,
> of course).

Do you mean the pointer to the lcd base address? It is set to 0xc0000000.

> However I did see some weird behavior with the lcd_printf routine (bad
> characters, garbage characters). Try commenting out all the places in the
> LCD test source that write to display memory; just call that file to init
> the LCD registers. Then try your manual memory write.

That is exactly what I did. I initialized the LCD and then I wrote a byte to
the display buffer. Result: HANG. I even tried to write to the display
buffer before doing the LCD init and still HANG. Could you send me your init
routine so that I can compare it with mine.

Thanks...
Wilson



More information about the Ecos-discuss mailing list