Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

TPS65987DJEVM: TPS65987

Part Number: TPS65987DJEVM
Other Parts Discussed in Thread: TPS65987

I am trying to recover firmware on the TPS65987EVM.

I opened the tool and used command Device -> Re-Flash EVM Firmware (Recovery).

I selected proper binary and select OK.

I get following exception. How to get rid of it? Only things connected to the EVM are +20V power supply and micro USB cable to my laptop. USB-C connector is not used.



Thanks

  • Is it possible to get the project file (.pjt) for this default project?
    I can load that project and then use Binary -> Flash from current project command to program the flash.
    I want to make USB-C on EVM board like a laptop USB-C as mentioned in the EVM documentation.

    Thanks

  • Hello,

    Please see the project file from Project->New Project->TPS65987DDH->Standard-> DRP, prefers power source.

    Regards,
    Chris

  • I can flash the binary, but when I connect USB-C power bank to EVM, it doesn't negotiate to 20V operation.
    Power bank works fine, when I connect to external USB-C power supply.

  • Hello,

        Please confirm that the project file does include the 20V contract (Transmit Source Capabilities).  Is any voltage negotiated?

    Regards,
    Chris

  • 20V source is included. But it sources 5V only.

    Thanks.

  • Hello,

    Do you have the ability to connect a PD analyzer to see what is advertised and requested for a power source?  If not, then can you connect a thumb drive to confirm if the 5V is being supplied by the EVM?  

    Regards,

    Chris

  • Hi Chris,

    When I connect the thumb drive I do get 5V at Vbus TP.

    This morning I reprogrammed my EVM as you recommended. Now when I connect my EVM to USB-C power bank, I do get 20V at the Vbus. I placed a USB-C power meter between EVM and the power bank. The direction of the power is from power bank to EVM. It should be other way. In my setup I made # of sink PDOs to 0. EVM should be sourcing but looks like its sinking. The J4 jumper is between pins 1 & 2 (default) and J5 jumper is between pins 2 & 3 (default). None of the source LEDs (5/9/12/20V) is ON. One of them should be ON, if EVM is sourcing. 

    Then I tried the advanced set up and did same exercise as above. I got the same results.

    How can I get EVM to work in the source mode only?
    BYW, I tested my power bank with 12V USB-C car battery charger and it works properly. I get 11V @ 1.67A on the power meter and the direction of the power is from car battery charger to power bank.

    Thanks

    Kiran

  • Hello,

    Can you change the Port Configuration from DRP to UFP and remove Process Swap to DFP in the Port Control?

    Regards,
    Chris

  • Hi Chris,

    I tried to do as per your instructions, but now when I do "Flash from current file", it erases the memory and completes the programming. But I got an error, "SPI Flash to device failed verification". I power cycled the EVM and my laptop, but still the same issue. Now when I connect EVM to the power bank, Vbus is at 5V and direction is from power bank to EVM.

    Looks like I will have to purchase a new EVM.

    Thanks

    Kiran

  • Hello,

    Sorry to hear that.  Please let me know if you have any issues getting a new EVM.

    Chris

  • Hi Chris,

    EVM is working properly today. Last time you asked to do following;
    Can you change the Port Configuration from DRP to UFP and remove Process Swap to DFP in the Port Control?

    I managed to change from DRP to UFP. But I don't see Process Swap to DFP in the Port Control.
    I see following;

    Please recommend appropriate location.

    Thanks

    Kiran

  • Hello,

    Sorry, wrong register.  It is the Port Configuration register:

    Regards,

    Chris

  • Hi Chris,

    We tried your recommendation, but it did not work with the power bank.
    Then I connected to our End Unit and it worked for few seconds and then it switches between 5V and 20V sourcing. By looking at the EZ-PD USB-C analyser, we find that EVM keeps on resetting every few seconds.

    Other issue is with my laptop flashing is an issue. I can't flash the binary on the EVM and program flash from current project is not reliable. It works some days and doesn't work some days. I reinstalled the GUI several times, but same issue. My co-worker used the same program to install GUI and he has no problem. He can even flash the binary. What could be wrong with my laptop?
    Thanks

    Kiran

  • Hello,

    For the resetting issue, can you capture the PD log with the EZ-PD analyzer?  I am looking for a request from the power bank which the EVM rejects or some other timeout in which the EVM (or the power bank) issues are hard reset.

    A couple of things to check with your setup.  

    (1) What is the driver being used on your computer and is it the same as what your co-worker is using?

    (2) What comm ports come up in the device manager when you are attempting to program? Can you remove other devices so that only the EVM is present (if applicable)? 

    Regards,

    Chris

  • Hi Chris,

    Thanks for the recommendation for using only EVM to my laptop. I was using a USB hub between my laptop and my multiple EVMs. When I connected TPS65987EVM directly to my laptop, I could flash the memory from my current project and verification with success. I still can't flash from a binary. But that's OK for time being, since I can use the project to flash. For the time being I am going to wait to make EVM work with my power bank.

    Next, I am going to use EVM in the sink mode only like our end product using TPS65987 and two rechargeable batteries. We have made a cable, which has 12V battery connection at one end and USB-C connector (5V @ 0.9A) at the other end. We are trying to use this cable to charge our unit from the truck battery. I want to emulate our unit with TPS65987EVM. I will advise you on the progress tomorrow.

    If you have any recommendations, please let me know.
    Thanks

    Kiran