cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
saleksin
Contributor
Contributor
1,109 Views
Registered: ‎05-18-2016

Bootrom and bad blocks in NAND

Jump to solution

How, if at all, bootrom handles bad blocks in NAND flash during boot process? Does it read bad block table, or checks information in OOB memory of first page in block?

0 Kudos
1 Solution

Accepted Solutions
savula
Moderator
Moderator
1,191 Views
Registered: ‎10-30-2017

Hi  Saleksin,

 

The BootROM manages bad blocks in the following ways:
• It looks for a bad block table (BBT) in the last four blocks of the NAND flash device.
• It supports a primary and secondary BBT with versioning allowing safe software updates.
• If a BBT is not present, the BootROM scans the flash reading the out-of-band (OOB) information
to determine the locations of bad blocks.
• The BootROM only performs read operations – it does not write to the flash.
While reading from NAND, the BootROM skips blocks that are marked as bad in the BBT, or in the
OOB information if a BBT does not exist.

 

For more information please read 6.3.5 NAND BOOT in ug585.

 

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

 

View solution in original post

2 Replies
savula
Moderator
Moderator
1,192 Views
Registered: ‎10-30-2017

Hi  Saleksin,

 

The BootROM manages bad blocks in the following ways:
• It looks for a bad block table (BBT) in the last four blocks of the NAND flash device.
• It supports a primary and secondary BBT with versioning allowing safe software updates.
• If a BBT is not present, the BootROM scans the flash reading the out-of-band (OOB) information
to determine the locations of bad blocks.
• The BootROM only performs read operations – it does not write to the flash.
While reading from NAND, the BootROM skips blocks that are marked as bad in the BBT, or in the
OOB information if a BBT does not exist.

 

For more information please read 6.3.5 NAND BOOT in ug585.

 

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

 

View solution in original post

saleksin
Contributor
Contributor
1,076 Views
Registered: ‎05-18-2016
Many thanks!
0 Kudos