Re: LCD Display problem
- From: Paul, Chao <PaulChao@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 03:45:02 -0700
Are you sure the splash is displayed correctly? If the splash is the same
color in the last rows, maybe you can't identify the pixel lost. The clear
way is to draw some vertical straight line in your splash and observe where
is the line to be slanted or not.
You can use the below code to draw a outlet box in WindowsCE to check the
framebuffer linearity. The wincesnapshotjx1.jpg looks like lost 1-2 pixel
every row in last 1/3 screen. If my guess is right, the initialize parameter
maybe some missed.
HGDIOBJ hBrushObj, hPenObj;
ghDC = CreateDC(TEXT("DISPLAY"), NULL, NULL, NULL);
hBrushObj = SelectObject(ghDC, GetStockObject(NULL_BRUSH));
hPenObj = SelectObject(ghDC, GetStockObject(WHITE_PEN));
Rectangle(ghDC, 0, 0, 240, 320);
Paul, Chao @ Techware
Thanks T Pandey for your positive response,
"Do you think the kernel is getting the image it wants to splash o to
the screen? "
Even I have the same question.
The LCD initialization is as per provided by LCD provider. And if you can
look into the image, its normal. Even the splashscreen when it boots is also
normal, no slantness anywhere.
"You are saying only the taskbar problem but it is upside down also.Is
this as desired? "
Its not Upside down, the snapshot is such, you have to rotate the link image
to 180* to view it correctly.
"Look for display controller initialization in your lcd driver. "
Yes, I am looking into the Display Driver Initialization. But what I am
thinking is if there is some problem with the display controller
initiallization then the splashscreen bottom part should also be slanted,
it is displayed straight. Kindly correct me if I am wrong at any place?
Hve a Good day ahead..
On Oct 18, 2:34 am, Ankur <An...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I am using ILI9325 a-Si TFT LCD with 240RGBx320 Resolution. The host
controller is samsung s3c2412 processor.
After doing require modification in eboot and commenting the
reinitialization of LCD in SMDK2412\Src\Kernel\Oal\init.c under OEMInit
function. While booting it shows clean image of samsung logo and when
explorer starts it looks like followinghttp://img508.imageshack.us/my.php?image=wincesnapshotjx1.jpg. If one look
into the above image, the desktop image is displayed perfect but the taskbar
only is slanted. Can someone suggest where can be the problem exists
a) In the LCD driver ?
b) In the kernel where it displays the taskbar ?
Help is highly appreciated.
Hve a Good Day.
Do you think the kernel is getting the image it wants to splash o to
I mean if you initialized the LCD controller properly as per
You are saying only the taskbar problem but it is upside down also.Is
this as desired?
Look for display controller initialization in your lcd driver.