| Electronic Components Datasheet Search |
|
UM1618 Datasheet(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1618 Datasheet(HTML) 25 Page - STMicroelectronics |
|
25 / 51 page ![]() DocID024371 Rev 3 25/51 UM1618 API specification 50 Arguments Return values Troubleshooting Comments In order to provide correct pSum calculation, this input argument must not be NULL pointer. However, this API does not return any error code if user tries doing so. If user wants to do checksum for large size, this Flash size is divided into many small portions defined by NUM_WORDS_CHECK_SUM_CYCLE such that checksum for one small portion can be finished within expected time interval. In this case, ‘CheckSum’ function plays a role to kick-off this operation by finishing checksum for the first portion after back-up all necessary information to pCtxData variable. And checksum from the second portion is done within ‘FlashCheckStatus’ function. Thus, user must call ‘FlashCheckStatus’ to finish all the expected operations defined by size argument. Table 30. Arguments for CheckSum Argument Description Range pSSDConfig Pointer to the SSD Configuration Structure. The values in this structure are chip-dependent. Please refer to Section 2.3 for more details. dest Destination address to be summed in Flash memory. Any accessible address aligned on word boundary in either main array or UTest block. size Size, in bytes, of the Flash region to check sum. If size is 0 and the other parameters are all valid, C55_OK is returned. It must be word aligned and its combination with dest should fall within main array or UTest block. pSum Returns the sum value. 0x00000000 - 0xFFFFFFFF. Note that this value is only valid when the function returns C55_OK. User must not pass to this function with NULL pointer of pSum. pCtxData Address of context data structure. A data structure for storing context variables. Table 31. Return values for CheckSum Type Description Possible values UINT32 Successful completion or error value. C55_OK C55_ERROR_ALIGNMENT Table 32. Troubleshooting for CheckSum Returned Error Bits Description Solution C55_ERROR_ALIGNMENT This error indicates that dest/size isn’t properly aligned. Check if dest and size are aligned on word (32-bit) boundary. |
|
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 |