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).
Hi superpak,
When the NVMC READY flag is set to Busy, there is an on-going write or erase operation. This write/erase operation will always timeout after a certain amount of time, and the flag will be set to to Ready. You can find the max(worst case) erase/write time in the NVMC specification. It will never get stuck in an infinite loop.
Hi superpak,
When the NVMC READY flag is set to Busy, there is an on-going write or erase operation. This write/erase operation will always timeout after a certain amount of time, and the flag will be set to to Ready. You can find the max(worst case) erase/write time in the NVMC specification. It will never get stuck in an infinite loop.