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.

CCS/CODECOMPOSER: Mac OSX/Cannot receive console output

Part Number: CODECOMPOSER


Tool/software: Code Composer Studio

I am using CCS7 on Mac OSX Sierra.

When debugging, I cannot receive console data.  Meaning, when performing a Debug/Run:

1. the output window has been successfully initialized and the code is running fine, but no output is going to Console in the IDE.

2. I use the Serial program to make UART connections to devices.  I see there are two ports available when connecting to the device, and the debugger occupies the first port. When connecting Serial to the second port, I do not receive anything. 

3. When I disconnect CCS7 from the device (while still in Debug/Run mode), I connect Serial to the first port and I receive output.

So, in my mind there are really two questions here.

1. How can I receive output in the CCS7 IDE (maybe this is a Mac OSX issue?).

2. Is there a way to change the output handle to the second UART port (this might be a stupid, naive question - I am still learning the TI development ecosystem).

  • Richard,

    What device are you using?

    UART output will go to the Terminal View in CCS.  You can open that from the View menu.  You then configure it for the port you are connected to.

    For example I am using an MSP432 LaunchPad.  I have the UART Echo example from the SImpleLink SDK loaded.

    After opening the terminal view I click on the button below

    I then config the port

    For me this is actually the first of the 2 ports added by the LaunchPad

    I then get the output in the Terminal View.  

    You may need to pause the program, hit reset and run it again to see the initial prompt in the console as it only happens during init and if you open the terminal view after that it will not show up.

    Regards,

    John

  • Okay, thank you very much! What happened is I went to Window > Show View, and didn't see anything there relevant. After seeing this, I went into Other... and there it was.

    I am now seeing the terminal (not console) output.

    Perhaps it should be part of the default Debug View? Not necessarily with it connected with defaults, but at least it's there and the user would be led to configuring it?
  • Things are a bit confusing. You have the Console View which supports consoles such as the build console (built output), debug console (output from the debugger). Then there is the terminal view which supports serial, telnet, local (OS terminal). I don't know exactly why Eclipse has them separate. I suppose it is mostly related to how for most host/web developers the items that are in the Terminal view are less used. The terminal view is also neat in the you can add plug-ins to it to add addition types of terminals.

    The debug view is mostly used for showing and controlling debug context.

    The main issue is as you pointed out. How to know to go to the terminal?

    John
  • Yes, that's it! Thanks!