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 I2c Booting Problem in custom board.

Hi all,

We are trying to boot c6678 using I2c in our custom Board. The part number of I2C EEPROM is M24M01DFMN6TP.

By using the EEPROM Writter project in MCSDK we are able to program I2c EEPROM ..and the message is "Programming  sucess".

We are able to boot EVM using the same .bin file. But my custom board is not booting.

verified the boot contols (GPIOs) and they given same as the EVM controls.

While probing the I2C SCLK and SDATA , two cycles of data reading is happing on the bus.. ACK is present from the I2c Slave. but why c6678 not reading complete boot data from EEPROM.

We are wondeing what might be the problem.

Thanks

Regards

Ashok.M

  • Have you using two EEPROM on your custom board(one for IBL and another one for I2C boot)?

    Have you modified the TI provide EEPROM writer project? Please share your EEPROM writer complete log message.

    Thanks,
  • Hi Ganapathi,

    We have only one EEPROM that we want use for booting c6678. ( Later we want to boot from SPI.)
    Not done any changes to EEPROM writer project except changing address to 0x50 in .txt.
    The message from EEPROM writer is as follows

    [C66xx_0] EEPROM Writer Utility Version 01.00.00.05

    Writing 40972 bytes from DSP memory address 0x0c000000 to EEPROM bus address 0x0050 starting from device address 0x0000 ...
    Reading 40972 bytes from EEPROM bus address 0x0050 to DSP memory address 0x0c010000 starting from device address 0x0000 ...
    Verifying data read ...
    EEPROM programming completed successfully


    ----------
    I think IBL is not required for I2c Boot, correct me if I am wrong.

    Regards
    M.Ashok
  • Yes, IBL is not required for I2C boot mode.

    Have you successfully boot from SPI?

    Thanks,
  • Hi,

    No , We are unable to program (Write) into SPI flash.

    As the part number of SPI flash on the EVM( N25Q128A21BSF40F) and what we are having (N25Q128A11SE40F) are different (memory array configuration Uniform instead Bottom). The Nor writter programming is failing to write into the flash.

    so initialy we want to boot from I2C EEPROM instead SPI NOR.

    Thanks

    Regards
    Ashok.M
  • Hi Ashok,
    I hope you are able to boot from I2C without any issues hence closing this thread.

    Thank you.