From: Christian G. <cjg...@2d...> - 2006-08-16 19:04:20
|
Hello All, =20 Hello,=20 =20 I have to write a frame buffer to control my graphic LCD. Since this LCD=20 controller has only these I/O (Enable, R/W, Chip Select and D0 ... D7 (data)),=20 i'm using GPIO of my microcontroller to control this device. It's why I=20 control it through the framebuffer driver. I wonder if I can mmap() a system=20 memory for LCD display. It's for userland application (like nano-x engine)=20 which some memory mapping is done. Since the lcd device is not attached to=20 the external bus interface (Address, Data and control IO) of my=20 microcontroller, it's why I wonder if we can mmap() it. Almost of graphic=20 cards can mapped physically the memory because the video memory is already=20 allocated. My case is different because the LCD is connected to GPIO. =20 =20 For example, Userland application change some bytes (pixels) on this allocated=20 memory, then update is done directly on LCD display.... (ideal world)!=20 =20 Microcontroller : AT91RM900 from Atmel=20 LCD graphic : LM6800 from TopWayDisplay=20 Resolution : 256 X 64=20 1 Color=20 =20 =20 If anybody can help me, I'll appreciate it.=20 =20 Regards=20 =20 Christian=20 |