Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to Ubuntu and I need to establish a serial port communication between my PC and microcontroller MSP430G2452.

On connection the USB available with the Launchpad and using lsusb.

It identifies the port as:

Bus 005 Device 003: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool

After establishing such a connection what I need to do? My aim is to send a byte of information in Linux.

share|improve this question

migrated from stackoverflow.com Jun 30 '11 at 8:18

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

If linux understands that device and has a driver for it then you should find that a /dev/ttyUSBn device appears when you plug it in, which is a serial port that you can use.

If linux doesn't understand it already then you're going to have to write a driver for it, or find one that somebody else has written that you can use.

share|improve this answer
    
Thanks :) I was able to send 1 byte data using GtkTerm. But I need to send it indirectly using my GUI. Can you suggest what to do for that ?? – Prashant Singh Jun 30 '11 at 8:11
    
@Prashant: Use standard Linux file open/write/close functions. – grawity Jun 30 '11 at 10:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .