#include <nitro/card.h>
static inline BOOL CARD_WriteAndVerifyFlash(u32 dst, const void *src, u32 len);
dst | The FLASH address of the transfer destination. |
src | Transfer source memory address. |
len | Byte length of data being written. |
TRUE if the process succeeds and the data are the same. FALSE otherwise.
This function writes data to the FLASH device, and then performs a comparison on that written data. The function does not return control until it has finished processing. If the process succeeds and the data matches, the function returns TRUE. Otherwise, it returns FALSE. To get the detailed result value when processing fails, call the CARD_GetResultCode
function.
CARD_LockBackup
function.CARD_WriteFlashSector
, when necessary.CARD_GetResultCode, CARD_IsBackupFlash, CARD_WriteAndVerifyFlashAsync, CARD_ReadFlash, CARD_WriteFlash, CARD_VerifyFlash
2007/11/13 Added a description of the fact that some high-capacity flash devices cannot use this function.
2004/12/09 Changed "IO processor" to "ARM7 processor".
2004/08/31 Added a description for the CARD_GetResultCode
function.
2004/08/23 Initial version.
CONFIDENTIAL