From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wilson Kwan" To: "Lewin A.R.W. Edwards" Cc: Subject: Re: [ECOS] LCD on EP7211 Date: Wed, 31 Jan 2001 15:10:00 -0000 Message-id: <006c01c08bdb$2c1caf70$0b02a8c0@r2d2> References: <4.3.2.7.2.20010131174437.00aa1100@larwe.com> X-SW-Source: 2001-01/msg00509.html 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