|
Dear All,
I'm using the Wince 6.0 BSP on the SAM9263. I have changed the LCD from the 240x320 16bpp color LCD to a 320x240 16bpp color LCD: I have correctly set the new value on the lcdc.reg as you see below and everything seems good but I have some problems with the refresh (the cursor has the arrow with a black line, when I close the explorer some icons remain visible in the central part of the LCD. Maybe is something related to the 2DGPE, but I have checked that the parameters height and width are correctly setted. Have you some ideas?
Many thanks in advance bob
; Video driver settings [HKEY_LOCAL_MACHINE\Drivers\Display\LCDC] ;the board does have 240x320 16 bpp color LCD - old ; "Width"=dword:F0 ; Screen width in pixel ; "Height"=dword:140 ; Screen heigth in pixel ;the board does have 320x240 24 bpp color LCD - new "Width"=dword:140 ; Screen width in pixel "Height"=dword:F0 ; Screen heigth in pixel ; "Bpp"=dword:10 ; Bit per pixel ; old lcd ; "VRAMWidthInPixel"=dword:100 ; ; "VRAMHeightInPixel"=dword:1000 ;
; new lcd "VRAMWidthInPixel"=dword:1000 "VRAMHeightInPixel"=dword:100 ; ; "VRAMaddress"=dword:23e00000 ; Frame buffer location. "VRAMBusWidth"=dword:20 ; SDRAM has a 32-bits bus width ; "VRAMaddress"=dword:300000
"DisplayPowerClass"=multi_sz:"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}" ; "forceRGB"=dword:1 ; ; old lcd ; "UpperMargin"=dword:1 ; Value for Vertical Back Porch ; "LowerMargin"=dword:0 ; Value for Vertical Front Porch ; "LeftMargin"=dword:0 ; Value for Horizontal Back Porch ; "RightMargin"=dword:20 ; Value for Horizontal Front Porch ; "Vsync"=dword:0 ; Value for Vertical Synchronization ; "Hsync"=dword:4 ; Value for Horizontal synchronization ; "PixelClock"=dword:4BC288 ; The pixel clock wanted
; new lcd "UpperMargin"=dword:11 ; Value for Vertical Back Porch "LowerMargin"=dword:3 ; Value for Vertical Front Porch "LeftMargin"=dword:44 ; Value for Horizontal Back Porch "RightMargin"=dword:14 ; Value for Horizontal Front Porch "Vsync"=dword:1 ; Value for Vertical Synchronization "Hsync"=dword:2 ; Value for Horizontal synchronization "PixelClock"=dword:4BC288 ; The pixel clock wanted
;Signal Polarities : 0 => normal, 1 => inverted "VSyncPol"=dword:1 ; ori Vertical Sync polarity "HSyncPol"=dword:1 ; ori Horizontal Sync polarity "DataPol"=dword:0 ; Data polarity "DEnablePol"=dword:1 ; Data Enable polarity "PClockPol"=dword:1 ; Pixel Clock polarity "PClockMode"=dword:1 ; Pixel Clock mode : 0 => Pixel Clock only active ; during active display period, ; 1 => Pixel Clock always active
[HKEY_LOCAL_MACHINE\system\gdi\monitors] "TOTAL MONITORS"=dword:1
[HKEY_LOCAL_MACHINE\System\GDI\Drivers] "Display"="at91sam9263ek_DDI.dll"
|