chipKIT® Development Platform

Inspired by Arduino™

Tools > Serial Port greyed out

Created Sun, 13 Nov 2011 16:21:52 +0000 by matheas


matheas

Sun, 13 Nov 2011 16:21:52 +0000

Hi everybody,

I'm new to MPIDI. I installed the IDE in Ubuntu 10.04 with sudo into /usr/local/mpide-0022-linux32-20110822. Afterwards I used sudo chmod +s mpide to turn the set user id on.

Unfortunately, the Serial Port in the Tools menu is gray.

Does somebody have a suggestion how to solve this?

Cheers,

Matheas


Jacob Christ

Sun, 13 Nov 2011 22:31:27 +0000

Did you install the librxtx-java? Also you need to install all the AVR tools...

See the wiki: http://www.chipkit.cc/wiki/index.php?title=MPIDE_Installation#Linux

Jacob


matheas

Mon, 14 Nov 2011 08:09:09 +0000

Hi Jacob,

Thank you for your reply.

I already installed librxtx-java and the AVR tools, but this makes no difference.

Matheas


Jacob Christ

Mon, 14 Nov 2011 08:20:31 +0000

If you do a: sudo dmsg -c then plug in your chipKIT then do another dmsg does can you see that the board is being recognized?

Also does the serial port show up in /dev/? I think it will show up as ttyUSB0 (unless you have other FTDI devices pluged in).

Jacob


vbatts

Sun, 19 Feb 2012 21:05:32 +0000

two things to check, while your device is plugged in.

$> ls -l /dev/ttyUSB*

you will likely see that the device is owned by root, but will be in a group like "dialout", then try:

$> id <your username>

Hopefully your user is in the group that the /dev/ttyUSB* is in, if not, you need to add your user to that group, then log all the way out, and back in. A quick command line way to accomplish this (as root) is:

#> usermod -G $(id -Gn <your username> | tr ' ' ','),dialout <your username>

Take care, vb