I am working on a project which requires low power persistent storage. It needs to store 1 kB of data at most. The data is organized in blocks logically. So, a update of one block requires 100 B to be written to storage.
The project will be powered from a coin cell so it needs to be power efficient.
Low endurance of flash is not a problem. The deciding factor for my project is power, cost and write speed.
25LC640 EEPROM datasheet at http://ww1.microchip.com/downloads/en/DeviceDoc/21223H.pdf states that it needs up to 5 ms to write a single byte. So, to update my logical block, it would require 500 ms. This is the problem for my project.
I need to decide whether to use flash or EEPROM and deciding factors are cost, power and write speed.
Please help by telling me typical write speed, cost and power of flash and EEPROM of approx. size 1 kilo bytes.
I understand that they will be trade-offs. All I want from this community is to share their design experience with me. I am not asking for a particular product. I am looking for typical figures for cost, power and write speed.
My project is a BLE device. It needs to store
application context and other information persistently. I am implementing a very simple
filesystem and each information can be stored in a file. The problem with larger
write cycle is that i can't write data instantaneously and i have to queue the request to store the data persistently. It may lead to inconsistent state in my device. Again, i can solve it by making my firmware smart enough but i want to look for other alternatives from the community.