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.

C6678 EMIF16 boot



Hello,

I have a board with C6678 connected to NAND flash on EMIF16.

Design and flash chip is identical to C6678 EVM.

I want the DSP to boot from the flash on POR.

I used the nandwriter as instructed in the readme file.

The boot mode configuration pins are configured as follows:

BOOTMODE[9:3]: 011x01x 

boot device pins BOOTMODE[2:0]: 000

Runing the nandwriter was sucsesfull but the DSP deos not boot after POR.

What am I doing wrong?

Thanks,

Ronen

  • Hi Ronen,

    The C6678 doesn't support booting from a NAND flash connected to the EMIF16. The EMIF16 can be used to support booting from a NOR flash.

    Regards, Bill

  • Hi Bill,

    just to make sure I understand your reply, what do you mean by support booting from NOR?

    How does the nand boot work on the EVM? Is it not booting from the nand?

    Thank you,

    Ronen

  • Hi Ronen,

    NOR flash uses an traditional address bus/data bus interface while NAND uses an multiplex data bus for address, data and commands. The EMIF16 boot uses the traditional addressing scheme and begins to read from memory staring at the lowest address and incrementing by an address location on each subsequent read.  NAND flash requires a software driver to send address and command information to the NAND device. While some devices support the NAND software driver in the rom boot code, the C6678 does not. The EVM will boot from either the I2C or the SPI memory to allow the software driver for the NAND to be initialized and then read from NAND for the remainder of the boot code. 

    Regards, Bill

  • Thanks. Can I assume that a nor flash would work? I also have another Dsp (c6670) connected to spi nor. Will the procedure described in the norwriter readme file is all I need to create boot file for the nor flash? Best, Ronen
  • Hi Ronen,

    The SPI nor flash used on the EVM should work for an SPI bootmode. I was referring to a NOR flash with an address and data bus such as a Spansion S29WS512P. This type of NOR flash can be connected to the EMIF16 interface rather than the SPI. The SPI NOR is well documented in the MCSDK and should be concidered as a good alternative as a boot device.

    Regards, Bill

  • Hi Bill,

    Thank you. I will use NOR SPI.

    One more thing that is not clear to me, how do I generate the boot file for the SPI NOR?

    How to get the boot table parameters for SPI?

    I did exactly as instructed in the readme file of the norwriter, flashing the NOR was completed successfully but the device doesn't boot..

    .

    After reset the SPI lines on the nor  flash are active (clock,data) but the RBL is not completed successfully.

    What could be the reason for this?

    Ronen