Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Arduino Serialport not found

  1. #1
    Join Date
    Jan 2011
    Beans
    16

    Arduino Serialport not found

    Hi all,

    I recently changed from Windows 7 to Ubuntu, and i have a problem using my Arduino duemilanove. I plug it in a usb port, starting the Arduino IDE, witch i downloadet from ubuntu softwarecenter. I Then go to "Tools > Board" and select the right boarb. But here is the problem: The "Serialport" menu is greyed out. I can't upload my code to the arduino. Im runnig Ubuntu 11.04 with kernel ver. 2.6-38-8. I treid running
    Code:
    ls /dev/ttyUSB0
    in the terminal with the result of:
    Code:
    ls: cannot access /dev/ttyUSB0: No such file or directory
    Does anyone have a suggestion?

    Thank you in advice
    Adam

  2. #2
    Join Date
    Apr 2007
    Beans
    364

    Re: Arduino Serialport not found

    After plugging in the Arduino, do a dmesg and see what is happening - if it mounts you will see the device path in there. Also, try the command "lsusb" and see if it shows up. I have used the Arduino bootloader with no issues in 11.04, so it is possible!

  3. #3
    Join Date
    Jan 2011
    Beans
    16

    Re: Arduino Serialport not found

    Hi, thanks for the suggestion. Lol i found the solution: I tried with another USB cable. Thats it

  4. #4
    Join Date
    May 2011
    Beans
    4

    Re: Arduino Serialport not found

    I'm new to arduino so i could be doing something wrong, but i'm getting a very similar problem.
    When i first connect the board i can upload a new sketch, but after making changes i can not up load anything again. This is when the error message about serial ports not being found happens.
    I tried everything listed above and can't figure it out. Anyother ideas?

  5. #5
    Join Date
    Apr 2007
    Beans
    364

    Re: Arduino Serialport not found

    Quote Originally Posted by marcusm11 View Post
    When i first connect the board i can upload a new sketch, but after making changes i can not up load anything again. This is when the error message about serial ports not being found happens.
    What do you have to do to get it working again?

    Also, what is the model of the Arduino?

  6. #6
    Join Date
    May 2011
    Beans
    4

    Re: Arduino Serialport not found

    Its an Arduino Uno.
    I'm not sure what actually resets it but its always the first sketch i try. so probably just restarting the computer

  7. #7
    Join Date
    Sep 2006
    Location
    Canberra, Australia
    Beans
    621
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Arduino Serialport not found

    This is a known issue with the original Uno and the Mega firmware. It happened to me with my original Uno (but not with one I bought a few months later). You clearly have the original firmware.

    See this Arduino article first: http://arduino.cc/en/Hacking/DFUProgramming8U2

    But use the "non-soldering" technique to boot into DFU mode - shown best here: http://arduino.cc/forum/index.php/topic,52447.0.html

    It sound complicated, but it takes less than a few minutes to run through the steps to upgrade the firmware once you have the DFU programmer and new firmware downloaded.
    Last edited by Tux Aubrey; May 17th, 2011 at 11:35 AM. Reason: fixed second link
    Aubrey
    Make a difference with Kiva microloans.
    My (new) Arduino and Ubuntu Blog

  8. #8
    Join Date
    May 2011
    Beans
    4

    Re: Arduino Serialport not found

    would this be a linux issue? I followed the article you pointed to but the images didn't display the layout for an SMD edition. tried it on a windows machine and after sorting out driver issues it seems to be fine witout messing with th DFU

  9. #9
    Join Date
    Sep 2006
    Location
    Canberra, Australia
    Beans
    621
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Arduino Serialport not found

    Quote Originally Posted by marcusm11 View Post
    would this be a linux issue?
    Absolutely (my bad for assuming we were all doing Arduino on Ubuntu!). But SMD should not be an issue for putting an Uno into DFU mode.

    By the way, the non-invasive workaround is to unplug and reset each time you get the serial error. I just got tired of doing it that way and went with the permanent fix.
    Aubrey
    Make a difference with Kiva microloans.
    My (new) Arduino and Ubuntu Blog

  10. #10
    Join Date
    May 2011
    Beans
    4

    Re: Arduino Serialport not found

    I also found that there are some rxtx driver files that can be updated but again I'm too much of a noob to tackle something like that without a step-by-step. But I have found a super easy, noob friendly fix that even I could handle. If you run the Arduino IDE as a super user Its all good.
    I played around with it all night last night and didn't have to reset a thing.

    Now I just need to find a cool project to put my mind to



    Thanks for all the help

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •