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.

MSP-FET: Serial output via MSP-FET on Linux

Part Number: MSP-FET

Hi I am using the MSP-FET device connected to a MSP430 microcontroller and I was able to output through the serial port on Windows after installing CCS Studio and the drivers that come along with it.

In Windows, I use PUTTY/Teraterm and all I have to do is specify the COM port to see the serial output that the microcontroller was generating.

On Linux, when I hook up the MSP FET via USB, I get the device /dev/ttyACM0 and /dev/ttyACM1 and the cdc_acm driver gets loaded. I installed CCS Studio and ran the driver install scripts. It seems that the UDEV rules were placed in /etc/udev.d/ correctly (Ubuntu 23.04). But when I try to use PUTTY or just using plain cat on the ACM* devices, I get no output. I am able to use things like mspdebug to connect to the FET though.

Is there something I have to do on Linux to get serial output? I read that we have to modify the driver loaded for CDC_ACM to make it not see it as a modem, is that part of a reason why it is not seeing it as a serial output?

  • I have no trouble using "minicom -D /dev/ttyACM1".

    WIth appropriate settings for bit rate and such of course.

  • After messing around with the serial settings via stty, cat /dev/ttyACM1 and putty works now. Here is my stty settings dump for the sake of completeness.

    stty -a -F /dev/ttyACM1

    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S;
    susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
    -parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal -crtscts
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8
    -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke -flusho -extproc

**Attention** This is a public forum