This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Does K9F1G08U0D need ECC BCH8 when write bootloader in the block0~block3?

The nandlib in the latest StarterWare 02.00.01.01 does support the BCH-8bit ECC Scheme. 

My board's nand flash is k9f1g08u0d. In the datasheet, i find the sentense "The 1st block, which is placed on 00h block address, is guaranteed to bea valid block up to TBD program/erase cycles with 1bit/528Byte ECC."

When i write bootloader in the block0~block3 with ECC BCH8 , my board cannot boot from nand flash. 

Does this K9F1G08U0D need ECC BCH8 when write bootloader in the block0~block3? 

  • Hi ge shuihuan,

    Sorry for the delayed response.

    Unfortunately we are not so familiar with the k9f1g08u0d NAND device.

    Can you confirm whether these blocks have not gone bad? Also by disabling the ECC does the bootloader boot from these blocks when flashed to them?

    Meanwhile, have you tried porting the nandReadWrite example provided in StarterWare for GPEVM to your board? You can use the example as reference to find out whether what you write and read from these blocks is the same, with and without the ECC feature

    The choice of a particular ECC is limited by the size of OOB/spare area of the NAND. As more complex ECC schemes generate more number of bytes as ECC signature.

    You can also go thorugh section 26.1.7.4 from Chapter 26 Initialization from the TRM which explains about the NAND boot.

    Regards

    Anant Pai