Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/11/07 16:58
Read: times


 
#130669 - Thanks for your comments
Responding to: ???'s previous message
Erik Malund said:
you keep persisting with referring to the ancient schematic and code you have.

the ancient schematic and code you refer to is MMIO (memory mapped I/O) and the uC you use have no external memory. Thus, there is no way in hades you can mangle it to work.

THROW IT AWAY NOW

Then, go get a cup of coffee, or whatever you need, to clear your head of everything you remember from that ancient design.

Then, and only then, get the datasheet for an Optrex LCD similar to the one you have (except for pinning all Hitachi based LCDs are the same, and the Optrex datasheets are the best) study it and get an idea (there are even flowcharts in the datasheet.

Then, and only then, write the necessary code yourself

If in that process some specific questions come up, ask them here.

So called "reference designs and reference code" can be helpful, but starting with them whith no basic knowledge does NOT work.

Erik

PS were you to use a derivative with external memory access the ancient stuff you have "would work", however be grossly inefficient with a modern derivative.


Hi Erik:
Till the members informed me about memory mapped I/O I did not know the differance. Thank you for that. I now see how memory I/O works and the differance between the two mcu chips. I did not know it was that differcult to make the software changes. Now I do. This tester was special and did lot more than write a character to LCD. It is about 28 pages of code.
Here's some examples T2 command starts the character test. T3 comand starts the custom character test. T4 test checks internal ram of LCD. All I wanted to do was make it smaller.

To all members thanks for all the comments you made on this thread.


Best regards,


Ralph Sac


List of 44 messages in thread
TopicAuthorDate
How to create wr rd for E strobe on LCD            01/01/70 00:00      
   No research!            01/01/70 00:00      
      Wrong plenty of research            01/01/70 00:00      
         clock speed?            01/01/70 00:00      
            Erik it is 12 clocker            01/01/70 00:00      
               the question is moot ...            01/01/70 00:00      
         Wrong!            01/01/70 00:00      
            My error            01/01/70 00:00      
               Asm code            01/01/70 00:00      
                  missing boldface            01/01/70 00:00      
                  4051 has no port 0            01/01/70 00:00      
                     Tell me something I don't know!            01/01/70 00:00      
   when posting a schematic PLEASE do not do it in a            01/01/70 00:00      
      This why Erik            01/01/70 00:00      
         upset?            01/01/70 00:00      
            Your 1 True Love            01/01/70 00:00      
               I don't what happen but see below            01/01/70 00:00      
   AT89C4051 hardware            01/01/70 00:00      
      A better schematic post            01/01/70 00:00      
         Understanding the schematic will help.            01/01/70 00:00      
            Thanks for the your reply            01/01/70 00:00      
               Which ports you use doesn't matter ...            01/01/70 00:00      
   LCD interface            01/01/70 00:00      
      Thanks for the comment            01/01/70 00:00      
         Cant post code?            01/01/70 00:00      
      Yikes, that interface is old-skool !            01/01/70 00:00      
         yikes, your attitude sucks            01/01/70 00:00      
         You don't like my idea            01/01/70 00:00      
            It is here!            01/01/70 00:00      
               don't quite understand            01/01/70 00:00      
                  I can            01/01/70 00:00      
                     commodore 64            01/01/70 00:00      
   STOP - THINK - START OVER            01/01/70 00:00      
      Thanks for your comments            01/01/70 00:00      
         You must know what is required            01/01/70 00:00      
            an addition            01/01/70 00:00      
               shortcut            01/01/70 00:00      
                  in response to Andy, there is now one worse            01/01/70 00:00      
                     That's why these queries continue to appear HERE!            01/01/70 00:00      
                     Mapquest            01/01/70 00:00      
   Nice Thread. Lots of passion.            01/01/70 00:00      
      This was a popular PIC demo about 15 years ago            01/01/70 00:00      
         We're dating ourselves a bit arent we?            01/01/70 00:00      
            Well ... Yes ... maybe ... those were the days ...            01/01/70 00:00      

Back to Subject List