2022-12-28 01:38 AM
Hi,
I am using ST 95M01R EEPROM. I am writing 1kb of data to EEPROM but for every 1kb of data last page is not getting update(i mean 4th page, 8th page, 12th page, etc...).
For every 1kb of chunk 3 pages(768 bytes) are getting update but last page(i mean last 256 bytes) is not getting written in EEPROM page.
I am using page Page Write(WRITE) sequence for writing to EEPROM.
I tried to find the page erase command in data sheet but page erase command is not available in data sheet. Can you let me know is there any page erase command available for 95M01R EEPROM?
Can anyone let me know why i am getting this issue?
Any help in this is highly appreciated.
Thanks and Regards,
Bhavin Maru
Solved! Go to Solution.
2023-01-03 01:15 AM
Hi @gbm @Community member Thank you for your response.
This issue is resolved. Actually root cause is delay only. As per the ST 95M01R EEPROM datasheet page write takes max 5 ms to update the page so if we add 5 ms delay after page write then all pages are getting update successfully.
2022-12-28 04:51 AM
It's imposible to help you without seeing your code.
2022-12-28 09:15 AM
Probably some logic failure on your part. Show code rather than write prose, its a lot easier to unpack.
I don't think it has an erase, it's an EEPROM not FLASH, you just get to overwrite data in-place. ie new data replaces old at a bit/byte level.
When writing wait on status for it to complete.
https://www.st.com/resource/en/datasheet/m95m01-df.pdf
2023-01-03 01:15 AM
Hi @gbm @Community member Thank you for your response.
This issue is resolved. Actually root cause is delay only. As per the ST 95M01R EEPROM datasheet page write takes max 5 ms to update the page so if we add 5 ms delay after page write then all pages are getting update successfully.