Device Drivers in wince 5.0 RRS feed

  • Question

  • Hi

    Im a Beginner and I dont know much about device drivers except sum functions like open,close,read,write,ioctl.I want to write a display driver.Can anyone please help me?

    Thursday, December 23, 2010 10:36 AM

All replies

  • Can you provide details like Which wince BSP are you using?

    Which processor?


    You need to write kernel driver or in bootloader ?

    Is this a custom driver for specific operation ?




    Thursday, December 23, 2010 10:43 AM
  • if you want to develop GDI Display driver see the following mdsn link



    if you want to develop DirectDraw display driver see the following msdn link

    Thursday, December 23, 2010 10:47 AM
  • I use wince 5.0 bsp and PXA255 and need to write in bootloader
    Thursday, December 23, 2010 11:08 AM
  • If you are doing it in the bootloader, it isn't a "driver" so much as it is just code that controls the display.  What display controller are you using?

    BTW, I hope that this is just a learning exercise since the PXA255 is end of life.

    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG

    Eurotech Inc.
    Thursday, December 23, 2010 1:31 PM
  • In Boot loader you need to configure the Display sub system for the display resolution you are using. Configure other display sub system settings as per the data sheet (scaling, sync pulse, clock setting, input format etc) to display the image onto the screen.


    Create a frame buffer, copy the image into the frame buffer. Display sub system should know the address of the frame buffer.



    Thursday, December 23, 2010 1:48 PM