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.

TPS25751EVM: Programming configuration EEPROM

Part Number: TPS25751EVM

Tool/software:

Our new peripheral board uses a TPS25751 as a 12V source. There is no micro on the board to program that part, so we put an EEPROM on the board which connects only to the TPS25751 via I2Cc_SDA and I2Cc_SCL. We set the EEPROM address to 0x50 using resistors. I assume that the TPS will read the configuration from the EEPROM on power up.
I need help to do the following:
1. How do I build the configuration?
2. How do I load the configuration onto the EEPROM?
I bought the TPS25751EVM board. I also downloaded and installed the USBCPD Application Customization Tool on my laptop.
I have the following problems with the USBCPD tool:
1. There is no 12V selection in the questionnaire.
2. None of the figures seemed appropriate for what I want to do, but I picked the EVM one just to see if it would program the EEPROM.
3. After I completed the questionnaire, I pressed "Flash to Device", but I got an error message saying "Hardware Disconnected". I don't understand this because at the bottom of the GUI app it says "Hardware connected"
I need someone to solve these problems so that I can flash the EEPROM on my peripheral board.
I was planning on doing that in the following way:
1. Remove the jumper at J10 on the EVM (to disconnect the EEPROM on the EVM)
2. Connect  I2Cc_SDA, I2Cc_SCL, and GND (at J6 on the EVM) to the EEPROM on our peripheral board
3. Run the USBCPD Application to program the EEPROM
I have been assured that this should work. Do you agree?
Please help me with the above as soon as possible. Thank you
  • Hello Orest,

    Thank you for reaching out. I will get back to you by the end of tomorrow.

    Thank you,

    Katilynn

  • Hi Katilynn,

    I'm getting worried that these text back and forth will drag on. I am at risk of failing to meet my deadline. Is there any chance you could set up a call with me and an engineer who is very familiar with the TPS25751 in order to reduce these back and forth to just one session?

    Best regards,

    Orest

  • Hello Orest,

    Thank you for your patience. Let me know if my response answers your questions. 

    I understand that the TPS25751 will use I2C to update the EEPROM.

    I assume that the TPS will read the configuration from the EEPROM on power up.

    You are correct once the PD controller can confirm it is in 'APP' mode the PD controller can load data from the external EEPROM. I would like to highlight that the initial configuration can be loaded from the EEPROM. However, the PD cannot flash a new image to the EEPROM without an MCU.

    1. How do I build the configuration?

    Refer to section 3 Software of the TPS25751 User Guide for guidance on how to build your configuration.

    1. There is no 12V selection in the questionnaire.

    The TPS25751 PDOs do not have a standard 12V 3A PDO contract.

    To configure an additional source PDO using the Application Tool, see instructions below:

    1. Enter "Advance Configuration"
    2. Look for "Transmit Source Capabilites(0x32)"
    3. Add an additional source PDO in "Number_of_Source_PDOs"
    4. Modify to new Source_PDO to have a max current of 3A and voltage of 12V. See picture below.              

    2. None of the figures seemed appropriate for what I want to do, but I picked the EVM one just to see if it would program the EEPROM.

    This is the correct configuration for your design purposes.

    . After I completed the questionnaire, I pressed "Flash to Device", but I got an error message saying "Hardware Disconnected". I don't understand this because at the bottom of the GUI app it says "Hardware connected"

    Apologies that this issue has occurred. I have also had the same issue in the past where the bottom left corner says "Hardware Connected" even though the connection is not present.

    Follow the steps below to debug this issue:

    1. Click options -> Serial Port Setting
    2. Click on the drop-down options for 'Port' and select the COM port the EVM is connected to
    3. Once the correct port is selected you should be able to flash the EVM

    If you are still having issues, check the COM port connection under 'Device Manger' in your computer settings.

    1. Remove the jumper at J10 on the EVM (to disconnect the EEPROM on the EVM)

    This should be J16 that you remove to disconnect the EEPROM on the EVM.

    2. Connect  I2Cc_SDA, I2Cc_SCL, and GND (at J6 on the EVM) to the EEPROM on our peripheral board

    Connect to I2Ct_SDA/SCL. See highlighted connection below.

    This process (with the fix I recommended above) for programing the EEPROM will work for development. Confirm connection to the data port on the EVM and ensure the external EEPROM is powered. 

    Alternatively, I suggest generating a full flash binary from the Applications Tool and load the binary file though an I2C programmer. Aardvark adapter with Flash Center is an example of an I2C programmer that can be purchased, there are also many cheaper options available on the web. 

    Let me know if you have any follow up questions!

    Thank you,

    Katilynn

  • I tried both ports in the drop down (8 and 9). It would only connect to the 8. (bottom of app says connected). When I attempt to flash the only option is from a binary file (from this configuration is greyed out, is this correct?). I tried flashing from binary file but I still get the message that the device is not connected.

  • Is there any chance I can speak with an engineer?

  • Hello Orest,

     I am an engineer that works on the USB controller team at TI!

    Thank you for the picture of the Application Tool issue you are seeing. This is helpful for trying to solve this issue for configuration connection. Please make sure the questionnaire is fully filled in before you try to flash to device. The "Flash to device from current configuration" selection will remain grayed out till all questions have been filled in. 

    If further assistance is needed, I would be happy to help! If you are still wanting to call after trying this solution please let me know!

    Thank you,

    Katilynn

  • I filled out all that I knew how to fill out, "Flash from current" is still greyed out. Please help

  • Hello Orest,

    To reiterate, the "Flash from current" section will remain greyed out till questions 1-10 are filled in. If you need more information over the questions, refer to the TPS25751EVM User Guide section 3.

    Thank you,

    Katilynn

  • Can some one help me to understand the questions so that I know how to answer them correctly? The best I can do is trial and error, and hopefully arrive at the correct answers, never knowing for sure. I believe you know exactly what it is that I would like to do as a source: 12V 3A. I don't care about anything else. No data no battery no anything, just the 12V 3A output. Could you just tell me the answers to all the questions?

  • Hi Orest,

    I understand you need assistance in the selection process for the questionnaire. 

    I have reached out to Lisa to schedule a call for us to discuss the questions. 

    Bests,

    Katilynn

  • Hello Katilynn,

    My schedule is rapidly slipping away. I will have to give you a bad review if I do not hear from you soon. To resolve my problem I need to speak to an engineer and I need to do that now or I will miss my schedule.

    regards,

    Orest

  • Orest,

    Please be assured that we have the right people on the thread and Katilynn is the right engineer to be helping with this.

    While we are able to help you with any specific questions regarding the GUI questionnaire, we are not familiar with your exact design and as such would not be able to tell you which answers are "correct" for your system. Which questions, specifically, are the cause of confusion here? We try to document this all very emphatically in the user's guide (https://www.ti.com/lit/ug/slvucp9a/slvucp9a.pdf), however if there are any gaps in the provided documentation please let us know.

    Once all questions are answered as they relate to your design requirements, "Flash to device from current configuration" will be enabled. Make sure that the right serial port is being used.  It should be showing up as USB Serial Device similar to below (but it will not be identical):

    Best Regards,
    Tim

  • Hello Orest, 

    Thank you again for meeting with me to discuss flashing your external EEPROM. 

    I got confirmation for the questions you had asked during our meeting.

    For the case of failing to read an empty EEPROM from the TPS25751, I was able to confirm the PD controller will go into patch mode. The I2C_SDA lines are open drain meaning the I2C lines are not active and can be observed with a high-z behavior.

    For your question about what occurs on the I2C line while the EEPROM is being updated. The EEPROM-update process uses 4CC ASCII commands sent from the MCU to enable the host to download the patch bundle onto the external EEPROM. See TPS25751 and TPS26750 EEPROM Update Over I2C for more information over the specific 4CC commands.

    Thank you,

    Katilynn