Programming with Arduino from external Linux PC

Discussion in 'Arduino IDE' started by ufechner, Nov 21, 2013.

  1. ufechner

    ufechner New Member

    Joined:
    Nov 4, 2013
    Messages:
    10
    Likes Received:
    0
    Hello,

    I try to program the arduino with the official, patched IDE from a second PC (Ubuntu 12.04, 64 bits).
    I followed the instructions on:
    http://www.udoo.org/ProjectsAndTutorial ... lioID=1394

    Open questions:
    1. shall I select Arduino Duo-> Programming port or Arduiono-> Duo native usb port?
    2. whatever I select, programming fails with the message "No board found at the selected port..."

    But I cannot even select a port, the menu entry Tools->Port is disabled.

    If I plug in the usb cable to the board I can see the following entry if I do lsusb:
    Bus 003 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device

    So I guess that the hardware connection is established.

    Do I need a special driver?

    Any hints welcome.

    Uwe Fechner
     
  2. ufechner

    ufechner New Member

    Joined:
    Nov 4, 2013
    Messages:
    10
    Likes Received:
    0
    Hello,
    I could solve this problem myself. :D

    1. add yourself to the group dialout:
    sudo adduser <USERNAME> dialout

    2. log out and log in again (otherwise this change
    does not became valid)

    3. in the IDE, select Arduino Due, programming port

    4. in tools->port select /dev/ttyUSB0

    It would be nice if these hints could be added to the tutorial.

    Best regards:

    Uwe
     
  3. Lifeboat_Jim

    Lifeboat_Jim New Member

    Joined:
    Sep 16, 2013
    Messages:
    399
    Likes Received:
    1
    Hi Uwe

    Great that not only you solved your issue, but you reported back here with clear steps for others. Many thanks! :)

    Good point on the documentation, hopefully the technical authors won't forget but we'll nudge them till they get it done.
     
  4. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    Hi Uwe,

    Glad you solved the problem by yourself ;)
    I'll definitely contact the tutorials authors. They will surely add the hints!

    Cheers
     
  5. pavelexpertov

    pavelexpertov New Member

    Joined:
    Jun 14, 2013
    Messages:
    15
    Likes Received:
    0
    But on a linux side, what does the 'dialout' command do? Does it give user more rights or priveleges?
     
  6. josolanes

    josolanes New Member

    Joined:
    Oct 14, 2013
    Messages:
    64
    Likes Received:
    0
    pavelexpertov, what the "sudo adduser <USERNAME> dialout" command is doing is adding the user to the dialout group, which is the group required by a user to interact with serial devices (such as ttyUSB0)
     
  7. pavelexpertov

    pavelexpertov New Member

    Joined:
    Jun 14, 2013
    Messages:
    15
    Likes Received:
    0
    Thanks for reply!!!!!!
     

Share This Page