So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By h16bill
#89163 I am using an esp-01 with 1mb flash. I am writing time and temperature data to a file in the spiffs filesystem every two minutes. Each entry is 18 bytes and after the file reaches 16kb I start replacing entries in the file. So can I depend on write leveling to distribute the 10,000 writes over the whole 1mb? Ideally the calculation would be:
(1048576 / 18) * 10,000 = 582542222 writes. so with a write every two minutes that comes out to 2216 years.

Is this realistic? Or is it going to write a whole block every time I write?

Thanks in advance for any insight.