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.

C6421 Boot from nand

Hi All:

     I am using c6421 and  want to boot from nand.I wrote code in order to burn the ais binary file to nand flash.But boot without success.

     My nand flash is 512+16 page size. On every 512 Bytes write, I read the NANDF1ECC register,and write it to the 16 bytes spare region.

    ECC0 = BIT0-BIT7 OF NANDF1ECC

    ECC1 = BIT8-BIT15 OF NANDF1ECC 

    ECC2 = BIT16-BIT23 OF NANDF1ECC 

   ECC3 = BIT24-BIT31 OF NANDF1ECC

     The order I place ECC in the nand flash spare region is

     ------------------------------------------------------------------

      ECC0  |   ECC1  |  ECC2  |  ECC3    |       12 Byte "0xFF"

   -------------------------------------------------------------------- 

   Is it in right order that the bootloader can recognize?  

  • Advisory 1.2.10 of the silicon errata document SPRZ252C states that NAND Flash Boot is not supported on the C6421.  The advisory describes the work around using an I2C boot to configure the NAND flash controller before jumping into the boot code stored in the NAND.