LCDInfo.com http://forum.lcdinfo.com/ |
|
Help me!! 640 x 200 lcd with SED 1335! http://forum.lcdinfo.com/viewtopic.php?f=9&t=1611 |
Page 1 of 1 |
Author: | GoldServe [ Sat Jun 24, 2006 21:55 ] |
Post subject: | Help me!! 640 x 200 lcd with SED 1335! |
I partially got it working. I can fill the whole screen and stuff but i can't figure out how to fill half screen etc. Something just ain't configured properly. I suspect the memory addresses! Please add me to your msn at goldserve1 at hotmail DOT com and I can show you my code! Thanks! |
Author: | GoldServe [ Sun Jun 25, 2006 6:46 ] |
Post subject: | |
Okay, finally got the chip initialzed and can draw something on it BUT i'm getting reading problems from the chip! I goggled it and someone had the exact same problem. When I issue MREAD, D6 is alway stuck at one. http://projects.tbmn.org/cgi-bin/trac.c ... d_pitfalls Quote: Due to the memory problem (see above) the LCD memory has to be read out. This is done with the wiki:SED1335 MREAD command. The problem is that there a lots of bit-errors which renders the received data completely unuseable. I also tried to read a whole bunch of values and accept the value only, if the bunch of values was the same. (this solution end up in an endless loop) The cable from the wiki:ATMega16 to the LCD controller PCB is currently pretty long (about 50cm) which might be a reason for the bit-errors. The funny thing is that the LCD controller receives all the data-bytes just fine without errors, so it should work the other way too. I just had a look at the data-lines with my scope. It turned out that the controller PCB's data pin D6 (Pin8 on the SUB-D25 connector) goes crazy if the wiki:SED1335 controller is in MREAD mode. I even completely disconnected the pin from the circuit by temporarily cutting through a PCB track and the strange signal was still on the pin. I will also verify if the on the AVR controller received data changes in bit6 only. Furthermore I also looked for electronic wiki:suppliers where I could get a new wiki:SED1335 in case it is broken. I'm pretty sure now, that the SED1335 controller on the controller PCB here is not working properly, at least not in MREAD mode. The PCB was not stored safely and an electrostatic discharge might have done damage to the controllers output-buffer. Since I do have to build up a project PCB (wiki:controller_design) with an ATMega128 (see memory problem above), I am designing a new SED1335 PCB (wiki:lcd_controller_redesign) as well. The ATMega128 controller does support up to 64K external SRAM memory which will be more than I need. |
Author: | Henri [ Sun Jun 25, 2006 17:07 ] |
Post subject: | |
For anyone else possibly having similar problems D6 sounds like the status flag bit for the status read. When using S1D13305 in the 8080 mode /WR and /RD are inverted while A0 is not. This could cause some confusion as A0 defines if you're reading status or data. |
Author: | GoldServe [ Mon Jun 26, 2006 16:42 ] |
Post subject: | |
All working perfectly now! Cheers! |
Page 1 of 1 | All times are UTC + 2 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |