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.

Code Composure Studio serial terminal

Other Parts Discussed in Thread: ENERGIA

Using CCS v6.2, trying to trace trough a simple Energia project (serial read). Imported Energia 17 in CCS.

How do I input to serial?

1. Project open in CCS simple perspective

2. I can open a terminal (Ctrl+Alt+Shift+T) but the terminal is like a command prompt where you can't input serial data. 

If I go to 'CCS Edit' perspective I can open terminal from "View>Other>Terminal" but I still cant input in this terminal. 

Please suggest.

  • When you open the Terminal View try clicking on the button on the right to open a new terminal.  that will bring up a dialog to configure the terminal

    You can change the terminal to be a serial terminal. 

    Is that what you are looking for?

    Regards,

    John

  • Thanks John. Yes thats what I am looking for. Except, I can't input anything in the serial terminal when I open it the way you suggested. 

    I put a breakpoint in the 

    if (Serial.available() > 0) 

     line and was expecting to be able to input something in the terminal. 

    Please see the screenshot here http://imgur.com/a/BGxZt

  • Here is a screen shot of the uart_echo example that is part of TivaWare.  I have configured the terminal to match the COM port settings when my LaunchPad is plugged in (COM136, baud 115,200).

    It prompts me to enter text in the terminal and I am able to do so.

    Thus it looks like the terminal will take input fine.  

    I see that you are using Energia.  I tried some Energia examples but I was having issues getting them running properly.  Note that while your program is halted at the breakpoint it is not going to be able to read the value.  You may also want to check the baud value in the Energia sketch.  For the TIva/TM4 programs I have used it has always been set to 115200.

    Regards,

    John