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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/08 19:16
Read: times


 
#152493 - A few issues
Responding to: ???'s previous message
Just looking through it, it seems that you are not resetting the EEIF flag when interrupts are not enabled in both the read and writing cases.

There also seems to be a problem when interrupts are enabled and the eeprom_read function is used. The function will always return 0x00 and the interrupt doesn't do anything to store the EEPROM data. I don't see the point in using interrupts to read data as the user's manual says it takes only 3 machine cycles for a read to complete.

What are the problems you are seeing and are you trying to use interrupts for both read and writes? Writes only?

List of 14 messages in thread
TopicAuthorDate
EEprom sequence.....            01/01/70 00:00      
   have you tried ...            01/01/70 00:00      
      Code was generated by code arch......            01/01/70 00:00      
   definitely not            01/01/70 00:00      
   OOOPS, I goofed            01/01/70 00:00      
   A few issues            01/01/70 00:00      
   Another look...            01/01/70 00:00      
      This block of code works as it should            01/01/70 00:00      
         already answered            01/01/70 00:00      
            LOL.....ok np.....now an internal save issue            01/01/70 00:00      
               local variables are unknown            01/01/70 00:00      
               Switching on wrong variable            01/01/70 00:00      
                  Brett your right......left over var            01/01/70 00:00      
         Should work            01/01/70 00:00      

Back to Subject List