Arduino 101 Not Working

I am encountering an error when I try and run the blink example through the IDE. I have the arduino 101 board and I have updated everything. I am running it on Fedora 25. Even on the windows partition it gives me the same message. The error message I am encountering
Starting download script…
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM0
ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM0

When you say everything updated do you also mean the CORE ?

BTW had this moved to the correct 101 board area for you.

If you look at the top threads in this section you will see there is an thread on updating the CORE files / firmware.

Whilst still not 100% it is a great improvement over the previous firmware.

I use Ubuntu 16.04 in a 64bits computer.
Intel Curie Boards by Intel version 2.0.2 INSTALLED


It's the same problem:

Arduino:1.8.1 (Linux), Tarjeta:"Arduino/Genuino 101"
El Sketch usa 17648 bytes (11%) del espacio de almacenamiento de programa. El máximo es 155648 bytes.
Starting download script...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM0
ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM0

I have tried several solutions and I have not had results

In SO Windows 7 Pro works without problems

I need help in Ubuntu, please

@RFCasas

So its NOT the same problem as yous WORKS under win 7 but NOT linux.
Im not a linux guy so my chances of helping are pretty much zero.

Jumping on somebody else's issue is usually considered bad form around here too btw.

But for both of you something I usually mention is types of USB ports.
That can be VITAL in diagnosing coms issues.

Ensure they are USB 2.0 ports as many arduino issues of this type are caused by USB 3.0 ports.
If thats all you have then make sure you try to use a POWERED USB 2.0 HUB between the usb 3.0 port and the ARduino as that tends to fix a lot of issues.

Have you tried to run this script?

@ballscrewbob

Thanks for your help
My PC is old and its ports are USB 2.0.

"Jumping on somebody else's issue is usually considered bad form around here too btw.":
Sorry, I did not want to jump at anyone. At the beginning of my post I indicated that my problem appears with Ubuntu which is Linux as Fedora. My intention was to join the same problem instead of opening a new post, and indicate that in another Linux OS there is the same problem.

@sandeepmistry

@sandeepmistry
Thanks for your help

Yes, but it doesn't work: "Command not found"

I have searched the correct directory according to this link:

but the routes do not match

Did you ever get your 101 to work? I've had one for about 3 weeks now and can not get the board to anything other than have the LED blink under both Mac and Debian. Under Windows 10, the board behaves as it it expected to.

I have searched the Internet and have come up with absolutely no answers. The core is 2.0.2 on 1.8.3 IDE.

If anyone has any ideas, it would be great appreciated. I'm suppose to be doing a review on the product and it isn't going very well.

@smilliken

Did you do the firmware upgrade ?

It fixed a few things.

You really should also include details of what is not working and include error logs etc etc.
Otherwise it is almost impossible for people to try replicate any issue you have (whatever they may be ? ? ? )

ballscrewbob:
@smilliken

Did you do the firmware upgrade ?

Upgrading the firmware & library of Arduino 101 - Arduino Project Hub

It fixed a few things.

You really should also include details of what is not working and include error logs etc etc.
Otherwise it is almost impossible for people to try replicate any issue you have (whatever they may be ? ? ? )

Went thru the tutorial for upgrading the board, all is upgrade. Libraries are up to date, using the core 2.0.2 board core files and the IDE is 1.8.3.

I’m trying to work thru the examples that are provided with the board. Any simple turn on or turn off, blink an LED works just. The Bluetooth works just fine and I have been able to turn on and off the LED from my cell phone using the app EVOThings.

Now, any examples that were provided with the board which use movement, gyroscope, accelerometer, motion detection, etc., nothing happens on the Debian or Macbook devices. The serial monitor does not open once the sketch is suppose to be working. On the Windows 10 device, the serial monitor opens up and shows there is movement, up, down, x, y, z axis’.

I can provide the output the sketch give during the upload process if you would like. I didin;t notice any errors, but then again maybe there is.

Thanks for your reply.

Scott

Sketch uses 51944 bytes (33%) of program storage space. Maximum is 155648 bytes.
Forcing reset using 1200bps open/close on port /dev/cu.usbmodem1421
/Users/dexter/Library/Arduino15/packages/Intel/tools/arduino101load/2.0.1/arduino101load -dfu=/Users/dexter/Library/Arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino1 -bin=/var/folders/fl/pgnzpz8x2n97hdpf191k0lvr0000gn/T/arduino_build_488301/AccelerometerOrientation.ino.bin -port=/dev/cu.usbmodem1421 -v -ble_fw_str="ATP1BLE00R-1631C4439" -ble_fw_pos=169984 -rtos_fw_str="firmware_1.6.0_arduino101" -rtos_fw_pos=147424 -core=2.1.0 
arduino101load 2.0.2 - compiled with go1.7.5
Starting download script...
Serial Port: /dev/cu.usbmodem1421
BIN FILE /var/folders/fl/pgnzpz8x2n97hdpf191k0lvr0000gn/T/arduino_build_488301/AccelerometerOrientation.ino.bin
Waiting for device...
Waiting for device...
Waiting for device...
Device found!
Verifying BLE version: ATP1BLE00R-1631C4439
BLE version: verified
Verifying RTOS version: firmware_1.6.0_arduino101
ATTENTION: RTOS firmware is being flashed
DO NOT DISCONNECT THE BOARD
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature

dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 8087:0aba
Run-time device DFU version 0011
Claiming USB DFU Interface...
Setting Alternate Setting #2 ...
Determining device status: state = dfuUPLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0011
Device returned transfer size 2048
Copying data from PC to DFU device

Download [                         ]   0%            0 bytes
Download [=                        ]   7%         4096 bytes
Download [==                       ]  11%         6144 bytes
Download [===                      ]  15%         8192 bytes
Download [====                     ]  19%        10240 bytes
Download [=====                    ]  22%        12288 bytes
Download [======                   ]  26%        14336 bytes
Download [=======                  ]  30%        16384 bytes
Download [========                 ]  34%        18432 bytes
Download [=========                ]  38%        20480 bytes
Download [==========               ]  41%        22528 bytes
Download [===========              ]  45%        24576 bytes
Download [============             ]  49%        26624 bytes
Download [=============            ]  53%        28672 bytes
Download [==============           ]  57%        30720 bytes
Download [===============          ]  60%        32768 bytes
Download [================         ]  64%        34816 bytes
Download [=================        ]  68%        36864 bytes
Download [==================       ]  72%        38912 bytes
Download [===================      ]  76%        40960 bytes
Download [====================     ]  80%        43008 bytes
Download [=====================    ]  87%        47104 bytes
Download [======================   ]  91%        49152 bytesdfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

Download [=======================  ]  95%        51200 bytes
Download [======================== ]  99%        51680 bytes
Download [=========================] 100%        51680 bytes
Download done.
state(2) = dfuIDLE, status(0) = No error condition is present
Done!

dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Opening DFU capable USB device...
ID 8087:0aba
Run-time device DFU version 0011
Claiming USB DFU Interface...
Setting Alternate Setting #7 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0011
Device returned transfer size 2048
Copying data from PC to DFU device

Download [                         ]   0%            0 bytes
Download [=                        ]   7%         4096 bytes
Download [==                       ]  11%         6144 bytes
Download [===                      ]  15%         8192 bytes
Download [====                     ]  18%        10240 bytes
Download [=====                    ]  22%        12288 bytes
Download [======                   ]  26%        14336 bytes
Download [=======                  ]  30%        16384 bytes
Download [========                 ]  34%        18432 bytes
Download [=========                ]  37%        20480 bytes
Download [==========               ]  41%        22528 bytes
Download [===========              ]  45%        24576 bytes
Download [============             ]  49%        26624 bytes
Download [=============            ]  53%        28672 bytes
Download [==============           ]  56%        30720 bytes
Download [===============          ]  60%        32768 bytes
Download [================         ]  64%        34816 bytes
Download [=================        ]  68%        36864 bytes
Download [==================       ]  72%        38912 bytes
Download [==================       ]  75%        40960 bytes
Download [===================      ]  79%        43008 bytes
Download [====================     ]  83%        45056 bytes
Download [=====================    ]  87%        47104 bytes
Download [======================   ]  91%        49152 bytes
Download [=======================  ]  94%        51200 bytes
Download [======================== ]  98%        51944 bytes
Download [=========================] 100%        51944 bytes
Download done.
Sent a total of 51944 bytes
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
dfu-util: can't detach
Resetting USB to switch back to runtime mode
SUCCESS: Sketch will execute in about 5 seconds.

Turn on VERBOSE for compilation (in Preferences) and post the output for the sketch you are trying to use first.
BTW if its a std example mention the proper name then people can see if they can replicate.
If not please post the sketch but use the code tags ( </> )

EDIT that looks like the FW update output (It took me 3 attempts so well done)

Am a Win person myself but hopefully one of the mac or linux gurus will pick this up for further checking.

The 101 has to be one of the worst boards as far as serial goes.
Mine wont even work on the CREATE online editor but works mostly with 1.8.3 so long as I press reset just as it is starting to upload.

Its a really good spec for the board let down probably on the “INTEL” side by some odd firmware bug that nobody seems to want to touch.

This was a bit big for , so there is an attachment

verbose_output.txt (19.3 KB)

I've read the USB 2 vs 3 has something to do with the lack of work-ability of the 101. Is there any truth to this?

Yes there is a lot of evidence to back that up.

However its not ALL USB 3.0 thats the problem !
Most of the time it is down to the implementation of USB 3.0 and the chips used for that purpose.
Just as not all USB 1.0 was equal and not all 2.0 was equal.

The rest of the story stems from the Arduino driver side although you will find similar issues for other USB 2.0 hardware (printers, web cams, etc etc.) when plugged into USB 3.0

The most common fix that often works if USB 3.0 is all you have is to insert a decent quality POWERED USB 2.0 HUB between to USB 3.0 port and the Arduino.

The USB 3.0 ports on my server will not play nice with Arduinos but the hub trick fixes it.
There are also other stories from other people to the same effect if you search a little even outside of Arduino.