??? 09/23/08 09:56 Read: times |
#158541 - try to read your name Responding to: ???'s previous message |
Dear Arvind,
As you said you can read/write 1 byte successfully. then in order to know where the problem lies carry out following exercise. 1. write your name "arvind" in the eeprom using page write. 2. then try to read all the 6 letters at one go. 3. now read the letters one by one. (i.e. start(), read1byte(), stop() repeated 6 times) IF step 3 is success but step 2 is not then 9th bit (as suggested by Mr. Henry) can be the problem. If both step 2 & 3 are failure then(try this even if 3 is success) 4. write your name "arvind" byte by byte using byte write (start(), write1byte() stop() repeated 6 times) 5. now read all 6 char at one go(as in step 2) 6. now read letters one by one (as in step 3) if 3 & 6 works but 2 & 5 doesnot then it may be problem due to 9th bit (as suggested by Mr. Henry) if 5 & 6 wotks but 2 & 3 doesnot then there is problem in write routines. Please post the outcome Regards, Mahesh |
Topic | Author | Date |
problem in FLOAT values in AT24C512 EEPROM | 01/01/70 00:00 | |
What problem? | 01/01/70 00:00 | |
reply | 01/01/70 00:00 | |
So how do you know it's the EEPROM? | 01/01/70 00:00 | |
serial EEPROM | 01/01/70 00:00 | |
read CODE ... | 01/01/70 00:00 | |
why do you think it IS the code? | 01/01/70 00:00 | |
What are the possibilities? | 01/01/70 00:00 | |
Other possibilities | 01/01/70 00:00 | |
Reads clock 9 bits too | 01/01/70 00:00 | |
Also seeming to be missing... | 01/01/70 00:00 | |
On Sequential reads, the eeprom | 01/01/70 00:00 | |
Acknowledge bit | 01/01/70 00:00 | |
You are right Henry. It should be 'bit'. | 01/01/70 00:00 | |
code is given ... plz read ... | 01/01/70 00:00 | |
But, Arvind, you DON'T send the ACK after reading! | 01/01/70 00:00 | |
What code? What tests? | 01/01/70 00:00 | |
try to read your name | 01/01/70 00:00 | |
commented code ... | 01/01/70 00:00 | |
Where is your 9th clock in Read... | 01/01/70 00:00 | |
Dan Henry has already found the mistake!![]() | 01/01/70 00:00 |