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.

TPS25751: Write EEPROM with TPS25751

Part Number: TPS25751
Other Parts Discussed in Thread: TPS26750

Tool/software:

I have a board with a TPS25751 and a EEPROM and I have few questions about how to use the TPS25751 with the EEPROM.
My idea is the following, during the first power of my board the EEPROM will be empty so I load the FW of the tps25751 from the MCU. After that, I'll use the
tps25751 to write the EEPROM so during a second boot the TPS25751 will load the the FW from the EEPROM. And if I want to change the configuration I can always re-write the eeprom and performe a "GAID" or reboot the board. Is this correct?
REF: I2C EEPROM UPDATE

  • Hi Stefano,

    The App note you shared is not intended for updating an empty EEPROM. It is intended for updating an already populated EEPROM.

    The recommendation for flashing an empty EEPROM has always been to flash it using a 3rd party tool and a Full flash binary.

    My idea is the following, during the first power of my board the EEPROM will be empty so I load the FW of the tps25751 from the MCU. After that, I'll use the
    tps25751 to write the EEPROM so during a second boot the TPS25751 will load the the FW from the EEPROM. And if I want to change the configuration I can always re-write the eeprom

    For the initial write, this idea might be fine, but is not something we have tested or can verify. The FLAd and FLwr commands do appear that they can do generic writes to the EEPROM, so you may be able to write a full flash binary to an empty EEPROM. But, as mentioned, this is not something we have tested nor do we advertise capability for, so you may need to explore this on your own.

    As long as the EEPROM has a valid full flash binary and the TPS25751 can boot from it properly,

    Thanks and Regards,

    Chris

  • Everything works fine, I was able to write an empty eeprom via TPS25751 initialized by a MCU. It takes time but it works.

  • Hi Stefano,

    We are also using this chipset with our processor board. We want to write the empty EEPROM with the full binary.

    It will be a great help if you share the steps followed by you to write the binary.

    Thanks & Regards,

    Dhanush DC

  • Hi Dhanush,

    I can't guarantee Stefano will respond to this thread as it is primarily for TI -> customer support.

    He likely followed the following steps:

    1. Used the PBM flow described in section 5.2 of the TRM to initially get the TPS25751 into an "APP" mode.

    2. Used the FLxx commands to write the full flash binary generated from the GUI to the Empty EEPROM. You may need to do some testing on your own end to see how the FLxx commands can be used in this situation if Stefano does not repond.

    Thanks and Regards,

    Chris

  • Correct. First of all, I have initialized the TPS25751 with PBM commands and then I have followed the application note "TPS25751 and TPS26750 EEPROM Update Over I2C" to write the eeprom. To perform a single EEPROM writes you have to write four registers, write the register 0x09 with the address and then perform the command "FLad", again register 0x09 with the data to write and then the command "FLwd".
    It's quite simple, follow the Application Note.

    Best regards, 

    Stefano

  • Hi Stefano,

    Thanks for the input. We will try it.

    Thanks & Regards,

    Dhanush DC

  • Thanks Stefano.

    Will re-close this thread now.

    Thanks and Regards,

    Chris