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.

Any chance to use terminal for virtual COM port on msp432 launchpad on mac?

Hello people! 

The idea is I am very happy to see CCS coming to mac. The only concern I have now is that under Windows, my MSP432 launchpad is seen by the OS as a couple of virtual COM ports, so I just write some code, open any terminal and can "talk" to my launchpad, or debug through the COM terminal. That is great, because I can send some commands, print debug data and much more. 

So is there an ability to do the same thing under Mac? So that I just could open terminal and talk to my launchpad? Perhaps there is some built-in COM port terminal in CCS? I don't know.. Just any advice would be greatly appreciated.

  • Stanislav Ossovskiy said:
    So is there an ability to do the same thing under Mac? So that I just could open terminal and talk to my launchpad?

    On MacOS, serial ports connected by USB are accessed by /dev/tty.usb* devices.

    After you plugin the Launchpad to a Mac, you can look for its serial ports by opening the Terminal and typing: ls /dev/tty.*
    Then you can use that device name as the Port name when opening the serial port terminal.

    The "screen" command appears to be a quick and easy way to read the serial port on MacOS, like this:

    screen /dev/tty.[yourSerialPortName] [yourBaudRate]

    For example: screen /dev/tty.usbserialXYZ 9600

    Although I haven't used any, I am sure there are other serial port terminal programs for MacOS,which you can probably find by searching the web.

    Hope this helps!

     

  • Thank you AartiG!
    I also found out an app that is called Serial - this is a great terminal which works with virtually anything.
  • Stanislav Ossovskiy said:
    I also found out an app that is called Serial - this is a great terminal which works with virtually anything.

    That's great!

    CCS also has a built-in Terminal view which you can open by going to menu View->Other->Terminal, and then configure it as a serial terminal.

    I just tried it out on Mac and it seems to work well too.

  • Great! Thank you heaps.