Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 131 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 131 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 127Page - STMicroelectronics UM0851 Datasheet HTML 128Page - STMicroelectronics UM0851 Datasheet HTML 129Page - STMicroelectronics UM0851 Datasheet HTML 130Page - STMicroelectronics UM0851 Datasheet HTML 131Page - STMicroelectronics UM0851 Datasheet HTML 132Page - STMicroelectronics UM0851 Datasheet HTML 133Page - STMicroelectronics UM0851 Datasheet HTML 134Page - STMicroelectronics UM0851 Datasheet HTML 135Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 131 / 245 page
background image
UM0851
Non-volatile memory device drivers
Doc ID 16604 Rev 2
131/245
nand_scan().This activates the default Flash based bad block table functionality of the
NAND driver. The default bad block table options are:
●
Store bad block table per chip
●
Use 2 bits per block
●
Automatic placement at the end of the chip
●
Use mirrored tables with version numbers
●
Reserve 4 blocks at the end of the chip
User defined tables
User defined tables are created by filling out a struct nand_bbt_descr and storing the pointer
in the struct nand_chip member bbt_td before calling nand_scan(). If a mirror table is
necessary a second structure must be created and a pointer to this structure must be stored
in bbt_md inside the struct nand_chip. If the bbt_md member is set to NULL then only the
main table is used and no scan for the mirrored table is performed.
The struct nand_bbt_descr is the descriptor for the bad block table marker and the
descriptor for the pattern which identifies good and bad blocks. The assumption is made
that the pattern and the version count are always located in the oob area of the first block.
struct nand_bbt_descr {
int options;
options for this descriptor
int * pages;
the page(s) where we find the bbt, used with option BBT_ABSPAGE when bbt is
searched, then we store the found bbts pages here. Its an array and supports
up to 8 chips now
int offs;
offset of the pattern in the oob area of the page
int veroffs;
offset of the bbt version counter in the oob are of the page
uint8_t * version;
version read from the bbt page during scan
int len;
length of the pattern, if 0 no pattern check is performed
int maxblocks;
maximum number of blocks to search for a bbt. This number of blocks is
reserved at the end of the device where the tables are written.
int reserved_block_code;
if non-0, this pattern denotes a reserved (rather than bad) block in the
stored bbt
uint8_t * pattern;
pattern to identify bad block table or factory marked good / bad blocks, can
be
NULL, if len = 0
};
Error correcting code (ECC)
To manage ECC, the NAND driver must provide the following functions:
●
enable_hwecc(): this function is called before reading/writing to the chip. It resets or
initializes the hardware ECC generator in this function. The function is called with an



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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