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.

EVM6678 NAND boot problem

Hi,


I was trying to write a program to the NAND flash of the 6678 EVM following the procedure described in C:\ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\doc\evmc6678-instructions.txt that points to the EEPROMWriter and the NANDWriter, but it didn't work. I see the messages saying that the EEPROM and NAND have been programmed successfully, but when I change the dip switches to NAND boot the application (Led blink, ELF format) doesn't work.

But looking in the forum I found this http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/163719/597081.aspx topic and following this procedure it works. It's the same of evmc6678-instructions.txt but with the I2C config param part.

So, I'd like to know if teh I2C config param part is really necessary and, if it is, why it's not described in the IBL instructions? What am I missing?

Thanks

  • Johannes,

    What is the file format you wrote to NAND? ELF? I believe, the NAND boot is set to use BBLOB format as defined in ibl\src\util\iblConfig\src\device.c: ibl.bootModes[1].u.nandBoot.bootFormat        = ibl_BOOT_FORMAT_BBLOB;

    The NAND writer readme.txt is for .bin file:

    7. Load app.bin to 0x80000000:
         * In CCSv5, right click mouse in memory window, select "load memory".
         * Browse and select writer\nand\evmc66xxl\bin\app.bin (raw data format), click "next"
         * Set the Start Address to "0x80000000", Type-size to 32-bits, leave swap unchecked, click "finish"

    So, if you want to boot ELF file from NAND, you need to follow the link http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/163719/597081.aspx.

    Regards, Eric

  • Hi Eric,

    Thanks for answering that, I just think that this could be clearer in TI's documentation (at least I didn't find it).

    Regards