| Electronic Components Datasheet Search |
|
UM1620 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1620 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 41 page ![]() API specification UM1620 12/41 DocID024388 Rev 3 Return values Troubleshooting Comments When shadowFlag is set to FALSE, the ‘FlashErase()’ function erases the blocks in the main array. It is capable of erasing any combination of blocks in the low, mid and high address spaces in one operation. If shadowFlag is TRUE, this function erases the shadow row. The inputs lowEnabledBlocks, midEnabledBlocks and highEnabledBlocks are bit-mapped arguments that are used to select the blocks to be erased in the Low/Mid/High address spaces of main array. The selection of the blocks of the main array is determined by setting/clearing the corresponding bit in lowEnabledBlocks, midEnabledBlocks or highEnabledBlocks. The bit allocations for blocks in one address space are: bit 0 is assigned to block 0, bit 1 to block 1, etc. The following diagrams show the formats of lowEnabledBlocks, midEnabledBlocks and highEnabledBlocks for the C90FL module. For low address space valid bits are from bit 0 to bit (lowBlockNum – 1). In which, lowBlockNum is the number of low blocks returned from FlashInit(); For middle address space valid bits are from bit 0 and bit (midBlockNum – 1). In which, midBlockNum is the number of middle blocks returned from FlashInit(); For high address space valid bits are from bit 0 to bit (highBlockNum – 1). In which, highBlockNum is the number of high blocks returned from FlashInit(); Table 7. Return values for FlashErase() Type Description Possible values UINT32 Successful completion or error value. C90FL_OK C90FL_ERROR_BUSY C90FL_ERROR_EGOOD Table 8. Troubleshooting for FlashErase() Error codes Possible causes Solution C90FL_ERROR_BUSY New erase operation cannot be performed because there is program/erase sequence in progress on the Flash module. Wait until all previous program/erase operations on the Flash module finish. Possible cases that erase cannot start are: – erase in progress (FLASH_MCR-ERS is high); – program in progress (FLASH_MCR-PGM is high); C90FL_ERROR_ EGOOD Erase operation failed. Check if the C90FL is available and high voltage is applied to C90FL. Then try to do the erase operation 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 |