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.

TPS65988: Application Customization Tool

Part Number: TPS65988

Hi,

  I'm using the Application Customization tool and don't understand why the Debug Mode configuration registers don't match the Open Project. The TI cfg was flashed using the Open project and the board was power cycled. How can I trust the Debug register values when the configuration isn't matching the Project?

Thanks.

  • Hi David, 

    Please check patch version and customer use configuration (register 0x6) to see if the application configuration and patch load are happening successfully. 

    Thanks
    Prajith

  • Hi Prajith,

      I have several GPIO connected to an FPGA on our board. When I change IO mapping I save these changes as a new project which I flash. I can observe GPIO behaving differently after flashing and power cycling the board. However the debug tab does not match the changes I make nor do the GPIO values reported in the debug registers match what I'm reading from the FPGA. Isn't there a way to force debug to refresh based on the new project? Closing and reopening the app after power cycling the board doesn't change the debug information.

    Thanks, David

  • Hello David,

    When you say "When I change IO mapping I save these changes as a new project which I flash." do you flash new project file in the SPI flash? if yes, do you power cycle the board or issue GAID command? otherwise, PD controller will boot from the configuration in SRAM. 

    Did you check if the new project is showing modified value in 0x06 register? 

    Thanks

    Prajith

  • Hi Prajith,

      We flash using SPI and power cycle the board afterwards. How do we switch to Debug Mode to read the registers? Seems like Debug Mode has some default configuration and register values that don't match or get updated when we switch from Configuration Mode. Thanks, David 

  • Hi David, 

    Please go through section 2.11 Using the Debug Mode of GUI user guide - https://www.ti.com/lit/ug/slvub60c/slvub60c.pdf?ts=1622684508732&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FTPS6598X-CONFIG on how to enter debug mode. 

    In debug mode, GUI will start communicating with the device and show the current register values of the device. 

    Thanks

    Prajith

  • Hi Prajith,

      We've followed these steps and no matter how many times we've changed projects and configured our flash everything in Debug Mode never changes. The TI tool reports we're connected. I toggle polling on and off. I have no idea why Debug Mode shows a project and configuration we've never used but it does. I'm working with very experienced consultants who have tested your EVB but they can't figure out how to get Debug Mode to work either. We've relied on GPIO, LEDs etc to check operation.

    FYI: I've conclusively validated we're reconfiguring the flash. I have a project for UFP and another for DFP. Only our UFP configuration successfully enumerates on the host. The DFP configuration does not enumerate. This is the behavior we expect.

    In summary no matter what we do Debug Mode reports settings and values that we have not used on any project. The GUI is not automatically communicating with the device even though it reports it is.

    What else can we try?

    Thanks, David

  • Hi,

    "We've followed these steps and no matter how many times we've changed projects and configured our flash everything in Debug Mode never changes. The TI tool reports we're connected. I toggle polling on and off. I have no idea why Debug Mode shows a project and configuration we've never used but it does."

    >>> I'm yet to get a reply on whether you have checked FW version and customer use register, please share. 

    If you are seeing firmware version f707.10.00, that means its booting from ROM not from SPI flash. 

    If you are seeing correct firmware version but not seeing the configured value in Customer user register (0x06), this means PD controller is not loading device configuration successfully. 

    It seems the boot from SPI flash is not happening properly, that's why GUI is showing register values that's not matching with your project file. May I know if you have checked SPI flash writes during firmware load. 

    Hope you are working on the EVM with default project (not custom board and custom project), please confirm. 

     "I'm working with very experienced consultants who have tested your EVB but they can't figure out how to get Debug Mode to work either."

    >>> Do you mean an FAE from TI already looking into this issue? If yes, please share his/her name. 

    Thanks
    Prajith

  • Hi Prajith,

    FW version: f707.10.09

    Is that correct?

    Debug Mode says we are polling the I2C address of our TI 65988 chip.

    Customer user register does not match our project value.

    I use the GUI to build my 'New Project'. I build one project for DFP. Another project for UFP. I confirm that 'flash from current' project works because I see enumeration when flashed for UFP. No enumeration when flashed for DFP. The HW works as expected.

    The consultant I work with helped design our board. We have two TI 65987 chips one for power delivery and another for communication. He is unable to get Debug Mode to work on the TI EVB and our custom board.

    Thanks, David

  • Hi Prajith,

      Any update? Thanks, David

  • Hello David,

    I have sent you a message, please check. 

    Thanks

    Prajith