Trying to Upload Code to Arduino 101 Master Reset

  1. crstffr

    crstffr New Member

    Joined:
    Nov ix, 2017
    Messages:
    five
    Likes Received:
    2
    Hello, I'1000 hoping someone tin can assistance me out here. I've searched the forum and followed the other answers that I've found to no avail.

    What I have:

    • Udoo x86 Advanced Plus (BIOS 1.03)
    • MX Linux 16.1 (Debian eight jessie)
    • Arduino IDE i.8.four
    What I have done:
    • Ensured the USB port for Arduino 101 is enabled in BIOS
    • Added my user to the dialout group
    • Installed Intel Curie Arduino 101 lath in Arduino IDE
    • Run create_dfu_udev_rule script and rebooted
    • Loaded "Blink" example sketch
    • Selected "Arduino/Genuino 101" board
    • Selected "/dev/ttyACM1 (Arduino/Genuino 101)" port
    • Selected "USBasp" developer
    • Upload sketch
    What I get
    Starting download script... Flashing is taking longer than expected. Try pressing MASTER_RESET button ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM1
    I notice that near threads (and the documentation) indicate that the Arduino 101 is at /dev/ttyACM0, just it looks like an Intel Bluetooth module takes that slot for me, leaving my Arduino at ttyACM1.

    Is there anything else I tin try to exercise to make this work?

    Thanks a ton,
    -Chris

  2. crstffr

    crstffr New Member

    Joined:
    Nov ix, 2017
    Messages:
    five
    Likes Received:
    two
    Then I figured out the trouble literally i minute after posting this. If that isn't only the way it goes.

    The solution is to take the fault message literally - Try pressing MASTER_RESET button - immediately when information technology says information technology. I take my Udoo in a box so it's non easy to admission that button, and the message does not last long before timing out. Merely alas, when I pressed the button immediately after the message popped up, my sketch uploads.

    Now my question shifts to this: why practise I demand to manually reset the Arduino to upload a sketch? Can that be fixed?

  3. There is a long answer to that problem with the usb uart and the board needing to be reset.

    The other solution is this

    https://world wide web.udoo.org/docs-x86/img/x86_pinout_arduino.png

    In CN12, The third pin from the tiptop is the reset, add that to a switch to a ground and that is what master reset button does.

  4. crstffr

    crstffr New Fellow member

    Joined:
    Nov ix, 2017
    Messages:
    five
    Likes Received:
    2
    Thank you for your response. It'due south practiced to know I tin can hands breakout the Arduino master reset switch.
  5. ONECore

    ONECore New Member

    Joined:
    Jul 5, 2019
    Letters:
    5
    Likes Received:
    ii
    I am having the same effect, and have tried the obvious Chiliad Ret push push, at every conceivable time during/before/after pushing upload to no avail. I know the switch is working because the LED by the HDMI volition cease flashing when pushed, and I have about 5 seconds to get lath information, later on which this selection and the pick to select the board will be greyed out.

    I have tried this on Ubuntu 19.04 and xvi.04. I accept also tried this with the 101 cadre scripts versions 2.0.iv and 2.0.2.

    Please help, I've chased my tail on this for like freaking 10 hours.

  6. waltervl

    waltervl UDOOer

    Joined:
    December 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Did you try to reinstall the Arduino IDE and 101 board managing director after a consummate deletion of all Arduino files, including the .arduino15 folder in your home? Office of the 8nstallatipn is the driver which fails a lot. Besides the 101 needs a BLE firmware update that is part of the get-go uploading of a sketch.

    I succeeded somewhen past using a fresh installation, rebooting the Udoo X86, press the Arduino reset push button and compile and upload the the blink instance.

  7. ONECore

    ONECore New Member

    Joined:
    Jul 5, 2019
    Messages:
    5
    Likes Received:
    2
    Hello, cheers for the respond!

    I did (several times, on Ubuntu xvi and 19) attempt the uninstall of arduino with sudo ./uninstall.sh, then manually deleted the .arduino15, and so sudo ./install.sh, and then installation of the 101 under boards. Then of form the usermod, log out/log in, and the two dfu commands.

    I accept pushed the push button, then compiled. I have compiled, pushed the push when it asks. Before, during, later on, compile.

    Le sigh.

  8. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Your Bluetooth comment triggered me: In the Udoo Commodities documentation at that place is mention of modemmanager process blocking uploading of files. Perhaps you have this aforementioned effect: https://world wide web.udoo.org/docs-bolt/Ardu...4)/Getting_Started_with_Arduino_Leonardo.html

    Please confirm every bit that could help others and also documention should exist updated for the Udoo X86 likewise.

  9. ONECore

    ONECore New Member

    Joined:
    Jul five, 2019
    Letters:
    5
    Likes Received:
    ii
    Crawly thought, I take non yet thrown it in the trash, I'll exam this first thing in the am. In fact, I simply remembered I ordered ii of these, and then I can do a bit of diagnostic there as well.
  10. ONECore

    ONECore New Member

    Joined:
    Jul 5, 2019
    Letters:
    five
    Likes Received:
    ii
    Unfortunately, the ModemManager stop, disable, and even purge has no issue. This is across TWO x86 boards, each running Ubuntu sixteen.04 fresh, except for the installation of Arduino and Curie 101.

    From https://forum.arduino.cc/alphabetize.php?topic=129647.30 I as well tried
    '''sudo /etc/init.d/udev restart'''

    But goose egg. With the arduino wired in, I can't attempt an unplug/replug, but that is what the reset is for, right? And I believe the reset is working, because the flashing LED volition stop when reset is depressed.

  11. ONECore

    ONECore New Member

    Joined:
    Jul 5, 2019
    Messages:
    five
    Likes Received:
    two
    Update: my issue was caused by user error. I shouldn't be allowed around computers and apologize for noob-ing upwardly.

    I have 2 Udoo x86 II, not the version one. So, hur de dur, yep, I shouldn't expect the curie to work WHEN In that location IS NONE. I have the Leonardo boards.

    *walks out with tail tucked*

  12. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Yeah, for me the lesson to enquire adjacent time which Udoo X86 someone has :) Glad it works!
    ektor5 and evaloverde like this.

Share This Page

liulosting.blogspot.com

Source: http://www.udoo.org/forum/threads/timeout-uploading-to-arduino-101.9891/

0 Response to "Trying to Upload Code to Arduino 101 Master Reset"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel