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.

[C6657] RBL boot from I2C EEPROM with 1-byte data addressing

Expert 1070 points

Other Parts Discussed in Thread: TMS320C6657

HI,

Does the RBL in TMS320C6657 support booting in I2C Master mode (e.g. a BPT loading) from EEPROMs with 1-byte data word address, such as AT24C02 or AT24C16 ?

BR,
   Denis

  • Refer Section 3.7.1 RBL Initialization Process of DSP boot loader guide for information.

    http://www.ti.com/lit/sprugy5

    Thank you.

  • Raja,

    This section (and all other KI boot related documents I've found) doesn't mention EEPROM's data word addressing format (1-byte or 2-byte).

    A seven-bit (device) address mode and an eight-bit data mode mentioned in Section 3.7.1 are hardware settings related to the I2C module, in contrast with the 1- or 2-byte data word addressing format that is an algorithmic option and should be implemented in software.

    BR,
       Denis

  • Denis,
    As per my understanding, what is supported by RBL is documented in DSP bootloader user guide. There is no such algorithms are implemented in RBL. Please look at the RBL source released for C6657 SOC for more information.

    Thank you.
  • RBL source code analysis shows that there are some reserved bits in I2C BPT Options field, but these bits seem unused by RBL.
    The low level I2C write procedure has fixed address length of 2 bytes, so EEPROMs less than 32kbit (using 1-byte addressing) seem unsupported.

    An "EEPROM type" field is documented e.g. in SPRUEC6 (C6454/55 I2C Boot Parameter Table), but the primary EEPROM's address format is fixed again:
    "The bootloader has the following requirements for the I2C EEPROMs: ... The memory device uses two bytes for internal addressing".

    I suppose the same note should be added into the KeyStone Architecture DSP Bootloader User Guide.

    BR,
       Denis