Forum Discussion
Altera_Forum
Honored Contributor
17 years agoLCD framebuffe problem
I have taken the NEEK kit and adapted a different LCD screen to it. The new screen is 640 x 480, instead of the touchscreen that comes with the NEEK kit. I enabled the PS2 mouse and modified the file altfb.c to make the resolution 640 x 480. Then I created theimage file and uploaded it to the board.
When I enter the "nano-X &" command, the Arrow shows up on the screen and I am able to move it around the screen with the mouse as expected. This leads me to believe that the hardware is completely functional. My problem is that when I bring up nanowm, nxclock or nxview everything that is displayed, appers as 1 pixel in the upper left corner of the screen. Does anyone have any suggestions of what may be causing this behavior or what files I should be looking into?1 Reply
- Altera_Forum
Honored Contributor
Hi Schaney,
I was able to increase the resolution from 640x480 to 800x600 by changing only the same file as you (altfb.c). You probably did this already, but make sure you 'make clean' your zImage, and to be extra sure you can manually remove all object files inside the microwin folder. Good luck, Ricardo.