External Arduino IDE "Error : Connect Failed"

Discussion in 'UDOO NEO' started by Maurice, Apr 13, 2016.

  1. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    Both on Windows and Ubuntu I get the following error when I try to upload a program to Arduino via USB:"Error : Connect Failed". I have manually selected /dev/ttyACM0, my account is part of the dailout group.

    If I show the serial monitor I see a login sequence that normally you'd get when ssh-ing:

    Login timed out after 60 seconds.

    UDOObuntu v2.0rc2
    default username: password is [udooer:udooer]
    eskarina login:
     
  2. ektor5

    ektor5 Administrator Staff Member

    Joined:
    Jul 1, 2013
    Messages:
    97
    Likes Received:
    48
    The uploading method for NEO don't use the USB UART, but the TCP/IP connection provided by the virtualized ethernet via USB.
    So you don't need to select any tty in particular, it'll be automatically ignored. The ttyACM0 is connected to the A9 processor only.

    Instead, check if:
    • your PC is connected to the virtual network with the 192.168.7.1 IP address
    • the address 192.168.7.2 (UDOO NEO) is reachable (open a terminal and ping that)
    Hope this helps,
    Ek5
     
  3. Philipwu

    Philipwu New Member

    Joined:
    Jan 19, 2016
    Messages:
    2
    Likes Received:
    0
  4. Philipwu

    Philipwu New Member

    Joined:
    Jan 19, 2016
    Messages:
    2
    Likes Received:
    0
    I think I have fixed it. I have missed one step "Install Udoo FOTA" in the tutorial.:p
     
  5. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    I was able to upload the empty 'default' program, so it seems to be working. Can't show the serial though, would like that too. In order to use both the Udoo Neo network and Internet at the same time I had to tweak some network connections though.
     
  6. BanjoIsland

    BanjoIsland New Member

    Joined:
    May 7, 2016
    Messages:
    7
    Likes Received:
    2
    Hey guys,
    I'm getting the same Error : Connect Failed message. Anybody got this to work?

    Where do you see this install Udoo FOTA information? I don't see it in the link
     
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    I suppose Udoo fota is now preinstalled on udoobuntu 2 rc2 so the instructions have changed.
     
    BanjoIsland likes this.
  8. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Do you use arduino IDE 1.6.5 on your pc?
     
  9. BanjoIsland

    BanjoIsland New Member

    Joined:
    May 7, 2016
    Messages:
    7
    Likes Received:
    2
    yes, I'm trying to connect to it using it on my win7 pc. Ok, guess I should just install udoobuntu 2 rc2 now. Was trying to avoid that for a while since I already did a whole bunch of setup stuff on the older udoobuntu version that I'd rather not repeat.
     
  10. waltervl

    waltervl UDOOer

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

    BanjoIsland New Member

    Joined:
    May 7, 2016
    Messages:
    7
    Likes Received:
    2
    yup, installing 2 rc2 fixed this problem. Thanks!
     
    Andrea Rovai and waltervl like this.

Share This Page