??? 02/23/09 15:55 Read: times |
#162711 - A common mistake... Responding to: ???'s previous message |
Sarma:
Are you by chance trying to do some large block size read test that is proceeded with a write block of the same size? If so do note that write block commands to this part are limited to size of no more than 128 bytes. If you attempt to write a block that crosses a page boundary of 2^^7 (128 byte physical address boundary) the latter data is loaded into the beginning part of the same page and _not_ the beginning of the next page. If you did not comprehend this then the write test pattern would not be the same as you would expect from the read block. Michael Karas |
Topic | Author | Date |
AT24C512 Sequential Read failed!! | 01/01/70 00:00 | |
the IIC engine is identical ... | 01/01/70 00:00 | |
Sample code | 01/01/70 00:00 | |
what are the symptoms? | 01/01/70 00:00 | |
symptoms | 01/01/70 00:00 | |
A common mistake... | 01/01/70 00:00 | |
Your code looks fine | 01/01/70 00:00 | |
It took me ages ! | 01/01/70 00:00 | |
uint8_t range | 01/01/70 00:00 | |
confusion | 01/01/70 00:00 | |
you use uint8_t in your read_seq () | 01/01/70 00:00 | |
Do you want the full corrected source code ? | 01/01/70 00:00 | |
my own code | 01/01/70 00:00 | |
An explanation | 01/01/70 00:00 | |
code update | 01/01/70 00:00 | |
diff is your friend | 01/01/70 00:00 | |
size -1 | 01/01/70 00:00 | |
write program, rather than code... | 01/01/70 00:00 | |
It's Working![]() | 01/01/70 00:00 |