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.

Piccolo MCU controlstick USB communication as stand alone

I have a Piccolo MCU controlstick. I ran all the labs fine.

I have a question regarding USB communication to the controlstick.

I can use the CCS to program the controlstick. After that can I go on a stand alone mode and communicate to the PC through USB without the CCS?

Can we communicate from a C# program in Visual Studio?

  • It is my understanding the USB interface on the controlStick only supports connection to the XDS100 emulator on the board (ie. for JTAG support).

    I don't believe there is a secondary communication logical port, like a Virtual COM port supported.

  • I looked at the USB control stick schematic. I see that the TCK, TDI, TDO, TMS, TRSTn lines are connected between the FT2232D and the F28027 which I believe do the JTAG emulator function.

    I also see  TX slave and RX Slave are connected. I do not think these lines have anything to do with JTAG.

    Does it mean that these two lines can be used for serial communication?

  • In short, yes. 

    The FT2232 supports two ports.  One of these ports we are using for JTAG, the other can be used for SCI(UART) communications.  On the controlSTICK this was a trial feature that we had wanted to try out, and unfortunately still haven't gotten the opportunity to explore. At this point it is still an "unofficial" and "untested" feature.

    To run this serial port you will need to reprogram the FTDI chip (see more information: http://e2e.ti.com/forums/t/6237.aspx).  We have seen that this serial port is somewhat on the slow side, likely because of the FTDI chip itself.

    Good luck with your project.


    Thank you,
    Brett Larimore

     

  • Thanks for the prompt reply. I will try that. I have couple of questions on this.

    1.  I would like to know whether the FTDI chip reprogramming  is a reversible process. If it does not work how do I go back to the original configuration which was shipped with the control stick?

    2. In the trail Charlie says "Also, if you are using the Experimenter's Kit as an external USB emulator be aware that it is not designed to function as such. From what other customers have said only very short cable lenghts work." What cable length is he referring to? Is this the USB cable which is shipped with the unit?

    Thanks

     

  • 1) The file that Charlie sent to program the FTDI with is the equivalent to the one that is already programmed into your device, except that the second port is now configured to be a virtual com port.  The FTDI can be programmed multiple times. I however do not foresee any reason to go back to your original configuration.

    2) Charlie is referring to using the usb-to-jtag emulator found on various EVMs including the Experimenter's Kits.  His comments are not applicable to the controlSTICK.


    Thank you,
    Brett

  • Thanks.

    I will try it and report if there are any problems.