Dear Friends all over the world,

The CPU-interface LCD has it's internal GRAM and is accessed by only
data bus. I'm thinking about to design the device driver for that
kinds of LCD.


I wonder if there's someone else has done this before, or there's
already sample driver from Microsoft.

Thanks in advance!

Best Regards,

Michael from China, HangZhou

Re: How to implement the display driver for CPU-interfaced LCD? by Michel

Michel
Sun Apr 20 20:55:57 PDT 2008

Hi Michael,

Please do not post the same question *separately* to different NG's. If
you want to crosspost that's fine, just create *one* message with the
NG's you want to post to listed in various To: fields (just as you would
sent *one* email to multiple addresses using multiple addresses in the
To, CC, or BCC fields). If you don't do that a lot of questions will be
left unanswered if for instance I respond in this NG but not again in
the other (like I am doing now).

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

chinesekongfu wrote:
> Dear Friends all over the world,
>
> The CPU-interface LCD has it's internal GRAM and is accessed by only
> data bus. I'm thinking about to design the device driver for that
> kinds of LCD.
>
>
> I wonder if there's someone else has done this before, or there's
> already sample driver from Microsoft.
>
> Thanks in advance!
>
> Best Regards,
>
> Michael from China, HangZhou
>

Re: How to implement the display driver for CPU-interfaced LCD? by Valter

Valter
Mon Apr 21 00:37:04 PDT 2008

chinesekongfu <haigang.xu@gmail.com> wrote in news:7e8caaeb-cb66-4a68-
807c-acd0dd74dcef@y22g2000prd.googlegroups.com:

> Dear Friends all over the world,
>
> The CPU-interface LCD has it's internal GRAM and is accessed by only
> data bus. I'm thinking about to design the device driver for that
> kinds of LCD.
>
> I wonder if there's someone else has done this before, or there's
> already sample driver from Microsoft.

There are various samples for different CPU architectures. One of the
simplest is the VGAFLAT sample. You can find it inside the WINCEXXX
\PUBLIC\COMMON\OAK\DRIVERS\DISPLAY directory.
If your display controller uses a flat frame buffer and provides no
graphics acceleration through some kind of GPU, you can use the
already provided GPE implementation and add only the code needed to
allocate your frame-buffer (if you have dedicated grapics RAM you'll
have to map it) and initialize the LCD controller to support the
frequencies, color depth etc. needed to support the LCD panel you'll
connect to it. It's a good idea to put those parameters inside the
registry if you need to support different kind of LCD panels. In this
way you'll not need to change the driver source each time you need to
support a different panel.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: How to implement the display driver for CPU-interfaced LCD? by mccartyn

mccartyn
Mon Apr 21 17:09:56 PDT 2008

I would suggest looking at the HFLAT driver:

C:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\DISPLAY\HFLAT

You just need to implement your hardware initialization and then just
your GRAM for the frame buffer.