upload to curie/arduino 101 doesn't work !

Discussion in 'UDOO X86' started by zugy, Jun 23, 2017.

  1. zugy

    zugy New Member

    Joined:
    Oct 31, 2013
    Messages:
    3
    Likes Received:
    0
    I can't upload anything to curie/arduino 101 either way I tried.
    I'm using last firmware on udoox86, last local arduino IDE (1.8.3)

    I've been trying from Ubuntu and Windows. From arduino local or web ide.
    On Windows and local IDE, I get the following error :
    Code:
    Starting download script...
    Flashing is taking longer than expected
    Try pressing MASTER_RESET button
    ERROR: Timed out waiting for Arduino 101 on COM3
    ERROR: Timed out waiting for Arduino 101 on COM3
    
    With the web ide, I get the following error :
    Code:
    Restarting in bootloader mode
    Get port list before reset
    [COM3]
    Touching port COM3 at 1200bps
    Reset before upload: 1200bps Touch: Open port COM3: Invalid serial port
    
    I would like to know (first) if Windows device manager should see the arduino like with a normal usb/serial connection ?
    The web IDE "sees" the 101 but can't upload.
    Any help welcome
    Thanks,
    Christophe
     
    Last edited by a moderator: Aug 1, 2017
  2. x1800MODMY360x

    x1800MODMY360x Member

    Joined:
    Mar 29, 2017
    Messages:
    55
    Likes Received:
    6
    Did you press the reset button when the message pops up?
     
  3. zugy

    zugy New Member

    Joined:
    Oct 31, 2013
    Messages:
    3
    Likes Received:
    0
    Yes I did, but no solution this way.
     
  4. zugy

    zugy New Member

    Joined:
    Oct 31, 2013
    Messages:
    3
    Likes Received:
    0
    ok, can someone tell me if the device manager show the arduino connected to port com in Windows ?

    And when I press the master reset button the device manager refreshs and shows an unknown device : UDOO X86.
     
  5. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,162
    Likes Received:
    551
    I tried from Ubuntu, did the udev rule action and got the same error message.

    Then I rebooted the system, pushed the Arduino master reset button, waited a couple of seconds and uploaded the blink example. Now the message appeared about updating BLE firmware and the sketch uploaded.
    After that no errors were shown.

    Edit: The BLE Firmware update is part of the Arduino 101 Core 2.02 release: https://forum.arduino.cc/index.php?topic=467970.0
     
    Last edited: Jul 11, 2017
  6. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,162
    Likes Received:
    551
    I see the procedure changed again (due to Arduino changes):

    Upload Procedure
    Some Linux distributions need to be configured to to gain upload permissions.
    Inside the Arduino 101 core you can find a script to allow the user to use the serial device. Using the latest Arduino 101 core package v2.0.2 run the script with this commands:

    chmod +x ~/.arduino15/packages/Intel/hardware/arc32/2.0.2/scripts/create_dfu_udev_rule
    sudo ~/.arduino15/packages/Intel/hardware/arc32/2.0.2/scripts/create_dfu_udev_rule
     
    bpr and Markus Laire like this.
  7. MarcLaos

    MarcLaos New Member

    Joined:
    Jun 14, 2017
    Messages:
    2
    Likes Received:
    0
    I am running windows 10 - 64 bit with arduino IDE (1.8.3).

    I have the same problem.
    Can't upload anymore. A few times it worked but now still gets that error

    Flashing is taking longer than expected
    Try pressing MASTER_RESET button

    how to let it run on a decent way?
     
  8. tortuga

    tortuga New Member

    Joined:
    Jul 31, 2017
    Messages:
    6
    Likes Received:
    0
    I have the same problem too.
    I am running windows 10 - 64 bit with arduino IDE (1.8.3).
    I have reflash the EFI firmware to the default settings. But the problem has not been solved.
    Has anyone worked with the Arduino 101 on Windows 10?
     
  9. connon neal

    connon neal New Member

    Joined:
    Oct 26, 2017
    Messages:
    1
    Likes Received:
    0
    do anyone know how to fix this running Ubuntu 17.04
     
  10. cagiva

    cagiva UDOOer

    Joined:
    Aug 28, 2017
    Messages:
    15
    Likes Received:
    2
    I'm having the same problem, was anyone able to find a workaround?
     

Share This Page