Hi,
do sd_flash_page_erase or sd_flash_write provide any guarantees that the command has executed successfully or should I do a manual check to verify if the page was really erased or the data was written correctly?
Thanks, Marius
Hi,
do sd_flash_page_erase or sd_flash_write provide any guarantees that the command has executed successfully or should I do a manual check to verify if the page was really erased or the data was written correctly?
Thanks, Marius
Hi,
There is no automatic verification of flash content (sd_flash_page_erase /sd_flash_write will not read back the data), so this is something you can add if you want (though I have not heard of this being a problem, and we don't do that ourselves).
Yes, after you exceed the spec, i.e. more than 10 000 Write/erase cycles, you have no "100%" guarantees anymore. See this post.
We use NOR flash in our devices, and in general, NOR flash is reliable and does not require any error correction in software/firmware. (I also believe the underlying NOR HW flash algorithm does verification, i.e it tries to write a number of times until the flash has been verified to have been written properly)
Yes, after you exceed the spec, i.e. more than 10 000 Write/erase cycles, you have no "100%" guarantees anymore. See this post.
We use NOR flash in our devices, and in general, NOR flash is reliable and does not require any error correction in software/firmware. (I also believe the underlying NOR HW flash algorithm does verification, i.e it tries to write a number of times until the flash has been verified to have been written properly)