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.

USB-PD-CHG-EVM-01: USB2ANY does not show com port

Part Number: USB-PD-CHG-EVM-01
Other Parts Discussed in Thread: USB2ANY, TPS25750, BQ25792

Hi,

I bought USB-PD-CHG-EVM-01 and in order to program it I saw in "Order & start development" that I need USB2ANY so I bought it also.

I have seen in one video that it can be very easily programmed with the TPS25750 application customization tool but I see that it need to be connected with a COM port.

The problem is that USB2ANY appears only as HID and not as COM port.

Did I make any mistake with the connection?

I have seen the the right connection from USB2ANY to the EVM and made the right connection between them.
The USB2ANY Explorer software recognize the USB2ANY board

If I am correct I need to program the TPS25750 and it will handle the BQ25792.

  • Hello,

    The USB2ANY header is connected to the I2Cs lines where it will control the TPS25750 as a slave. You can use the USB2ANY in combination with the 4cc commands "I2Cw" and "I2Cr" to communicate with a battery charger, EEPROM, etc. from the I2Cs lines to the I2Cm lines. If you would prefer to use the Charger GUI with the USB2ANY, please follow the linked post below.

    e2e.ti.com/.../3690199

    If you would like to program the EEPROM, you will follow the below steps.

    1. Use the TPS25750 Customization Tool to select your parameters.

    2. Generate the full flash binary.

    3. Power on the board and program the EEPROM using the binary. You can use J5 with the Aardvark by Total Phase for this as an example.

    4. Power cycle the board.

    Thanks,

    Mike Emanuel
    Please click "Resolved" if this answered your question.

  • Mike,

    I want to program the TPS with the TPS25750 Customization Tool.

    It does not let me program it unless a com port is available. My USB2ANY does not provide that com port.

    Can you help me with that? I have connected the I2C lines as explained on J7 connector. 

    Please explain it as detailed as you can because after reading the documentation and the forum I am still unable to make it work.

    My gear is what is USB2ANY and the USB-PD-CHG-EVM-01 as described at https://www.ti.com/tool/USB-PD-CHG-EVM-01 on Order & start development section

  • Hello,

    You cannot use the USB2ANY to program the TPS25750 directly from the Customization tool. The USB2ANY can be used with its associated J3 header to use the pass through feature of the TPS25750 or when combined with jumper wires to see the CHARGER GUI via J7.

    You will have to generate the full flash binary from the online tool and then use an I2C programmer to flash the EEPROM. I briefly outlined an example programming in the last post so I will explain in a more broken out way.

    To program the EEPROM:

    1. Use the TPS25750 Customization Tool to select your parameters.

    2. Generate the full flash binary.

    3. Power on the board.

    4. Flash the EEPROM with the full flash binary using the I2C pins on J5 with a flash programmer. I use the Aardvark by Total Phase and its associated programmer Flash-Center. You can also try the <https://www.amazon.com/Organizer-Socket-Adpter-Programmer-CH341A/dp/B07R5LPTYM/ref=sr_1_5?dchild=1&keywords=eeprom+programmer&qid=1621625310&sr=8-5> for an alternative solution. This solution I think doesn't need power to the board to work and just clips on to the EEPROM.

    5. Power cycle the board.

    Thanks,

    Mike Emanuel

    Please click "Resolved" if this answered your question.

  • Hello,

    I understand that I cannot use USB2ANY directly with the Customization tool.

    But I didn't understand how I can program the TPS with the USB2ANY after I download the binary, without buying new programmer.

    Could you elaborate? Also in order to power on the board should I just connect the battery(J5)?

    ps. The previous answer did not resolve my issue. I hit it accidentally and  I do not see how to undo it.

  • Hello,

    Let me be more clear. The USB2ANY cannot program the TPS25750 by default. The header for it is not connected to the EEPROM. You are welcome to write software for the USB2ANY, that involved the 4CC commands, to write code to go through the pass through and flash the EEPROM. I gave several solutions to program the TPS25750 of various price ranges and ease of use. The user guide for the reference design says on page 12,

    "When all of the questions are answered, the configuration file is ready to be programmed. There are a few options here to do so, the simplest is to use the Flash To Device From Current Configuration Option that connects the Tool to a connected Tiva chip on the board, for example. Another option is to export the binary using the Generate Full Flash Binary option and then using an external program, such as the Aardvark by Total Phase to program the selected configurations to the TPS25750D."

    The battery does not connect on J5, that is for the aardvark as stated by the silk screen. The battery connects on J2. Make sure you are within the battery range for the cell jumper select on JP1, JP2, and JP3.

    Thanks,

    Mike Emanuel

    Please click "Resolved" if this answered your question.

  • Hi,

    Yes I meant J2 for battery my mistake.

    I will by the programmer you suggested from amazon.  

    So the USB2ANY is useless by default for programming? I bought for ease of use to start using USB-pd without the headache of creating pcb and writing custom firmware. That's the philosophy of EVMs right?

    Is there any guide or article on how I can use the USB2ANY or what is for? Any program to use without writing my own software?

    Thank you

  • The USB2ANY provides an interface to the TPS25750 when used in conjunction with the TRM. It also provides an interface to talk to the BQ25792 with some additional wires.

    The Aardvark header was included as an option to program the EVM. We did not include the programming hardware beyond the header for the EEPROM to reduce solution size. The Amazon solution will let you program the EVM without having the BOM on your board.

    Thanks,

    Mike Emanuel