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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/23/08 06:03
Read: times


 
#159274 - Are you 199% sure??
Responding to: ???'s previous message
If you have not fully testing the WIP flag wait logic you may be fooling yourself as to the fact that it "appears" to work when in fact it does not.

One way to gain confidence that the WIP read is working correctly is to activate a port bit whilst you are looping in the WIP bit poll loop. And then clear the port bit upon exit of loop. Then monitor the port pin on an o-scope to see if the activated time corresponds to the typical write time specified in the EEPROM data sheet. If the pulse is way narrow it may indicate a problem with its timing or how you are reading it.

Michael Karas


List of 16 messages in thread
TopicAuthorDate
stacking numbers in memory code problem            01/01/70 00:00      
   does readee put its value in 46H?            01/01/70 00:00      
      readee reads memory            01/01/70 00:00      
         Your code looks good to me            01/01/70 00:00      
            it looks awful to me            01/01/70 00:00      
               it was indented            01/01/70 00:00      
                  like this            01/01/70 00:00      
                  Instructions            01/01/70 00:00      
                     yes, yes, ok            01/01/70 00:00      
                        Guided/unguided?            01/01/70 00:00      
            EEPROM not final            01/01/70 00:00      
   Hard coded values            01/01/70 00:00      
      that can't be it            01/01/70 00:00      
         Are you 199% sure??            01/01/70 00:00      
            Here is the WRITEEE code            01/01/70 00:00      
               HA! figured it out            01/01/70 00:00      

Back to Subject List