Hi,
I'm trying to get my custom at91sam9263 board to run an 800x600 display. I've changed the registry settings to what I think should be the correct values, however when WinCE starts up I get a lot of errors of the form:
Code:
Exception 'Data Abort' (4) Thread-Id=01f...
I'm guessing it's got something to do with the way I've set up the video RAM. Is there something else I need to do as well as changing the address in the registry? I've attached my lcdc.reg file:
Code:
[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
"Angle"=dword:5A
; Video driver settings
[HKEY_LOCAL_MACHINE\Drivers\Display\LCDC]
;800x600x16
"Width"=dword:320 ; Screen width in pixel
"Height"=dword:258 ; Screen heigth in pixel
"Bpp"=dword:10 ; Bit per pixel
"VRAMWidthInPixel"=dword:1000 ; Frame buffer width in pixel (must be at least screen width value and also must match the 2DGE settings. keeping it aligned on 4 bytes allows not to care about the later)
"VRAMHeightInPixel"=dword:400 ; Frame buffer heigth in pixel (must be at least screen height and more than twice for directdraw)
"VRAMaddress"=dword:23800000 ; Frame buffer location. Here allocate the video memory in SDRAM
"VRAMBusWidth"=dword:20 ; SDRAM has a 32-bits bus width
; "VRAMaddress"=dword:300000 ; allocate the video memory in SRAM
; "VRAMBusWidth"=dword:20 ; SRAM has a 32-bits bus width
; "VRAMaddress"=dword:70000000 ; allocate the video memory in external PSRAM
; "VRAMBusWidth"=dword:10 ; external PSRAM has a 16-bits bus width
"DisplayPowerClass"=multi_sz:"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
; "forceRGB"=dword:1 ; uncomment this line if you want to use DirectDraw,
; be careful, the color will be shifted
"UpperMargin"=dword:19 ; Value for Vertical Back Porch
"LowerMargin"=dword:1 ; Value for Vertical Front Porch
"LeftMargin"=dword:58 ; Value for Horizontal Back Porch
"RightMargin"=dword:28 ; Value for Horizontal Front Porch
"Vsync"=dword:3 ; Value for Vertical Synchronization pulse width
"Hsync"=dword:80 ; Value for Horizontal synchronization pulse width
"PixelClock"=dword:2625A00 ; The pixel clock wanted
[HKEY_LOCAL_MACHINE\system\gdi\monitors]
"TOTAL MONITORS"=dword:1
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="at91sam9263ek_DDI.dll"