| Electronic Components Datasheet Search |
|
UM1618 Datasheet(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1618 Datasheet(HTML) 33 Page - STMicroelectronics |
|
33 / 51 page ![]() DocID024371 Rev 3 33/51 UM1618 API specification 50 Comments Following table defines and describes various blkLockIndicator values. The output parameter blkLockState returns a bit-mapped value indicating the block lock status of the specified address space. A main array block is locked from program/erase if its corresponding bit is set. The indicated address space determines the valid bits of blkLockState. For either Low/Mid/High/Large address spaces, if blocks corresponding to valid block lock state bits are not present (due to configuration or total memory size), values for these block lock state bits are always 1 because such blocks are locked by hardware on reset. These blocks cannot be unlocked by software with ‘SetLock’ function. If user uses the alternate interface to get the lock protection for the Large address space, the error code C55_ERROR_ALTERNATE is returned to indicate that the interface does not support this operation. The bit allocations for blocks in one address space are: the least significant bit is corresponding to 16K block region and start with block 0 (if available), then 32K block region (if available) then lastly 64K block region (if available) and lastly 8K block region (if available). The Large block space is divided into two separate sections corresponding two different block lock indicators. The C55_BLOCK_LARGE_FIRST lock indicator represents the first 32 blocks (from bit 0 to bit 31) of Large block space (128K/256K) and the C55_BLOCK_ LARGE_SECOND lock indicator represents the second 32 blocks (from bit 32 to upper bits) of Large block space (128K/256K). Below is example for the formats of blkLockState in the C55 Flash module according to specific address space. In particular, this is an example with two blocks for each block size in low, middle or high address space and 48 blocks for Large block (128K/256K) address space. The invalid blocks are marked as reserved. And the number of valid bits may be various according to specific Flash module. Table 46. Lock indicator definitions Code Name Value Description C55_BLOCK_LOW 0 Block lock protection of low address space. C55_BLOCK_MID 1 Block lock protection of mid address space. C55_BLOCK_HIGH 2 Block lock protection of high address space. C55_BLOCK_LARGE_FIRST 3 Block lock protection of the first Large address space (from block 0 to block 31). C55_BLOCK_LARGE_SECOND 4 Block lock protection of the second Large address space (from block 32 to upper block numbering). C55_BLOCK_UTEST 5 Block lock protection of the UTest block. Table 47. blkLockState in low address space MSB LSB bit 31 … bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved … 64K block 1 64K block 0 32K block 1 32K block 0 16K block 1 16K 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 |