This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: LCD on EP7211


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]