Jump to content

Issues with MSP430G2 HW UART on Ubuntu 14.04

Recommended Posts

I'm using the same version of Ubuntu with no real problems.  Could you post what you see that indicates the port shutting down?  Is it dmesg ouput?


I've got rules in /etc/udev/rules.d/ to blacklist Modem Manager for TI devices.  I had a custom set but I think that the TI/Red Hat GCC or Energia installed something newer.





ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
ENV{DEVTYPE}!="usb_device",  GOTO="mm_usb_device_blacklist_end"
# TI USB Emulators
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0010", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0013", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0014", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0203", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0204", ENV{ID_MM_DEVICE_IGNORE}="1"
Link to post
Share on other sites

I have had better results using a separate USB-Serial (TTL) adapter wired to P1.1 & P1.2 and pulling the rx/tx jumpers.  The FET still works via the onboard USB & I can run 115200 baud. I generally use Putty. The FET needs to be connected before starting Energia and doesn't seem to handle swapping TI devices while it is running, but I have been able to swap serial adapters.


I have these udev rules:



#Arduino UNO
Link to post
Share on other sites

I'm usually stuck with the same problem, the serial connection just looks stuck while mspdebug etc works. It appears that the TI CDC ACM implementation on the Launchpad causes some issues with the Linux CDC ACM driver. The fix here however works for me:




It requires recompiling the CDC ACM module, but is not that complicated.


USB to serial adapters are of course another option. I'm making good use of the CP2102/9 based ones as some have the full range of serial lines available, and can provide up to 100mA. Plus you can use faster speeds.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...