I am using the pstorage API and I would like to understand what the difference is between these two methods (if any)
I am using the pstorage API and I would like to understand what the difference is between these two methods (if any)
Hi
Perhaps this thread can be of help?
Hi
Perhaps this thread can be of help?
Thanks for the link. Just to confirm that I understand it correctly:
My doubt is what happens if the chip loses power during the update command. Does the update command implement any recovery mechanism to avoid memory corruption? I do not mind about losing the last updated block but about corruption of the whole flash page
For your points mentioned above, they are all correctly understood. As far as I know, we do not implement any flash integrity tests, not for flash update operations or for flash write operations. You could perform this by creating a checksum for the data you intend to write or for the flash page you intend to write to, and then compare this checksum with the data you read from the page after a reset.