| Electronic Components Datasheet Search |
|
UM1618 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1618 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 51 page ![]() API specification UM1618 24/51 DocID024371 Rev 3 Troubleshooting Comments The contents pointed by pFailedAddress, pFailedData and pFailedSource are updated only when there is a mismatch between the source and destination regions. If user wants to do program verify for large size, this Flash size is divided into many small portions defined by NUM_WORDS_PROGRAM_VERIFY_CYCLE such that verification for one small portion can be finished within expected time interval. In this case, ‘ProgramVerify’ function plays a role to kick-off this verification operation by finishing verification for the first portion after back-up all necessary information to pCtxData variable. And verification from the second portion is done within ‘FlashCheckStatus’ function. Thus, user must call ‘FlashCheckStatus’ to finish all his expected operations defined by size argument. Assumptions It assumes that the Flash block is initialized using a ‘FlashInit’ API. 2.7.7 CheckSum Description This function performs a 32-bit sum over the specified Flash memory range without carry, which provides a rapid method for data integrity checking. This function only does Flash check sum for given number of bytes which can terminate this function within expected time interval. Thus, if user wants to do check sum for large size, the rest of information need to be checked sum is stored in “pCtxData” variable and ‘FlashCheckStatus’ must be called periodically to do the next check sum for next destination based on all data provided in “pCtxData”. Prototype UINT32 CheckSum (PSSD_CONFIG pSSDConfig, UINT32 dest, UINT32 size, UINT32 *pSum, PCONTEXT_DATA pCtxData); Table 29. Troubleshooting for ProgramVerify Returned Error Bits Description Solution C55_ERROR_ALIGNMENT This error indicates that dest/size/source isn’t properly aligned. Check if dest , size and source are aligned on word (32-bit) boundary. C55_ERROR_VERIFY There is a mismatch between destination and source data. Check if the data in source is correct. If yes, the previous program operation is failed. User should re-erase that Flash location and do program again. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |