English
Language : 

UM1620 Datasheet, PDF (18/41 Pages) STMicroelectronics – Standard software driver for C90FL
API specification
UM1620
Argument
pFailAddress
pFailData
pFailSource
CallBack
Table 18. Arguments for ProgramVerify() (continued)
Description
Range
Return first failing address in Only valid when the function returns
Flash.
C90FL_ERROR_VERIFY.
Returns first mismatch data Only valid when this function returns
in Flash.
C90FL_ERROR_VERIFY.
Returns first mismatch data Only valid when this function returns
in buffer.
C90FL_ERROR_VERIFY.
Address of void call back
function pointer.
Any addressable void function address. To disable it
use NULL_CALLBACK macro.
Return values
Type
UINT32
Table 19. Return values for ProgramVerify()
Description
Possible values
Successful completion or error value.
C90FL_OK
C90FL_ERROR_ALIGNMENT
C90FL_ERROR_RANGE
C90FL_ERROR_VERIFY
Troubleshooting
Table 20. Troubleshooting for ProgramVerify()
Returned error bits
Description
Solution
This error indicates that Check if dest and size are aligned on
C90FL_ERROR_ALIGNMENT dest/size/source isn’t double word (64-bit) boundary. Check if
properly aligned
source is aligned on word boundary
C90FL_ERROR_RANGE
The area specified by
dest and size is out of
the valid C90FL address
range.
Check dest and dest+size, both should
fall in the same C90FL address ranges,
i.e. both in main array or both in shadow
row
C90FL_ERROR_VERIFY
The content in C90FL
and source data
mismatch.
Check the correct source and destination
addresses, erase the block and
reprogram data into Flash.
Comments
The contents pointed by pFailLoc, pFailData and pFailSource are updated only when there
is a mismatch between the source and destination regions.
Assumptions
It assumes that the Flash block is initialized using a ‘FlashInit()’ API.
18/41
DocID024388 Rev 3