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.

Linux terminal for Launchpad VCP

Other Parts Discussed in Thread: ENERGIA, MSP430F5529, CC3100, CC3200

Hi,

in Linux (Ubuntu) I would like to open a terminal and connect to the Launchpad's virtual COM port to see UART output.

I see the device with lsusb but do not get ttyUSB devices in /dev as I would expect.

Do you have some advice what I might be missing?

Thank you,

Frank

  • Hi Frank,

    All you need is a udev rule to get this going. Ubuntu should by default already have the FTDI driver installed. If not then you can install it. You can find the udev rule and how to install it on the Energia website: http://energia.nu/guide/guide_linux/

    Robert

  • Frank, I've been compiling information (along with several others) about developing for the 3200 under linux here: https://hackpad.com/Using-the-CC3200-Launchpad-Under-Linux-Rrol11xo7NQ Should be enough to get you started.

  • Yes, this was the missing link. I added a new udev rule by adding a new file in /etc/udev/rules.d/ with the following contents:

    ATTRS{idVendor}=="0451",ATTRS{idProduct}=="c32a",MODE="0666",GROUP="plugdev",RUN+="/sbin/modprobe ftdi-sio",RUN+="/bin/sh -c '/bin/echo 0451 c32a > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'"

    With this rule, /dev/ttyUSB0 and /dev/ttyUSB1 will appear when you connect the Launchpad.

    You can then connect to /dev/ttyUSB1 with, e.g., minicom. I had to go to the options and disable hardware flow control.

    Thank you,

    Frank

  • Hi Frank, et. al.,

    I am trying to make this work on the CC3100, not the CC3200.  Using your notes above I was able to program with energia, and I see ttyACM0 and ttyACM1 when I plug in the MSP430F5529, but I don't get the console output like I've seen on Windows on either ttyACM0 or ttyACM1.

    Any ideas why, or how to fix this so I can see debugging messages on minicom?

    Thanks,

    Rob