| Electronic Components Datasheet Search |
|
UM1635 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1635 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 42 page ![]() API specification UM1635 12/42 DocID024604 Rev 2 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 C90FL2 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(); For example, below are bit allocations for blocks in Low/Mid/High Address Space of SPC56ELx: Bit Allocation for Blocks in Low Address Space: 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 C90FL2 is available and high voltage is applied to C90FL2. Then try to do the erase operation again. Table 9. Bit allocation for blocks in low address space MSB LSB bit 31 … bit 10 bit 9 bit 8 … bit 1 bit 0 reserved … reserved block 9 block 8 … block 1 block 0 |
|
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 |