All Forums
 Hardware
 Displays
 GCX incorrect Bitmap display
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ksadowski

3 Posts

Posted - 23 Oct 2007 :  12:53:34  Show Profile
I'm in the process of porting code from GC+ to GCX. The code is ported and operational, unfortunately, I find some of the bitmaps don't display correctly. The bitmaps have pink pixels in place of some of the gradients. I've displayed the image test patterns (topic.asp?TOPIC_ID=389) and they seem to display correctly except for a pink line in the grayscale gradient in color_bar_test_pattern.bmp.

I then put a bitmap with two vertical gray bars (0x848284 on the left and 0x7b7d7b on the right). When displayed on the GCX screen I get a pink line where the two gray colors meet. I've swapped displays and cables, but the pink line stays. I've also tried jpeg's and gif files, tried 8 and 16 bit display, all with the same result.

I used Remote Zoomin to view the image buffer, but that appears correct.

Has anyone else seen this problem?

Board: GCX
OS: WinCE 5.00.10 GCX_Core
Screen: LQ4D343

jjoseph

47 Posts

Posted - 23 Oct 2007 :  15:30:48  Show Profile
Thank you for your message.

A slight tweaking of the settings in your adsload.hwt file should address this problem.

In place of the lines:
;0x4400000C 0x04300001 ;LCCR3, 16BPP
0x4400000C 0x03300001 ;LCCR3, 8 BPP

Insert the lines:
;0x4400000C 0x04700001 ;LCCR3, 16BPP
0x4400000C 0x03700001 ;LCCR3, 8 BPP

Boot with the updated adsload.hwt file on your CF card and check the bmp file again.
Go to Top of Page

ksadowski

3 Posts

Posted - 24 Oct 2007 :  10:30:13  Show Profile
That worked great!

What did that change do anyway? Are those registers documented somewhere?

Thanks for your help.
Go to Top of Page

jjoseph

47 Posts

Posted - 24 Oct 2007 :  12:15:59  Show Profile
The registers are defined in chapter 7 of the Intel PXA255 Developer's manual.

The change was to update which pixel clock edge to use. I'm afraid the details are somewhat more involved than could be discussed here.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000