Posted: Mon Oct 10, 2016 2:26 pm Post subject: fm25c256.lib
Hello,
you write in the Wiki: Of course you can also use a cheaper normal SPI EEPROM. These are slower and have less write cycles.
I tried the Microchip 25LC256, but it doesn´t work. I think the Problem is this:
Page 6 in the Manual of Microchip
Note: Page write operations are limited to writing
bytes within a single physical page,
regardless of the number of bytes
actually being written. Physical page
boundaries start at addresses that are
integer multiples of the page buffer size (or
‘page size’) and, end at addresses that are
integer multiples of page size – 1. If a
Page Write command attempts to write
across a physical page boundary, the
result is that the data wraps around to t
beginning of the current page (overwriting
data previously stored there), instead of
being written to the next page as might be
expected. It is therefore necessary for the
application software to prevent page write
operations that would attempt to cross a
page boundary.
I tried this many ways but it doesn´t work
Bascom Version 2.0.7.9
Greetings
Jogi
(BASCOM-AVR version : 2.0.7.9 , Latest : 2.0.7.8 )
yes, when writing more than 1 byte, it could fail for chips that do no allow to cross a page. but with proper DIM order it could work as well. i removed the remark from the help so it will be removed from wiki as well. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum