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.

TIDA-00817: Unable to open COM port problem on tms570 with bq76PL455_GUI

Part Number: TIDA-00817

Hello. 

I'm working on the TIDA-00817 16ch active balancing BMS board. 

After I found the TIDUBI0 document helping from the TI e2e community, I did the instruction from them. 

In TIDUBI0, p13, to run the demonstration, it says do as follows. 

1. Modify the TMS570LS0432 LaunchPad.

-> Yes I did the modifications. 


2. Program the demonstration software into the TMS570LS0432 device.

-> I'm not sure this instruction. Does it means that install the http://www.ti.com/lit/zip/tidcci7 

and run the sys_main.c code in CCS? 

Anyway. I did install and run it with CCS. 


3. Check the connections between boards and batteries.

-> I checked all the voltage of cells and 12V battery and other connection 


4. Ensure the battery voltages are in the correct range.

-> It is in the correct range.


To start the demonstration, do as follows:
1. Run the demonstration on the TMS570LS0432 LaunchPad.

-> Is it also the same as I mentioned above?


2. Start the GUI on the host PC.

-> After I run the gui, It showed Unable to open com port. 

In Device Manager, Port shows above. 

I checked with the usb to TTL serial cable delivered with EVM board to connect direct from BMS board to host pc. 

It can allow me to enter gui.

In this condition, what can I do to solve this 'unable to open COM port' problem?

One thing I found the difference between direct connection and via tms570 is the LED lighting. 

D4 is light on when I direct connect with bms board ,But when I connect via TMS 570, it is off state. 

Thank you. 

  • Hi Kyoungtak,

    Thank you for your question!

    Could you try following the steps in this thread to determine if the FTDI cable is working correctly for the GUI:

    https://e2e.ti.com/support/power-management/f/196/t/655494?tisearch=e2e-sitesearch&keymatch=unable%20to%20open%20com%20port

    This should provide the steps necessary to install the cable drivers and fix the "Unable to Open COM Port" Issue

    Kind Regards,

    Vince

  • Thank you for your reply. 

    I tried to follow a few threads related to this issue. 

    I checked the link you reply. after that still I have unable to open com port issue. 

    I tried to change tms520 lanch pad, re-soldered but still have the same problem. 

    They are well connected to the proper port. 

    Is there next step I can follow?

    Thank youl 

  • Hello,

    Can you please clarify what you mean by this: "I checked with the usb to TTL serial cable delivered with EVM board to connect direct from BMS board to host pc. It can allow me to enter gui." ?


    Can you please send a picture of your setup (including cable used to communicate to PC) when using the USB to TTL cable you mentioned  and another picutre when using the setup that is not working? I want to understand what is the difference between these.

    Best regards,

    Leslie

  • Thank you for your reply. 

    It means I used the cable delivered with EM1402EVM to connect between EM1402EVM and Host pc

    This is the cable image

    This is the connection between EM1402EVM board and Host PC

       

    Then I can enter the bq gui. with the proper message 

    This is the picture of using mcu and EM142evm Board

    Then I can mee the error message with "unable to open com port" message. 

    Thank you.  

  • Hello,

    Could you ensure all of the steps in parts 4 and 5 of this document have been followed perfectly:

    http://www.ti.com/lit/ug/tidubi0/tidubi0.pdf

    There have been several similar issues mentioned with the COM port, and those two sections consistently assist in debugging the issues.

    Additionally, please monitor the lines with a logic analyzer, as it is possible that because you are connecting a 5V logic line (FTDI cable) to the microcontroller 3.3V logic line, you may have issues. Lastly, with these logic analyzer scope plots, ensure that the data you are expecting is arriving at the correct locations.

    Let me know if you see any strange behavior with the logic analyzer, as I think that will provide the best debugging assistance!

    Regards,

    Vince

  • Thank you for the reply. 

    I'll check with the logic analyzer this weekend, update next Monday again. 

    But I want to make sure one thing. 

    http://www.ti.com/lit/zip/tidcci7

    This is the example code. 

    Before I run the bq76PL455_GUI program, should I run(debug) this example code with CCS?

     Thank you. 

  • Hello,

    Yes, correct! Please run the code alongside the program as described in the document previously linked. Please make sure the code mentioned in the document matches the code you are utilizing.

    Regards,

    Vince

  • Ok. 

    Here is the Logic Analyzer waveform of the signal(TX/RX/nWAKE/nFAULT/VIO/GND) from the TMS570 launchpad. 

    It said that the wake signal is correct to wake the EM1402EVM board. 

    I tried again last weekend.

    1. Checked the proper range of 16 cells to the EM1402EVM board.

    2. COM port is well open between EM1402EVM board and host pc. 

    3. Double-checked with installing proper VCP driver from the FTDI website. 

    4. SW1 switch is on a SINGLE position. 

    5. 12V external battery is well connected (11.57V) 

    6. In other thread, he said there might be an interaction for the default COM port number, I tried to change the other one, It didn't work. 

    7. I tried to double-check the cable connection. 

        I found two documents which explain the different pin connection.

        In TIDUBI0 document, J7-2(FLT_N) is connected to the J2-3(GIOA0), J7-6(/WAKE) is connected to the J1-10(SPICS3) 

        In SNOU143 document, J7-2(nFAULT) is connected to the J2-4(GIOA1), J7-6(nWAKE) is connected to the J2-3(GIOA0)  

        I tried both connection instruction, it didn't help to open the COM port. 

    Please help me to open the COM port. What can I check more?

  • Ok. 

    I finally can open the COM port. 

    https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/689252

    This thread helped me. 

    Problem is The example code in 

    http://www.ti.com/tool/EM1402EVM

    is what I have used until today. But with this code definitely not work. 

    But the code I can get it from this page : 

    http://www.ti.com/tool/TIDM-TMS570BMS#technicaldocuments

    The File Link :

    www.ti.com/.../tidcbz0

    After I import this project with CCS 6.2, I can open the COM port. 

    whether the balancing is work or not, I can run the GUI with this. 

    I hope it will help someone who has the same issue. 

    Thank you.