Inquiry Regarding Boot Configuration in T1024

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inquiry Regarding Boot Configuration in T1024

Jump to solution
1,885 Views
satoshi-123
Contributor I

Hi everyone,

I am currently designing a board to boot the T1024 from NAND flash, and the NAND I plan to use is equipped with 8-bit ECC.

In CodeWarrior Development Studio, when narrowing down the Boot Configuration options from the pull-down menu based on the specifications of the NAND (data width, page size, pages per block), only candidates with 4-bit ECC remain.

Does this imply that NAND with 8-bit ECC cannot be used, or does it indicate a potential risk of boot failure when using such NAND?

Thank you for your assistance.

Best regards,
satoshi

0 Kudos
Reply
1 Solution
1,852 Views
Oswalag
NXP TechSupport
NXP TechSupport

Sorry, but 8-bit ECC is not supported for 512- and 2048-byte pages, please refer to chapter 23.5.6.2 BCH encoding of the RM.

For 4-bit correction, 8 parity bytes, 8-bit correction 16 parity bytes, 24-bit correction 42
parity bytes, and 40-bit correction 70 parity bytes per sector are required. These parity
bytes are stored in the spare region of the page at offset 08h. For small pages, only 4-bit
mode is allowed. For a 2 KB page, four sectors of 512 bytes each can be present in the
main region; hence a total of 4x8= 32 parity bytes are store at offset 08h. For a 4 KB
page size, eight sectors of 512 bytes each can be present; hence 8x8 =64 parity bytes are
required for 4-bit mode and 128 bytes for 8-bit mode.

View solution in original post

0 Kudos
Reply
1 Reply
1,853 Views
Oswalag
NXP TechSupport
NXP TechSupport

Sorry, but 8-bit ECC is not supported for 512- and 2048-byte pages, please refer to chapter 23.5.6.2 BCH encoding of the RM.

For 4-bit correction, 8 parity bytes, 8-bit correction 16 parity bytes, 24-bit correction 42
parity bytes, and 40-bit correction 70 parity bytes per sector are required. These parity
bytes are stored in the spare region of the page at offset 08h. For small pages, only 4-bit
mode is allowed. For a 2 KB page, four sectors of 512 bytes each can be present in the
main region; hence a total of 4x8= 32 parity bytes are store at offset 08h. For a 4 KB
page size, eight sectors of 512 bytes each can be present; hence 8x8 =64 parity bytes are
required for 4-bit mode and 128 bytes for 8-bit mode.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2070183%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EInquiry%20Regarding%20Boot%20Configuration%20in%20T1024%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2070183%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20designing%20a%20board%20to%20boot%20the%20T1024%20from%20NAND%20flash%2C%20and%20the%20NAND%20I%20plan%20to%20use%20is%20equipped%20with%208-bit%20ECC.%3C%2FP%3E%3CP%3EIn%20CodeWarrior%20Development%20Studio%2C%20when%20narrowing%20down%20the%20Boot%20Configuration%20options%20from%20the%20pull-down%20menu%20based%20on%20the%20specifications%20of%20the%20NAND%20(data%20width%2C%20page%20size%2C%20pages%20per%20block)%2C%20only%20candidates%20with%204-bit%20ECC%20remain.%3C%2FP%3E%3CP%3EDoes%20this%20imply%20that%20NAND%20with%208-bit%20ECC%20cannot%20be%20used%2C%20or%20does%20it%20indicate%20a%20potential%20risk%20of%20boot%20failure%20when%20using%20such%20NAND%3F%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20assistance.%3C%2FP%3E%3CP%3EBest%20regards%2C%3CBR%20%2F%3Esatoshi%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2072213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Inquiry%20Regarding%20Boot%20Configuration%20in%20T1024%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2072213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESorry%2C%20but%208-bit%20ECC%20is%20not%20supported%20for%20512-%20and%202048-byte%20pages%2C%20please%20refer%20to%20chapter%26nbsp%3B23.5.6.2%20BCH%20encoding%20of%20the%20RM.%3C%2FP%3E%0A%3CP%3EFor%204-bit%20correction%2C%208%20parity%20bytes%2C%208-bit%20correction%2016%20parity%20bytes%2C%2024-bit%20correction%2042%3CBR%20%2F%3Eparity%20bytes%2C%20and%2040-bit%20correction%2070%20parity%20bytes%20per%20sector%20are%20required.%20These%20parity%3CBR%20%2F%3Ebytes%20are%20stored%20in%20the%20spare%20region%20of%20the%20page%20at%20offset%2008h.%20For%20small%20pages%2C%20only%204-bit%3CBR%20%2F%3Emode%20is%20allowed.%20For%20a%202%20KB%20page%2C%20four%20sectors%20of%20512%20bytes%20each%20can%20be%20present%20in%20the%3CBR%20%2F%3Emain%20region%3B%20hence%20a%20total%20of%204x8%3D%2032%20parity%20bytes%20are%20store%20at%20offset%2008h.%20For%20a%204%20KB%3CBR%20%2F%3Epage%20size%2C%20eight%20sectors%20of%20512%20bytes%20each%20can%20be%20present%3B%20hence%208x8%20%3D64%20parity%20bytes%20are%3CBR%20%2F%3Erequired%20for%204-bit%20mode%20and%20128%20bytes%20for%208-bit%20mode.%3C%2FP%3E%3C%2FLINGO-BODY%3E