Page 1 of 1
GLK240128-25-WB starts display text in about 10 rows down
Posted: Mon Feb 04, 2008 2:52 pm
by Bert
I am communicating with my display via UART and now when I display data on my LCD it starts about 10 rows down. I have issued the command to move the cursor to position (1,1) and it still starts at this spot. I have also tried restoring the defauts to see if this would correct the problem but hasn't. Any ideas ?

Update
Posted: Mon Feb 04, 2008 3:19 pm
by Bert
I have tried wiping the file system and when I load new fonts, the LCD is fine. But when I cut power and then reintialize it it shifts back down many rows, thus effectively cutting the LCD in half. I have tried filling the screen and it scrolls down and back to the middle.
Posted: Mon Feb 04, 2008 4:41 pm
by Clark
Hi Bert,
Thanks for the question, sorry to hear that you have been having some trouble writing to the top portion of your GLK240128-25-WB. I would first like to make sure that the display knows that it is 128 lines high, not just 64. If you could please open up
uProject, ensure communication with the device (auto detect and then a simple backlight on/off should do), open the uploader tab, expand the other category, then drag and drop the raw data function into the command window. Next enter the command /254//55/, hit ok, then click the green execute arrow to the left to run. The value returned to the right should read 0x72, if it is anything else, please let me know. Should your display pass this test, and realize it is 128 lines high, you may want to try drawing a rectangle across the screen to test the pixels. Try one from 10, 10 to 230, 118 in each colour as a test, check out section 8.7 of the
manual for more details. Hopefully these ideas will help you track down the problem and get your display running again. Let me know how things turn out, and I'll guide you through any additional steps that may be required.
Thanks,
Troy
Posted: Mon Feb 04, 2008 5:23 pm
by Bert
Ok so I ran the /254//55/ command and got a return value of 0x72 . I then drew a rectangle across the screen with no problem and then filled it and that was fine as well. I also tried entering the home command /254//72/ and then tried print some text and still it starts at at row 68 or so. This is very strange. It seems like the text is the only one I am having a problem with.
Thanks for the help.
Posted: Tue Feb 05, 2008 5:53 pm
by Clark
Hi Bert,
Thanks for the update, sorry to hear that you are still having trouble displaying text. It sounds like your display is working correctly as far as pixels go, and seems to know who it is perfectly well. What I would suggest at this point is to wipe the file system, and upload a font using MOGD#. I know you've done this before, but pay careful attention to the metrics. Ensure that character and line spacing, and left and top margins are all '1'. Also try scroll start at '128'. When you're all done, hit upload and set metrics. Hopefully this produces a change in your font situation, let me know.
Thanks,
Troy
Posted: Tue Feb 05, 2008 6:45 pm
by Bert
Ok I did all of that and after doing it the display works fine. But when I power it down and start it back up. The text shifts down again. For some reason it isn't remembering to stay at the top.
I have had this display for only about 2 weeks and desperately need it for my Senior Design project at the University of Akron.
Any help would be appreciated.
Thanks
Posted: Thu Feb 07, 2008 10:42 am
by Ray
Just to be sure, If you used Mogd# did you check the save metrics checkbox before setting the metrics?
Posted: Thu Feb 07, 2008 6:46 pm
by Bert
Ray and Clark , thanks for the help. That was the problem, I just didn't have the box checked in Mogd# to save the metric.
Thank you again for all your help