SLVUBX5B August   2023  – February 2024 TPS25762-Q1 , TPS25772-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Getting Started
    1. 2.1 Related Documents
    2. 2.2 Hardware
    3. 2.3 Software
    4. 2.4 GUI Installation and Launch
  6. 3Application Configuration Overview
    1. 3.1 Creating a New Application Configuration
    2. 3.2 Loading a Saved Configuration
  7. 4Configuration Parameters
    1. 4.1 USB Port Configuration Module
    2. 4.2 I2C Configuration
    3. 4.3 Internal DCDC
    4. 4.4 GPIO Configuration
    5. 4.5 External DCDC
    6. 4.6 System Configuration
      1. 4.6.1 System Power Management
      2. 4.6.2 Device IDs
      3. 4.6.3 Thermal Foldback
      4. 4.6.4 VIN Engine On or Off
    7. 4.7 Advanced Configuration
  8. 5Application Configuration Download
    1. 5.1 Firmware Download Procedure
      1. 5.1.1 Key Upload and Binary File Generation
        1. 5.1.1.1 Firmware Update: USB Endpoint
        2. 5.1.1.2 Firmware Update: I2C
    2. 5.2 Secure Firmware Update
    3. 5.3 Optional USB Driver Installation
    4. 5.4 Direct EEPROM Programming
    5. 5.5 SSH Key Generation
  9. 6Telemetry
  10.   A TPS257xx-Q1 GUI Feature - CUSTOM ID (Version Control)
  11.   Revision History

Key Upload and Binary File Generation

To create the configuration binary file, first select the private keys for use in the GUI. Default keys are provided in the TPS257xx-Q1 Firmware Package and can be used for evaluation purposes. Customer-specific private keys can also be selected (this is recommended before building and deploying a final production binary image). Upload the desired secure private keys in the UPLOAD PRIVATE KEYS window.

Note: TI provides a set of keys for development purposes only. The end user is responsible for creating a secure set of private keys to generate binaries for final production.
GUID-20210404-CA0I-WRJJ-RKQL-DGTTZPLLZHWR-low.png Figure 5-2 Loading Keys

After uploading the keys, the user has the following options:

  1. Select BUILD GUI FLASH IMAGE to build and save a binary file using the current configuration as defined within the GUI
  2. Select FLASH which skips the build step and allows the user to select an existing binary file
GUID-20221130-SS0I-DH27-RRZL-VXNZKTWT0J84-low.png Figure 5-3 Upload Keys Page

If the desired binary file is already available, the file can be uploaded using one of two interface methods as described in Section 5.1.1.1 or Section 5.1.1.2 by clicking the FLASH button. If a new binary file needs to be built, click the BUILD GUI FLASH IMAGE button and follow the next steps described.

In the BUILD GUI FLASH IMAGE window, the user has the option to select the base firmware image binary - this file is provided from TI when the firmware release package is installed. A valid base firmware image must be selected or the device does not operate correctly (click Help, located at the top of the GUI next to Options, then Release Notes for information on GUI versions and compatible firmware). Next, select Production Key when uploading newer application configuration versions as needed. Alternatively, select Engineering Key when reverting to previous versions.

Figure 5-4 shows the selection of the engineering or production key.

GUID-20221130-SS0I-X2C5-JK0N-D17ZRKCZLGSV-low.png Figure 5-4 BUILD GUI FLASH IMAGE Page

After loading the base firmware image, the application configuration binary can be saved in three formats:

  1. The first format option is SAVE FULL FLASH IMAGE.
    GUID-20210404-CA0I-T0B8-H7PM-BJKNVBJ8XFSV-low.png

    Save in this format for update using I2C directly to the EEPROM. This is the method used to program a blank EEPROM and can be done using the TIVA USB interface designed on the EVM from TI or directly using an EEPROM programmer such as the Total Phase Aardvark programming tool. In both cases the binary image is loaded into the EEPROM device using an I2C interface.

    Note: This method is required to create the initial image used to program a blank EEPROM device.
  2. The second format option is SAVE USB EP SECURE UPDATE BINARY.
    GUID-20210404-CA0I-JFKP-QRG4-ZZVM9QKDZWSM-low.png

    Save in this format for update via the USB Endpoint connection method. In this mode the PC is connected to the USB-C charger port ("Port A" for dual-port implementations) with the corresponding boot setting on power up or reset as described in the TPS25762/72-Q1 EVM User's Guide. The binary image is transferred over USB to the TPS257xx-Q1 device and then into the EEPROM device using I2C. Only images built with a valid private key that matches the image previously programmed into the EEPROM transfer successfully.

Once the desired binary format is saved, the file can then be selected from the USB ENDPOINT FLASH or EEPROM FLASH pages and programmed to the EEPROM in hardware.

Note: It is also possible to directly create the binary image and transition to the USB ENDPOINT FLASH or EEPROM FLASH pages to load the binary without saving the generated file. Loading without saving can be done for each format by selecting the USB EP SECURE FLASH FROM CURRENT GUI CONFIG IMAGE or I2C EEPROM FLASH FROM CURRENT GUI CONFIG IMAGE buttons. Selecting either button automatically creates the image and selects the image for download in the respective FLASH page without saving the image locally.

Section 5.1.1.1 and Section 5.1.1.2 describe the process to load the binary image into hardware using USB end point or I2C.

A third format option is SAVE LOW REGION BINARY.

GUID-20230801-SS0I-2KCJ-CMCQ-NTFQB8BGBMJ8-low.png

Selecting this option opens a menu to save the application configuration as a low region binary or a C header file (see Figure 5-5) that is intended to be used for the device's MCU/HUB Boot Mode. For more information regarding this boot mode, see the TPS257x-Q1/77x-Q1 Firmware Update with a Host.

GUID-20230808-SS0I-SJ71-2ZZ7-R4HWGM6X4ZSQ-low.png Figure 5-5 Generating a Low Region Bin as a C Header File