SLVAFL1 October   2024 TPS25751 , TPS26750

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2EEPROM Boot Flow
    1. 2.1 Boot Process
    2. 2.2 Updating the EEPROM Image
    3. 2.3 Commands
    4. 2.4 EEPROM Update Example
  6. 3Source Code Example
    1. 3.1 UpdateRegionOfEeprom()
    2. 3.2 UpdateRegionOfEeprom_Step1
    3. 3.3 UpdateRegionOfEeprom_Step2()
    4. 3.4 UpdatingRegionOfEeprom_Step3()
    5. 3.5 UpdatingRegionOfEeprom_Step4()
    6. 3.6 WriteRegionPointer()
  7. 4Recovering From EEPROM Failure
  8. 5Summary
  9. 6References

Summary

The TPS25751 and TPS26750 application binary can be pushed to the PD controller over I2C using the I2Ct port, or the PD controller can read it from an external EEPROM. When the host must update the Patch Bundle used for booting, it must follow a particular sequence.

The host shall implement the below sequence to update the patch-bundle:

  • Using FLrd command, the host shall query the device for the address of the region on external EEPROM that is to be updated.
  • The host shall then set the start address for the next write using FLad command, and start sending the patch-bundle 32 bytes at a time using FLwd command.
  • The device automatically increments the write-address after the successful execution of FLwd– The host does not need to set the start address for every write request.
  • The host shall then verify the contents of the EEPROM using FLvy command.
  • After both regions are updated, the host shall cold-reset the device using GAID – The device can go through the boot sequence all over again, and load the updated patch-bundle.