This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: LCD on EP7211
- To: "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Subject: Re: [ECOS] LCD on EP7211
- From: "Wilson Kwan" <wilson at kinesphere dot com>
- Date: Wed, 31 Jan 2001 18:11:41 -0500
- Cc: <ecos-discuss at sources dot redhat dot com>
- References: <4.3.2.7.2.20010131174437.00aa1100@larwe.com>
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