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.

TMS320F28379S: C2000Ware - Serial Port Connectivity to PC for usb_host_msc Example

Part Number: TMS320F28379S
Other Parts Discussed in Thread: C2000WARE

I have a serial port connectivity question about the usb_host_msc example found in C2000Ware for a TMS320F28379 ControlCard. The comments at the top of the file “usb_host_msc.c” state the following:

 

“The first UART, which is connected to the FTDI virtual serial port on the controlCARD board, is configured for 115,200 bits per second, and 8-N-1 mode. When the program is started a message will be printed to the terminal.  Type ``help'' for command help.  After loading and running the example, open a serial terminal with the above settings to open the command prompt.”

 

The document “F2837xS_DEV_USER_GUIDE.pdf” section “5.110 USB Mass Storage Class Host” in the C2000Ware folder does not provide any additional information.

 

Please explain the physical connection between my PC and the ControlCard’s “FTDI virtual serial port”; what type of cable and where does it connect on ControlCard and where does it connect on PC. And what program do I use on my Windows 7 PC for the “serial terminal”.

  • Hi Eric,

    The PC and the Control Card needs to be connected with a Mini USB Cable and after loading and running the example, open a serial terminal with the
    above settings to open the command prompt. Then connect a USB MSC device to the microUSB port on the top of the controlCARD.

    You can use any serial terminal for eg. Putty or Tera Term.

    Thanks and Regards
    Harshmeet Singh

  • Thanks.  Is it the same cable that is used for the xds100v2 that comes with the controlCARD?

    What about the two A:SW1 switch positions on the controlCARD?  Do these two switches need to be in different positions for Loading vs. serial-terminal?

    Eric

  • Yes it is the same.

    For me i can see the switches pointing towards the upward side when I hold the control card. I ran the example yesterday and it worked.

    Thanks and Regards

    Harshmeet Singh

  • Thanks for the reply.  I am a little puzzled ... How can the same serial port on the controlCARD be used for both at the same time; 1) a JTAG connection for loading/debugging, and 2) a serial UART for the remote terminal for the application?  The usb_host_msc example in C2000Ware is loaded and executed from RAM, thus the JTAG connection is needed, but after starting execution then the UART connection is needed.  Can you explain how this is possible?  Thanks.

    Eric

  • There are two channels of communication through an FTDI chip on the controlCARD which enable both JTAG and serial communication.

    sal