Jump to content

[solved]8 bit mode for LCD problem


eptheca
 Share

Recommended Posts

I have 2 MB-SID with 4x20 LCD's with ST7066 driver chip

Sometimes the LCD "freeze" and/or display strange combination of characters like this:

 

 
Initially the ST7066 driver chip should be compatible with HD44780, but after reading this http://www.ucapps.de/midibox_sid_manual_ki.html
I decided to try out the 8 bit mode
 
I have rewired the LCD according to the text, and tried different ways to get the application to use this mode.
-Change ID app, #define MIOS_LCD_TYPE    7 (custom LCD driver) displays: "Rebooting MIOS" forever, restart no characters displayed
-I could not find a DEFAULT_USE_CUSTOM_LCD_DRIVER switch in the setup_*.asm file, but inserted
#define DEFAULT_USE_CUSTOM_LCD_DRIVER 1 into the file, but it still uses 4 bit mode
 
Any suggestions?
 
Cheers
Edited by eptheca
Link to comment
Share on other sites

OK, I think it's working in 8 bit mode now

 

I used the Change ID app 

edited the main.asm file with #define MIOS_LCD_TYPE    7

compiled

uploaded the hex with MIOS Studio

got the "Rebooting MIOS" message on the LCD

uploaded the SID hex

 

The LCD works, and when I disconnect the wires that go to RE1 and RE2, lots of jibberish

I take that to mean that it's running in 8 bit mode

 

Just have to put it all together and hope it has solved the "freeze" problem

Link to comment
Share on other sites

Yes, definitely running in 8 bit mode with custom LCD driver

I did the same modification to my other MB SID as well

 

The only thing that puzzled me was that after uploading the Change ID file, it was only displaying "Rebooting MIOS" forever.

 

I realize that I'm just talking to myself here, but maybe it could help someone in the future :) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...