gemini2039 Posted April 28, 2005 Report Share Posted April 28, 2005 Hello, I hope I'll get this f.... graphic lcd working .... My pic id should be fine now ( changed with the change ID soft ) I would like to know what to do with the Reset pin ?is it important ?I've connected all the others.. my core module is loaded with the bootstrap loader and the mios... the screen turns on when I power and the backlight too.. I've add a 10k for contrast and this works too ..should I see something now ?? my glcd is a hs12864-3b I've bought it on ebay http://cgi.befr.ebay.be/ws/eBayISAPI.dll?ViewItem&category=75520&item=5188914396&rd=1&ssPageName=WD2Vhere is all the pins I have ... http://www.yanansi.co.uk/lcd/12864/I've seen that D/I was R/S so I nly need the Reset Thanks for helping !!!!!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
moebius Posted April 28, 2005 Report Share Posted April 28, 2005 I would like to know what to do with the Reset pin ?is it important ?Hi,I think it's important to NOT leave it floating - try connecting it to the VD (+5v) and see if that helps.M Quote Link to comment Share on other sites More sharing options...
gemini2039 Posted April 28, 2005 Author Report Share Posted April 28, 2005 cooooooooooool man now I have something on screen.... I know now why you're as a god in this forum ... lollbut how to say I still have a problem ... can you have a look at this http://gemini2039.dyndns.org:63333/DSCN0569.JPG Thanks !!! Quote Link to comment Share on other sites More sharing options...
moebius Posted April 28, 2005 Report Share Posted April 28, 2005 Hey,Try to limit starting too many new topics - it clutters the forum.can you have a look at this http://gemini2039.dyndns.org:63333/DSCN0569.JPG This probably has to do with LCD layout and CS lines - I just noticed that TK has used display with 240x64 resolution (and screen layouts are optimized for that and that's also why there are 2 additional CS lines in the connection drawing.).. just wait for TK, he will be able to help.Bye, Moebiusp.s. Hmm.. YaBB God = I just make so much noise ;) and by the way, I just picked up that reset -> +5v from the link you posted.. Quote Link to comment Share on other sites More sharing options...
gemini2039 Posted April 29, 2005 Author Report Share Posted April 29, 2005 ok sorry for all the posts !!! I'll wait for TK .. thanks for your help Moebius !!! Quote Link to comment Share on other sites More sharing options...
moebius Posted April 29, 2005 Report Share Posted April 29, 2005 ok sorry for all the posts !!!No no! I didn't mean it like THAT! If you need to ask a question or have problems, just ask. But even if your problem isn't about the reset pin anymore (I hope ;)), it's still about the GLCD. It's a bit special part, I don't know how many people use 'em - I don't. You presented the new problem here first and then went on posting it again, after about an hour and 15mins later - People do keep on eye on the forum, so I think if anyone knew the solution, they would have "chimed in". So basicly, posting about related problems under many topics won't give your problems more attention or faster responses ::)And I know, Your anxious to get that thing working - nothing bad about it, "so close, so far away".. ;)M Quote Link to comment Share on other sites More sharing options...
TK. Posted April 30, 2005 Report Share Posted April 30, 2005 One thing which isn't a problem is the number of CS lines - MIOS tries to access the KS0108 chips seperately and detects automatically how much segments are connected.It seems that the display cursor is not set correctly, but I'm not sure under which circumstances this can happen. Maybe two data lines are swapped?Is the display content always the same, or do you notice random effects?What is the display output when you upload the http://www.ucapps.de/mios/lcd7_ks0108.zip application? (please make a picture)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
gemini2039 Posted May 1, 2005 Author Report Share Posted May 1, 2005 the first picture was with the driver lcd7_ks0108 ( http://gemini2039.dyndns.org:63333/DSCN0569.JPG )when I only put the mios and the change id utility ( with 1000 for glcd ) I get this :http://gemini2039.dyndns.org:63333/DSCN0570.JPGsometime the writings are at the bottom of the screen ...I've check the connections many times ... I did it once again to be really sure but I don't have any bad or inverted connectionThanks for helping !!!!! Quote Link to comment Share on other sites More sharing options...
gemini2039 Posted May 1, 2005 Author Report Share Posted May 1, 2005 I noticed something , I don't know if that could be the problem ... on this page http://www.yanansi.co.uk/lcd/12864/ there's the reset pin but on the lcd it's written RET ... is this the same or is it a mistake ?? Quote Link to comment Share on other sites More sharing options...
TK. Posted May 1, 2005 Report Share Posted May 1, 2005 RET sounds ok, it's just the short form of REseTI just remember that d2k sent me a 2-segment KS0108 display some time ago which had inverted chip select lines.The effects were very similar - inverted pixels and displaced characters.Therefore I integrated an option into the driver which allows to change the CS polarity, it's bit #0 of option 1Try the following: open app_init.inc and change following lines: movlw 0x01 ; if 0: non-inverted CS, if 1: inverted CS# movwf MIOS_PARAMETER1[/code] Thereafter build a new .hex file and upload it with MIOS studio (or hex2syx.pl -> main.syx via MIDI-Ox) If this helps, you can select the same option with the standard GLCD0 driver in MIOS, you only have to add following lines to the USER_Init routine of the application you are using: [code] ;; select LCD type #7 (custom LCD driver, hooks in app_lcd.inc will be used) movlw 0x01 ; if 0: non-inverted CS, if 1: inverted CS# movwf MIOS_PARAMETER1 movlw 0x00 ; here you could forward an additional parameter movwf MIOS_PARAMETER2 movlw 0x01 ; selecting the KS0107/KS0108 driver call MIOS_LCD_TypeSetUSER_Init can mostly be found in the main.asm file (the driver example is an exception, maybe I should change this)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
gemini2039 Posted May 3, 2005 Author Report Share Posted May 3, 2005 Thanks !!! that was the problem ... now it's working ... ;D ;D ;D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.