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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/17/06 12:58
Modified:
  05/17/06 13:17

Read: times


 
#116379 - Some delay could help
Responding to: ???'s previous message
Dear Vu Nhu Khanh,

I used to have similar problem as yours, and I borrowed the code from Atmel. I used the looped byte write/read (and not page write/read) as you used in your code. I got the sEEPROM reading (or maybe writing? I didn't check) wrong. Then I tried to add some delay (just in case the sEEPROM haven't finished writing/reading process) between processes, and it became normal again. Maybe you need to add some delay between the 1st and 2nd process.

For more information, read Fairchild's datasheet of 24W04 on page 4 - twr section (and note 3). You should find an explanation that after stop bit, the bus interface is disabled for 10-15 ms, so try to add more than 15 ms delay.



List of 8 messages in thread
TopicAuthorDate
incremental read or write to seeprom            01/01/70 00:00      
   Some points            01/01/70 00:00      
   Good post!            01/01/70 00:00      
      I second that. Neither we nor you ...            01/01/70 00:00      
         Often a bug can be found            01/01/70 00:00      
            elaborating            01/01/70 00:00      
         Some delay could help            01/01/70 00:00      
      Thanks you all            01/01/70 00:00      

Back to Subject List