Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.