Sketch Arduino Problem

Discussion in 'UDOO X86' started by Carles, May 8, 2017.

  1. Carles

    Carles New Member

    Joined:
    May 8, 2017
    Messages:
    3
    Likes Received:
    1
    I’ve a problem with Arduino’s Sketch.
    My operating system is Ubuntu 16.0.4 and I use IDE Arduino 1.8.2
    Note that IDE detects correctly my port à /dev/ttyACM0 (Arduino/Genuino101)
    But everytime I run the sketch appears the next message:

    upload_2017-5-9_0-18-7.png

    Although sometimes appears this another message:

    upload_2017-5-9_0-18-25.png

    I’m trying execute arduino_serial_example.ino to start testing the board.
    Do you have any suggestion how to fix that?

    Thanks for your help
     

    Attached Files:

  2. MikeSD

    MikeSD New Member

    Joined:
    May 22, 2016
    Messages:
    11
    Likes Received:
    0
  3. Carles

    Carles New Member

    Joined:
    May 8, 2017
    Messages:
    3
    Likes Received:
    1
    I only add my user to the dialout group.
    Tomorrow I'll try follow the post to add udev rule. I'll Inform you.

    Thanks a lot
     
  4. tuxun

    tuxun Member

    Joined:
    Dec 20, 2013
    Messages:
    67
    Likes Received:
    12
    Hi. i think Mike speak about this part:
    Code:
    sudo usermod -a -G dialout $USER
    wget https://github.com/01org/intel-arduino-tools/raw/linux64/scripts/create_dfu_udev_rule
    chmod +x create_dfu_udev_rule
    sudo ./create_dfu_udev_rule
    rm create_dfu_udev_rule
    
    (which solved my problem of timeout under ubuntu, me too)
     
    kfly likes this.
  5. Carles

    Carles New Member

    Joined:
    May 8, 2017
    Messages:
    3
    Likes Received:
    1
    It works properly.

    Thank you very much
     
    MikeSD likes this.
  6. MikeSD

    MikeSD New Member

    Joined:
    May 22, 2016
    Messages:
    11
    Likes Received:
    0
    Glad that worked, I struggled with it for a while till I found the post I linked. They should really have put this in the X86 guide. So at least people using ubuntu or distros based off of ubuntu wouldn't have to go looking for the solution.

    Mike
     
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580

Share This Page