Terminal Window for CCSv5 w/SSH, Telnet, and Serial support (COM)

This is an EXTREMELY useful add-on (plug-in) for CCS that I discovered and I thought I would share this with the Community and how to set it up. Not sure why it isn't supplied with CCS as a standard, but it's not. Being able to connect your PC (especially Windows 7) via a COM port to an eval. board is essential sometimes, and being able to do it through your IDE is ... well, nice.

This support comes in 2 pieces. The first, Target Management Terminal, is from Eclipse. The repository is actually already listed in CCSv5, it has simply been disabled. To enable this, go to Help ->  Install New Software, and click the Blue link "Available Software Sites" in the top section of the window pane. This brings up the Available Sites window pane, and if you scroll through the listed sites, you'll see several that have no names, just URLs. Find the one for http://download.eclipse.org/tm/updates/3.3 and label it Target Management. Then click on the check-box next to it to Enable it. Click OK.

Now, you should be back to the Install New Software pane. The Target Management selection should be there. Select it. It should populate out a list of possible additions. Open up TM and RSE 3.3.1 Main Features by click on the arrow icon next to it. You'll see Target Management Terminal. Select it, and install it. CCS should ask you to restart, and please do! This package installs the Terminal plug-in, and you can pull it up with Window->Show View->Other (the first time)->Terminal. The Terminal window should pop up right next to your Console or Problems window. You will see Iicons to the right: a Connection icon, a Settings icon, and a New Terminal Connection icon - all enabled. If you go to Settings, and pull down the Connection Type list, you will see Telnet, SSH, and Serial support. Don't select Serial as yet, you will get an error due to RXTX not being installed.

RXTX is the second piece (plug-in) needed to establish a serial connection. Add the following using Install New Software -> Add ...

Name:   RXTX
Location: http://rxtx.qbang.org/eclipse/

Pick either version (not sure what works on what,) and install. This will install the RXTX Serial API and drivers needed by the Target Management Terminal. CCS will ask you to restart again, let it. Now, go to your Terminal window -> Settings, and select Serial connection. You will see the typical Serial settings like COM port, baud rate, start and stop bits, parity, etc. Connect up your EVM Serial port with a cable and ...

ENJOY!!! 

 

6 Replies

  • Hi Gerry,

    Thanks for the tip! Those plug-ins are a favorite of mine also. We just ship with stock Eclipse and not any additional plug-ins (besides TI content) since that is the preferred platform. But we certainly encourage people to drop in any plug-ins they find useful.

    There is also an existing wiki topic on the terminal plug-in which has some screenshots for others who are curious:

    http://processors.wiki.ti.com/index.php/How_to_install_the_terminal_plugin_in_CCSv5

    Thanks

    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training? Check out the CCS Training Site

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

  • In reply to Ki-Soo Lee:

    Hello!

    I wonder if anybody can help me.

    I have installed Target Management Terminal and RXTX End-user Runtime (CCS 5.2 Linux).

    SSH and Telnet work fine, but when I am trying to use Serial, CCS gives this error message window:

    ------------------------------------------------------------------------

    Cannot initialize Serial:
    The RXTX library has not been installed properly!

    Installation:
    -------------
    * Either (a) Use Help > Software Updates, Add Site and install from:
       http://rxtx.qbang.org/eclipse/
    * Or (b) Download and install RXTX for Eclipse from:
       http://rxtx.qbang.org/eclipse/downloads/

    For other Platforms, more info and help see
       http://www.rxtx.org/
       https://bugs.eclipse.org/bugs/show_bug.cgi?id=175336#c6

    -----------------------------------------------------------------------

    Is there any way to solve such issue?

  • In reply to Dmitry Gorulko:

    Hi Dmitry.

    CCSv5.2 comes with the RXTX plugin by default. So all you would need to install in the Terminal plug-in.

    The problem is if you reinstall the RXTX plug-in, it causes some issue where either the existing plug-in is broken or the newly installed one is broken. I haven't confirm that this is indeed the case in your case but I observed this on my own laptop when I did the same thing. You can try completely removing the RXTX plug-in and reinstall.

     ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training? Check out the CCS Training Site

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

  • In reply to Ki-Soo Lee:

    Hello Ki-Soo!

    Today I have uninstalled and then install CCS 5.2 Linux again. Then I installed Terminal plug-in.

    Unfortunatelly still have the same error message.

    Search in files shows RXTXcomm.jar presents in two places:

    /ti/ccsv5/eclipse/jre/lib/ext

    and

    /ti/ccsv5/eclipse/plugins/com.ti.dvt.datamodel_3.2.0.201205011655/extensions

  • Hi,

    I'm new to this and having difficulties with Console output from the eks-lm4f232 evaluation board. I was able to perform the first operation of your message but not the second, i.e. http://rxtx.qbang.org/eclipse/ . My web browser gets a "read time-out" error. Any help?

     

    Steve

  • In reply to Steven Barnett:

    All:

    I was successful at pulling down the Terminal option, but I have a problem...

    Is there a way to connect to "non-standard" BAUD  rate?

    Our particular target has a BAUD rate of 2048000. I have found that I can use Tera Term to connect, but when I try to use the Terminal plug-in for CCS (5.4), all I get are the standard BAUD rates. On Tera Term, I type in the value instead of choosing the standard BAUD rates, and it finds a rate that is close enough to allow me to see my UART output.

    Regards,

    Todd Anderson