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.

DM365 - UBOOT in NAND flash

Hi,

In which block should I flash the UBOOT in the NAND flash?

Should I flash the UBOOT in several blocks as a back-up in case a NAND block is corrupted?

Thx

KB

 

  • KB2603,

    Not sure about NAND blocks corrupted case.

    But, there is a tool which you can use to flash u-boot onto NAND -  http://arago-project.org/files/releases/davinci-psp_3.x.0.0/board_utilities/serial_flash/dm365/

     http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM36x_EVM#Flashing_DM36x_EVM_using_NAND_Writer_utilities_.28CCS_environment.29

  • Nagabhushana,

    Quick question regarding the NAND eraser and NAND writer.

    I see in the source code of the NAND writer that the NAND writer is erasing NAND blocks before writing data.

    So why using a NAND eraser before using NAND writer? Am I reading the source code right?

    Thx

    KB

  • One of the NAND blocks might contain environment variables. Size of the u-boot might vary based on features a specific u-boot supports. So, its better to erase NAND completely and flash it.