I recently chose to use a 24LC512 in a project, and raced ahead and implemented some test code without paying enough attention to the datasheet. Now I'm finding that things need to be largely rewritten because of "paging boundary" issues, and PBP's string writes.
I'm sure there must be a logical way to deal with this issue, but don't see much posted about it. So the question is... How would a good programmer deal with page boundarys (in this case 128-byte page boundarys) in his/her program? How would you (most painlessly) keep track of these boundarys, and be able to do "string writes" as effortlessly as possible? i.e.
I2CWRITE SDA,SCL,$A0,MEM,[STR A\25]
Are there any examples or posts with an example of a decent way to handle this issue?
Thanks for your insight.
Bookmarks