Arduino Forum

Products => Arduino 101 => Topic started by: Lits on Mar 19, 2016, 07:00 pm

Title: Arduino 101 Error: device not responding.
Post by: Lits on Mar 19, 2016, 07:00 pm
Hi All,

     I've been using a arduino mega for some time and have had no problems thus far.  Then I bought an Arduino 101 last week and have not been able to get it to load a sketch.  The following is what I have attempted thus far.

     First I plugged in my 101 thinking it would work just as quick and easy as the mega.  The windows usb connect and disconnect sounded several times making me wonder what was going on, I'm still not positive that wasn't/isn't part of the problem.  In the mean time I started the IDE, used the board manager and was able to select the 101 board and com port 11.  I got the following error while trying to upload the blink sketch (at the time the IDE was version 1.6.7, but the error at the end was the same, I just didn't save it because I didn't think I was going to end here):

Code: [Select]
Arduino: 1.6.8 (Windows 7), Board: "Arduino/Genuino 101"

Sketch uses 29,994 bytes (15%) of program storage space. Maximum is 196,608 bytes.
C:\Users\Liz\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18/arduino101load/arduino101load C:\Users\Liz\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18/x86/bin C:\Users\Liz\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.bin COM11 verbose
Starting download script...
Args to shell: [C:\Users\Liz\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18/x86/bin C:\Users\Liz\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.bin COM11 verbose]
Serial Port: COM11
BIN FILE C:\Users\Liz\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.bin
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
ERROR: Device is not responding.
Device is not responding, check the right serial port is selected or RESET the board right before exporting

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


    Then I did exactly what it said and reset the board with the same result.  I tried timing the reset to coincide with the upload start several times.  I then scoured the internet looking for solutions, including the troubleshooting posts for the 101.  I updated to the latest IDE, removed it completely, reinstalled it.  I tried different usb cables, different usb ports, 2.0 and 3.0.  I uninstalled and reinstalled the driver in the device manager.  I'm sure I tried other things that I don't remember anymore.   

    When I plug in the 101, the usb connect sounds, and after 5 seconds it sounds a disconnect.   When I master reset the board it does the same thing every time.  The board still shows on the device manager even after the disconnect sound.  When I uninstall the driver in the device manager and plug in the board, the connect sounds, installs the driver again, and it does not sound a disconnect (as if everything is going to be ok) until I try and upload a sketch, and then I get the error message again,  always the same one. 

    I am at a complete loss.  If anyone has any advice I would really appreciate it.
Title: Re: Arduino 101 Error: device not responding.
Post by: PaulFrancis on Mar 20, 2016, 08:23 pm
Have you found a solution for this problem? I'm experiencing the same trouble...
Title: Re: Arduino 101 Error: device not responding.
Post by: Lits on Mar 21, 2016, 07:14 pm
Well, on my windows 7 laptop I have had no luck, but I was able to get the board to upload the blink sketch using my just dusted off today vista desktop.  I am still scratching my head, especially because the first time I tried to upload I got the same error as on my laptop, but the second time, it worked....  Anyways, I am happy that I can at least try out the board now (and that the problem isn't hardware, and I'm looking forward to when someone finally figures out what is going on so I can use it on my lap top as well.  until then, I'll keep trying, and if anyone has any useful new ideas, please post. Thanks.
Title: Re: Arduino 101 Error: device not responding.
Post by: veader on Mar 22, 2016, 01:59 am
I've been experiencing the same problem. A project I started under the previous version of the IDE now yields the same error you mentioned. Version 1.0.4 of the Curie library was included with that previous version of the IDE.

My curiosity is if some of the tooling now fails with USB3 ports.

My setup: Retina MacBook Pro (all USB3 ports) and the Arduino 101.

NOTE: I have tried removing application and all supporting library folders and reinstalling with no luck.
Title: Re: Arduino 101 Error: device not responding.
Post by: bbaltz on Mar 22, 2016, 06:57 pm
I've seen instances where a sketch upload flashed a corrupted binary for some reason. After that the IDE can't reboot the board and subsequent sketch uploads time out. If I "help" it by hitting the reset button, then it's ok. Does your problem exist even after hitting reset?

Brian
Title: Re: Arduino 101 Error: device not responding.
Post by: Lits on Mar 22, 2016, 10:09 pm
I've hit the reset button repeatedly trying to time it so it would reset right when the sketch started to upload.  I've uninstalled and reinstalled the ide, versions 1.67 and 1.68, and the curie version 1.04 and 1.05.  Reinstalled drivers, etc etc.  I've tried everything I've found on the internet that seemed to be related to problems uploading sketches. USB 3 and USB 2 ports.  I have not been able to upload a sketch to my 101 with this laptop although it works fine with my mega board.  On my desktop with windows vista it worked the second try.

The bizzar thing is I plug in the 101 and it makes the usb connection noise, and then the disconnection noise, but after that it still shows up connected correctly in the device manager, and the right com port shows in the ide like everything is just fine.   But nothing is fine.  Its very frustrating.  I do hope someone figures this out.
 
Title: Re: Arduino 101 Error: device not responding.
Post by: bbaltz on Mar 22, 2016, 10:46 pm
Can you try running the following command to see if you get any error:
%localappdata%\Arduino15\packages\Intel\tools\arduino101load\1.6.4+1.18\x86\bin\dfu-util.exe" -l

Try running it also immediately after resetting the board. I'd just like to see if there are any errors or if dfu-util is able to see the board as it boots.
Title: Re: Arduino 101 Error: device not responding.
Post by: Lits on Mar 22, 2016, 11:17 pm
Thanks for helping out Bbaltz. :)

I ran the program from the command prompt and it spat out:

Code: [Select]
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Liz>C:\Users\Liz\AppData\Local\Arduino15\packages\Intel\tools\arduino10
1load\1.6.4+1.18\x86\bin\dfu-util.exe
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

You need to specify one of -D or -U
Usage: dfu-util [options] ...
  -h --help                     Print this help message
  -V --version                  Print the version number
  -v --verbose                  Print verbose debug statements
  -l --list                     List currently attached DFU capable devices
  -e --detach                   Detach currently attached DFU capable devices
  -E --detach-delay seconds     Time to wait before reopening a device after det
ach
  -d --device <vendor>:<product>[,<vendor_dfu>:<product_dfu>]
                                Specify Vendor/Product ID(s) of DFU device
  -p --path <bus-port. ... .port>       Specify path to DFU device
  -c --cfg <config_nr>          Specify the Configuration of DFU device
  -i --intf <intf_nr>           Specify the DFU Interface number
  -S --serial <serial_string>[,<serial_string_dfu>]
                                Specify Serial String of DFU device
  -a --alt <alt>                Specify the Altsetting of the DFU Interface
                                by name or by number
  -t --transfer-size <size>     Specify the number of bytes per USB Transfer
  -U --upload <file>            Read firmware from device into <file>
  -Z --upload-size <bytes>      Specify the expected upload size in bytes
  -D --download <file>          Write firmware from <file> into device
  -R --reset                    Issue USB Reset signalling once we're finished
  -s --dfuse-address <address>  ST DfuSe mode, specify target address for
                                raw file download or upload. Not applicable for
                                DfuSe file (.dfu) downloads


I'm not quite sure if that is what you were expecting, or if I need to do something else?  Please advise.  Anyway that was 2 seconds after resetting the board.

Thanks,

Liz
Title: Re: Arduino 101 Error: device not responding.
Post by: Lits on Mar 23, 2016, 12:01 am
ok, so  I read up on the dfu utility,  and then I ran it again with -l at the end to list attached devices, and it did not list any devices at all. 
Title: Re: Arduino 101 Error: device not responding.
Post by: bbaltz on Mar 23, 2016, 12:12 am
Thanks.
Normally, running the utility doesn't show anything. The dfu utility should list several lines if it's run within the first few seconds after resetting the board. In Windows Device Manager, you will also see a "Arduino 101 DFU Interface" device under the 'libusb (WinUSB)' device group during this period. Do you see any of this?
Title: Re: Arduino 101 Error: device not responding.
Post by: Lits on Mar 23, 2016, 12:22 am
The dfu utility appeared exactly the same whether or not I had just reset the 101.  But, the "Arduino 101 DFU Interface" did show up in the device manager momentarily when resetting.

Thanks,
Liz
Title: Re: Arduino 101 Error: device not responding.
Post by: PaulFrancis on Mar 23, 2016, 03:15 am
Ive been having the same problem, and i was able to switch to another laptop that had a USB 2.0 port and finally i could pass the sketch to the board. What a pain.
Title: Re: Arduino 101 Error: device not responding.
Post by: lsaunders on Apr 14, 2016, 09:05 pm
I have the same problem on my laptop running Windows 7 but it seems to work fine on my laptop at home running Windows 10. I don't know if this could have something to do with it.
Title: Re: Arduino 101 Error: device not responding.
Post by: DaveOR on Apr 15, 2016, 09:59 am
I have the same problem on my laptop running Windows 7 but it seems to work fine on my laptop at home running Windows 10. I don't know if this could have something to do with it.

Try the steps in the stickied thread at the top of the main 101 forum.
"dfu-utils update -> please test if you have upload problems"
http://forum.arduino.cc/index.php?topic=388754.0

Solved my problem in Win7 weeks back.
Title: Re: Arduino 101 Error: device not responding.
Post by: Jim_Ele on May 25, 2016, 10:39 am
Hello,

Got same message using laptop with windows XP.

---
Sketch uses 41,250 bytes (20%) of program storage space. Maximum is 196,608 bytes.
Starting download script...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Device is not responding.
Device is not responding, check the right serial port is selected or RESET the board right before exporting
---

So, is this a problem with version of windows? Do I have to change machine?
Title: Re: Arduino 101 Error: device not responding.
Post by: LikesRidingBikes on Jun 02, 2016, 08:21 pm
I was having the same problem: unable to upload a program to a brand new 101.  Now it works. 

I can successfully load both BLE LED example programs and also the ReadTime program read via Serial Monitor.  (BTW, using the iOS MCP app, you need to send either 00 or 01 to turn the LED on/off.) 

I am running a modern 64 bit laptop with USB 3.0 ports.  All ports work fine with either of two USB cables that I have.  So I don't believe the problem is related to USB cables or USB 2.0/3.0. 

How did I fix it?  Well, I tried several things and I'm not sure which one fixed it, so perhaps someone can try these methodically and confirm the best fix. 

1. Uninstall the Arduino IDE and manually deleted the Arduino15 folder in user\..\AppsData. 

2. Restart laptop.

3. Download and install IDE 1.6.8.  (Earlier failed attempt was with current 1.6.9.)

4. Restart laptop.

5. Open IDE.  In Boards Manager, searched Intel, selected Curie boards, and install v1.0.4.  (Earlier failed attempt was with current 1.0.5.) 

6. Restart laptop.

7. Open IDE.  Plug in 101 for the first time.  Device showed up normally in Device Manager.

8. Select proper port (COM5 for me) and proper board (101).  Select example file LED under CurieBle.  Click verify.  Looks good.  Click upload.  SUCCESS!  Can now see the 101 in nRF MCP, can turn LED on/off.  BLE functions now work with 5V USB charger. (but not 9V battery, guess that's not an option)  No need to press either reset button during upload.

So the fix is either one of the software downgrades, or careful installation procedure. 

Previously, I tried the dfu-utils updates but that didn't fix this problem.

With the current setup, I see this message:

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
can't detach
Title: Re: Arduino 101 Error: device not responding.
Post by: narin101 on Jun 15, 2016, 09:25 pm
Hey I saw your post and I was wondering if you can get the arduino to show up on bluetooth devices when it's serial port is not connected to the PC. The arduino only appears on Bluetooth if its connected to my laptop, but if I remove it and try providing power using a 9V battery, or directly giving 3.3V at the pin, the Bluetooth functionality is lost (even though the device is technically on as the green LED is on)

Could you please help me with this issue, if there's any workaround.
Title: Re: Arduino 101 Error: device not responding.
Post by: vinaykumar0607 on Jun 18, 2016, 07:52 pm
when this problem will get solved ?
Title: Re: Arduino 101 Error: device not responding.
Post by: kpansavuth on Jul 13, 2016, 06:56 pm

I'm using Macbook with Arduino IDE 1.6.8 and Intel Curie board 1.0.6

Try to upload sketch and got this error

...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Device is not responding.
Device is not responding, check the right serial port is selected or RESET the board right before exporting
...

Anything updated about this issue?
Title: Re: Arduino 101 Error: device not responding.
Post by: purplehaze78 on Jul 18, 2016, 08:01 am
I'm using Macbook with Arduino IDE 1.6.8 and Intel Curie board 1.0.6

Try to upload sketch and got this error

...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Device is not responding.
Device is not responding, check the right serial port is selected or RESET the board right before exporting
...

Anything updated about this issue?
I am facing the same problem with my brand new Genuino 101. I have installed 1.6.9 IDE and the latest curie board. Please help. The board power LED too doesnt come up when connected to the USB on my mac.
Title: Re: Arduino 101 Error: device not responding.
Post by: braineng on Aug 14, 2016, 01:57 am
I have similar issue as below. but when I changed the 101 board, it works.
I can't use that board which had upload issue?



Arduino: 1.6.10 (Windows 10), Board: "Arduino/Genuino 101"

Sketch uses 17,244 bytes (11%) of program storage space. Maximum is 155,648 bytes.
Starting download script...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Device is not responding.
ERROR: Device is not responding.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Title: Re: Arduino 101 Error: device not responding.
Post by: raj174 on Sep 22, 2016, 03:53 pm
Hi,
Just started using the 101. Got the same error from my board when i tried to use the blink example:

Flashing is taking longer than expected
Try pressing MASTER_RESET button

In my case i downloaded a different version of Intel Curie Boards which was the 1.0.6.(before it was 1.0.7).
Hope this works for you guys as well.
Title: Re: Arduino 101 Error: device not responding.
Post by: rsalinas on Sep 25, 2016, 10:31 pm
Hi, I have the same problem on my iMac with El Capitan. It's very frustrating. Any help please.
Title: Re: Arduino 101 Error: device not responding.
Post by: jccraig on Sep 26, 2016, 10:19 pm
On my Windows 10 system, I solved this intermittent problem by going into Device Manager, finding "Ports (Com & LPT)" and then in that section locating the Arduino 101 labeled Serial Monitor port.  Right-click and select "Disable" to disable that port.  The, Right-click again and select "Enable".  When I go back to the Arduino 101 IDE it now works. Also double check in the Tools menu to make sure the board and the port are still set to the Aruduino 101. This clears up the problems for me every time.
Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Sep 27, 2016, 06:05 am
Maybe a couple more clues to some of the issues here (http://It took a bit of research but here is what fixed it for me. take note about the Antivirus as it may not just be AVAST.)
Title: Re: Arduino 101 Error: device not responding.
Post by: k3nk on Nov 01, 2016, 03:16 am
This helped me on Ubuntu:

sudo ~/.arduino15/packages/Intel/tools/arduino101load/1.6.9+1.28/scripts/create_dfu_udev_rule
Title: Re: Arduino 101 Error: device not responding.
Post by: andersonpedroza on Nov 08, 2016, 12:59 pm
On my Windows 10 system, I solved this intermittent problem by going into Device Manager, finding "Ports (Com & LPT)" and then in that section locating the Arduino 101 labeled Serial Monitor port.  Right-click and select "Disable" to disable that port.  The, Right-click again and select "Enable".  When I go back to the Arduino 101 IDE it now works. Also double check in the Tools menu to make sure the board and the port are still set to the Aruduino 101. This clears up the problems for me every time.
Thank you @jccraig!

I'll test it on my Windows 10 system!  8)
Title: Re: Arduino 101 Error: device not responding.
Post by: zepto on Nov 16, 2016, 12:26 am
I really don't think that the solution will be platform specific. The complaint is too broad. I haven't seen a convincing explanation of it. Weird combinations of hitting master reset and reset buttons then rehitting the upload script in the UI have always worked for me when things get difficult. I suspect that nobody really knows the root cause yet, and that it's software not hardware related. Just a semi-educated guess.
Title: Re: Arduino 101 Error: device not responding.
Post by: Asterion on Nov 28, 2016, 01:35 pm
DOH! I wish I read this forum entry before I bought my Genuino 101.  Why?

Well I had the same problem with a CurieNano.

Got no help fixing it.

Tried different computer, bought fresh data cables, tried all USB ports etc.

Assumed I got a dud CurieNano so bought a Geniuno 101.

Same problem with the Geniuno 101.

The problem is in the IDE/Drivers for sure.

I can get the chip info so the IDE can see and talk to the board, just cannot load software onto it.

DFRobot admitted they had seen the problem.  But when I went to negotiate a return on my CurieNano board DFRobot appeared to require me to have "different" problem to be eligible for replacement.  I think there is a real problem here no one is admitting to.

I actually have USB 2.0, tried manual install of drivers.


All hale Intel.  There used to be a thing called Wintel you remember?  I note the same problem turns up on Linux.  That is therefore a bug in the IDE OR we are being sold dud boards. 

Has to be one or the other.

Has anyone been given the suggestion to download the firmware source, build and install?  Don't, you will do any warrantee on the boards.  My view is I bought a functioning board not just chips soldered to a board - which is all I have at the moment ... twice over.

Title: Re: Arduino 101 Error: device not responding.
Post by: Asterion on Nov 28, 2016, 01:40 pm
Hi,
Just started using the 101. Got the same error from my board when i tried to use the blink example:

Flashing is taking longer than expected
Try pressing MASTER_RESET button

In my case i downloaded a different version of Intel Curie Boards which was the 1.0.6.(before it was 1.0.7).
Hope this works for you guys as well.
Nope.  I tried that and the 1.0.6 has a list of other error messages.  I even tried 1.0.5 but the install hung the IDE.
Title: Re: Arduino 101 Error: device not responding.
Post by: Asterion on Nov 28, 2016, 01:46 pm
I have similar issue as below. but when I changed the 101 board, it works.
I can't use that board which had upload issue?
Ah, now we are getting somewhere.  I tried an CurieNano and then a Genuino 101 but both failed the same way.  So you tried two different 101 board and one worked and one did not.

Sounds like a problem in the firmware and maybe a different version of firmware on the second board OR same version of firmware but some glitch when the firmware is loading that breaks it.

Much of this would be caught in Quality Control if it was carried out.

I don't have a blinking LED on my Genuino so I assuming that they don't do a test load of at least Blink before sending them out.
Title: Re: Arduino 101 Error: device not responding.
Post by: facchinm on Nov 29, 2016, 09:54 am
Hi Asterion,
we can try solving the upload issue if you could give us more info about your setup.

We need the specifications of your PC, operating system, USB ports available.

Did you try connecting the board to another PC? Most of the times these kind of problems are related to underpowering the board (the 101 is quite power hungry when it boots). CurieNano could suffer the same problem.

To answer you question: the firmware has not been updated throughout  the production batch, so two random boards should contain the exact same fw. BTW, if you update the firmware following an official procedure you are still under warranty, don't worry about that.

Best
M
Title: Re: Arduino 101 Error: device not responding.
Post by: Asterion on Nov 29, 2016, 01:00 pm
Hi Asterion,
we can try solving the upload issue if you could give us more info about your setup.

We need the specifications of your PC, operating system, USB ports available.

Did you try connecting the board to another PC? Most of the times these kind of problems are related to underpowering the board (the 101 is quite power hungry when it boots). CurieNano could suffer the same problem.

To answer you question: the firmware has not been updated throughout  the production batch, so two random boards should contain the exact same fw. BTW, if you update the firmware following an official procedure you are still under warranty, don't worry about that.

Best
M
Okay it failed on two different Windows 10 machines, a PC and a laptop.  Both PC had USB 2.0 ports.

I am not building a Ubuntu machine to compile and upload firmware that should be working when I buy the device.

Now the power story is interesting.  I have run BBB, C.H.I.P., and an unwanted RaspingBreathBurry on the same USB ports.

Does it make sense to blame the power draw on a IOT board by the way, I know we are brain storming here but when you think about it it isn't much of an IOT solution if it drops out that way.

I am finding more and more evidence that the firmware is likely dicky.  As I have mentioned (maybe on another forum) I can ask the board for it's INFO, but it won't upload. So, it doesn't make sense that it will respond at all (to a Board ID) but not upload.
Title: Re: Arduino 101 Error: device not responding.
Post by: dvonhausen on Dec 11, 2016, 10:34 pm
For Linux system, look at "https://www.arduino.cc/en/Guide/Arduino101".

I needed to do:

sudo ~/.arduino15/packages/Intel/tools/arduino101load/1.6.9+1.28/scripts/create_dfu_udev_rule

to get pass the "Flashing is taking longer than expected" problem.
Title: Re: Arduino 101 Error: device not responding.
Post by: jimaobian on Dec 15, 2016, 05:44 am
Deleting the "C:\Users\(username)\AppData\Local\Arduino15" folder and reinstalling Curie in board manager help me to deal with the uploading problem. However I don't know the reason why.
Title: Re: Arduino 101 Error: device not responding.
Post by: WhitePaw2002 on Dec 15, 2016, 06:55 pm
Apparently, if you download the 1.0.7 board, that will cause the program to fail with uploading whatever it is that you want. However, if you down-date the up-date by installing 1.0.6, that could fix the problem, as well as allow you to install drivers very important to this process. Just in case anyone needs this.


-Install from the boards manager 1.0.6 Arduino 101, not 1.0.7
-Make sure proper port is selected
-Attempt to upload this:

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);   
delay(700);                       
digitalWrite(LED_BUILTIN, LOW);   
delay(300);                       
}

If the built in LED flashes with a greater duration while on, you just accessed your Arduino!
If not, try going lower in the updates. And plugging it in. And making sure that it's ON.
And of all, make sure that it is not connected to a BAD BATTERY (or any battery if plugged into your PC)
Title: Re: Arduino 101 Error: device not responding.
Post by: michaeljwouters on Jan 13, 2017, 07:49 am
This helped me on Ubuntu:

sudo ~/.arduino15/packages/Intel/tools/arduino101load/1.6.9+1.28/scripts/create_dfu_udev_rule
This is what I needed to do too.

Why? Because I installed the IDE as an ordinary user, rather than installing a package (which is done as superuser), so the udev rule for the (Gen|Ard)uino 101 was not created and installed.

Title: Re: Arduino 101 Error: device not responding.
Post by: kreakemp on Apr 10, 2017, 01:06 pm
I am also facing same issue, but the same curi board is working fine with one of my friends laptop.

Hope will get some solution to this.
Title: Re: Arduino 101 Error: device not responding.
Post by: kreakemp on Apr 10, 2017, 02:10 pm


Use curie board version 1.0.6 and check the port connection in Device manager of your computer.

once uploaded new version restart your pc.

Hope this will resolve your issue, this resolves for me.

Thanks to raj174 for this information.
Title: Re: Arduino 101 Error: device not responding.
Post by: yvanttt on Apr 28, 2017, 03:46 am
For my Fedora 25 pc this worked

# cd .arduino15/packages/Intel/tools/arduino101load/1.6.9+1.28/scripts/
# ./create_dfu_udev_rule

unplugged the board for 15 seconds and plugged it back in = all ok from now on.

IDE: 1.8.2
Board version 2.0.2
Title: Re: Arduino 101 Error: device not responding.
Post by: ayyappaswamy019 on Jun 01, 2017, 07:21 am
Hi,
   

 i'm using genuino 101 board,getting this error



Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino 101"

Sketch uses 55304 bytes (35%) of program storage space. Maximum is 155648 bytes.
Starting download script...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Timed out waiting for Arduino 101 on COM15
ERROR: Timed out waiting for Arduino 101 on COM15



Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Jun 01, 2017, 11:35 am
@ ayyappaswamy019

And did you press reset ?
Title: Re: Arduino 101 Error: device not responding.
Post by: b_dunn on Jun 03, 2017, 11:47 pm
I can't see where the problem was ever satisfactorily resolved in this chain.  However, I have a similar problem with two (2) brand new Genuine Arduino 101 boards.  I followed about 10 other suggestions which I won't get into here - with no remedy.

Maybe one of you can help with the problem I have been working on for nearly a week.
By the way this IDE works just fine with my Arduino Uno when set to do so.

Computer:  Modern Sony Vaio VPCEH2KFX, Windows 7 Professional, x64 64 bit, USB2 ports

I do press "MASTER _RESET" when requested.

1.8.2 IDE, Port Com13, Intel Curie Boards 2.0.2

I notice also if I select the "Firmware Updater" I also get the Com13 Port time out error.

Thanks in advance for taking the time to look at it.

Here are a few lines near the end showing the Com13 Port time out error following an attempt to compile (which it does) and upload code to the Arduino 101:

.
.
.
Compiling core...
"C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1/bin/arc-elf32-g++" -c -mcpu=quarkse_em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char -MMD -fno-rtti -fno-exceptions -fcheck-new -D__ARDUINO_ARC__ -std=c++11 -DCONFIG_BLUETOOTH_PERIPHERAL -DCONFIG_BLUETOOTH_CENTRAL -DCONFIG_BLUETOOTH_GATT_CLIENT -DF_CPU=32000000L -DARDUINO=10802 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM "-IC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\system/libarc32_arduino101/common" "-IC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\system/libarc32_arduino101/drivers" "-IC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\system/libarc32_arduino101/bootcode" "-IC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\system/libarc32_arduino101/framework/include"  "-IC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\cores\arduino" "-IC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\variants\arduino_101" "C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\variants\arduino_101\variant.cpp" -o "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884\core\variant.cpp.o"
Using precompiled core
Linking everything together...
"C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1/bin/arc-elf32-gcc" -nostartfiles -nodefaultlibs -nostdlib -static -Wl,-X -Wl,-N -Wl,-mcpu=quarkse_em -Wl,-marcelf -Wl,--gc-sections "-TC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\variants\arduino_101/linker_scripts/flash.ld" "-Wl,-Map,C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.map"  -o "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.elf" "-LC:\Users\Bill\AppData\Local\Temp\arduino_build_664884" "-LC:\Users\Bill\AppData\Local\Arduino15\packages\Intel\hardware\arc32\2.0.2\variants\arduino_101" -Wl,--whole-archive "-larc32drv_arduino101" -Wl,--no-whole-archive -Wl,--start-group "-larc32drv_arduino101" -lnsim -lc -lm -lgcc "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884\sketch\Blink.ino.cpp.o" "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884\core\variant.cpp.o" "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/..\arduino_cache_769092\core\core_Intel_arc32_arduino_101_5c062f6ac47f6069a4889ac2baed88f1.a"
"C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.0.1/arduino101load" -c -from="C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.elf" -to="C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/../arduino101_sketch.debug.elf"
"C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1/bin/arc-elf32-objcopy" -S -O binary -R .note -R .comment -R COMMON -R .eh_frame  "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.elf" "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.bin"
"C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1/bin/arc-elf32-strip" "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.elf"
"C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1/bin/arc-elf32-objcopy" -S -O ihex -R .note -R .comment -R COMMON -R .eh_frame  "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.elf" "C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.hex"
Sketch uses 48712 bytes (31%) of program storage space. Maximum is 155648 bytes.
Forcing reset using 1200bps open/close on port COM13
C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.0.1/arduino101load -dfu=C:\Users\Bill\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.9.0-arduino1 -bin=C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.bin -port=COM13 -v -ble_fw_str="ATP1BLE00R-1631C4439" -ble_fw_pos=169984 -rtos_fw_str="" -rtos_fw_pos=0 -core=2.0.0
arduino101load 2.0.1 - compiled with go1.7.5
Starting download script...
Serial Port: COM13
BIN FILE C:\Users\Bill\AppData\Local\Temp\arduino_build_664884/Blink.ino.bin
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
ERROR: Timed out waiting for Arduino 101 on COM13
ERROR: Timed out waiting for Arduino 101 on COM13

Thanks again for any light you may shed on this!
Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Jun 04, 2017, 12:18 am
7Pro x64 here too so a good starting point.

See you are already using the latest CORE too.
Going to point you here (http://forum.arduino.cc/index.php?topic=468349.0) even though you may have done it. NOTE this is not a CORE update it is different as its a FIRMWARE.

This was probably the biggest single help with my 101.

I also find that hitting master reset early also helps even if it hasn't told you to hit it.
Usually after the first or second "Waiting for device..."
Title: Re: Arduino 101 Error: device not responding.
Post by: b_dunn on Jun 09, 2017, 09:58 pm
Ballscrewbob,

Thank you for the suggestions.

 I can't do a firmware update because I get the same the same time out error on Com13 that I get when I attempt a compile and upload. 

The only thing that seems to go through Com13 is the board info:
BN: Arduino/Genuino 101
VID: 8087
PID: OAB6
SN: AE6642EK6210267

I do press the master reset when requested (and before to see if it makes any difference).

Here is the error displayed on the  IDE:

Arduino: 1.8.1 (Windows 7), Board: "Arduino/Genuino 101"

Starting download script...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
ERROR: Timed out waiting for Arduino 101 on COM13
Error while burning bootloader.
Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Jun 10, 2017, 02:36 am
Sometimes just hitting "reset" (not master reset) on the first fail is enough to kick start the darn thing.

In doing that make sure its is a simple sketch such as BLINK or MINIMUM from examples.

is there a specific reason you are not up to 1.8.2 or 1.8.3 for the IDE ?

Not found any difference in operation for the 101 on those releases here.

Btw please learn to use the code tags ( </> )  it makes posts a lot easier to use for error messages and sketches.

Title: Re: Arduino 101 Error: device not responding.
Post by: b_dunn on Jun 11, 2017, 01:06 am
Ballscrewbob

1.)  I tried plain reset and Master Reset with neither one working.
2.)  I went through nearly all of the IDE versions to see if one worked - none of them allowed me to upload to the board.  I happened to have revision 1.8.2 loaded the time I took the information for my post.  I am using 1.8.3 now and normally since it came out.
3.)  I tried Com3, Com5, Com13 and Com15 -  none of these allowed me to upload to the board.
4.)  I found each time I downloaded a new IDE a request came for me to O.K. "download srl driver" - I did O.K. download of the srl driver on previous days. Today, I read that was a separate company and did not O.K. download of the srl driver - neither way permitted me to upload the compiled Hex code to the board.
5.)  I visually examined the Hex file ASCII code within the Blink.ino.hex file - the ASCII hex code looks normal - it must be a good compilation.
6.)  I watched the Device Manager page while my upload was being held up by the
Code: [Select]
waiting for device...
error and noticed my upload threw a Windows 45 error in yellow on the active USB port Com15 - this indicates the port driver was lost at the time I was waiting on device - why is this occurring?.  This might explain the trouble I am having. When the IDE code compilation finally comes to an end with an
Code: [Select]
ERROR: Timed out waiting for Arduino 101 on COM15  The Windows 45 error is gone and the active port shows again in Device Manager as Com15 as the failed attempt at uploading ends.

Here is the code a short time before and during this particular time:

Code: [Select]
\arduino_build_721058/Blink.ino.hex"
Sketch uses 48712 bytes (31%) of program storage space. Maximum is 155648 bytes.
Forcing reset using 1200bps open/close on port COM15
C:\Users\Bill\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.0.1/arduino101load -dfu=C:\Users\Bill\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.9.0-arduino1 -bin=C:\Users\Bill\AppData\Local\Temp\arduino_build_721058/Blink.ino.bin -port=COM15 -v -ble_fw_str="ATP1BLE00R-1631C4439" -ble_fw_pos=169984 -rtos_fw_str="" -rtos_fw_pos=0 -core=2.0.0
arduino101load 2.0.1 - compiled with go1.7.5
Starting download script...
Serial Port: COM15
BIN FILE C:\Users\Bill\AppData\Local\Temp\arduino_build_721058/Blink.ino.bin
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Flashing is taking longer than expected
Try pressing MASTER_RESET button
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
Waiting for device...
ERROR: Timed out waiting for Arduino 101 on COM15
ERROR: Timed out waiting for Arduino 101 on COM15




Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Jun 11, 2017, 02:17 am
OK first off you will be fine with the .SRL drivers.
I would let them install as they should also be the latest ones.
AFAIK they are properly signed too.

I can only use my 101 with the desktop IDE and not at all with the ONLINE editor.

Have become so accustomed to just hitting reset at the very first "Waiting for device..." rather than the lottery of will it wont it.

Adding an attachment to this post too that I developed because I have so many different boards and change IDE's to test etc etc

Maybe it might help ?

Title: Re: Arduino 101 Error: device not responding.Think found soluation
Post by: redpillbug on Jul 08, 2017, 08:27 pm
When you load the code, it will show
 Flashing is taking longer than expected
Try pressing MASTER_RESET button
at this time hold the master reset button or press and release it continuously then it will work.
It worked to me. Hope if this helps you guys. :)
Title: Re: Arduino 101 Error: device not responding.
Post by: Mistral101 on Sep 20, 2017, 06:01 pm
I had the same issue crop up today out of the blue.  I changed nothing on my PC or otherwise - I just started getting the error message "flashing is taking longer than expected try pressing master_reset button"

I updated the firmware per ballscrewbob's instructions on the following post:  http://forum.arduino.cc/index.php?topic=468349.0

I also removed and reinstalled the Arduino plugin. 

The online editor now works. 

In 25 years of working with PCs, I've seen time and again how $#!+ happens for no apparent reasons.  Frustrating for sure. 

ballscrewbob - thanks for your help here - this is the second problem you've helped me resolve.  Appreciate your contributions to the forum. 
Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Sep 20, 2017, 06:12 pm
@ Mistral101

People here help me as much if not more than I help others.
Just giving back to the community but thanks for boosting my confidence in what I try to do.
Just remember I can also be wroung ;)



Title: Re: Arduino 101 Error: device not responding.
Post by: thedemoriliza on Feb 07, 2018, 06:52 pm
my 101 didnt work on my mac. installing the 'intel curie boards ' version 1.0.5 in the boards manager got it going
Title: Re: Arduino 101 Error: device not responding.
Post by: DrGee on Feb 23, 2018, 06:22 pm
At wits end!!

Most all of b_dunn's situation started happening here as well.

Win 7 64 bit.
Arduino IDE 1.8.5
Real-Time scanning in antivirus off.
Using a USB2 port (many ports tried)

Long log attached but it is the same time-out problem. Can't burn bootloader. Can't load program.

Intel Curie boards 2.02 installed (have tried many other earlier versions)


I have successfully used 2 other 101's in the past. This board is new as I wanted a spare since they are end of life. The point is that this is a relatively new issue as I have programmed 101 boards many times using my current equipment.

Thinking it was a bricked board I loaded a new version of the IDE, again 1.8.5, on a different machine (this laptop has never had the IDE). It worked! I was able to burn a Firmware update and run blink several times without problem. Note the laptop is a 32 bit version of windows 7 (starter) NOT the 64 bit Win 7 as described above. The point is that the board is not bricked.

I have read all of the message in this thread and all of the ones in the sticky troubleshooting thread.

I have tried all of the relevant fixes as far as I can tell. Even a few others. I am an old-timer with these windows problems and sooner or later, I figure it out...but not this time and it is driving me nuts.

I am focusing now on this phenomenon:

When I run dpinst-amd64.exe (in 2.02 drivers)  I can force a reload of the 3 relevant drivers:

The Device Driver Installation pops up (in a window that I can't resize or copy and past from) and it shows three drivers "ready to use":
Intel Corp USB (10/13/2015 1.1.0.0)
libusb 1.0 (WinUSB) libusb (WinUSB) devices (10/13/2015)
http//www.intel.com (USBser) Ports (10/13/2015 5.1.2600.0)

Then, when I plug the board in (with the IDE loaded)
I always get a fail on the DFU driver - ALWAYS - unplugged (see attached jpg)
If the serial monitor driver has to also load (depends on restarting the computer) it will successfully load), but the DFU driver always fails.


What the %$@# is going on - can anyone make a suggestion???


Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Feb 24, 2018, 05:40 am
@DrGee

If you have any antivirus or similar security try installing the drivers with it turned OFF
Also try that method to see if you can do an upload.

DO stick with the USB 2.0 ports as they are more reliable.
Try other USB cables as they can go bad at any time.

There was a driver from Intel themselves (https://downloadcenter.intel.com/product/92347/Arduino-101-) that I found useful on occasion.
But DO NOT use the firmware from that page !




Title: Re: Arduino 101 Error: device not responding.
Post by: DrGee on Feb 24, 2018, 03:52 pm
@DrGee

If you have any antivirus or similar security try installing the drivers with it turned OFF
Also try that method to see if you can do an upload.

DO stick with the USB 2.0 ports as they are more reliable.
Try other USB cables as they can go bad at any time.

There was a driver from Intel themselves (https://downloadcenter.intel.com/product/92347/Arduino-101-) that I found useful on occasion.
But DO NOT use the firmware from that page !


Thanks for the thought Bob, I appreciate any help at all. Alas, no joy.

The AV is as off as it gets.

Tried different cables long ago :)

The archaic tool chain that you pointed to is not likely of much help and I'm not sure that it has anything in the way of drivers that would be relevant. In this regard, however, I also use this machine to program a D2000 board (Intel Quark) using Intel System Studio which is a variety of Eclipse. It, apparently has the ability to use the 101, but I have never done that. Even if it would work, it would be a hollow victory. Getting it to work with the Arduino IDE is the goal here. Since I know the board does work on a 32 but 'fresh' Win 7 laptop, the goal is to get it to work with a 64 bit Win 7 system - the same one that I have used dozens of times with these boards - as well as a PIC programmer, various other Arduinos, the D2000 and Atmel boards (Atmel Studio), and Cypress PsOC creator.

Something has changed and I am suspecting dpinst-amd64 or the dlls associated with it - or maybe it is just something I am not thinking about or don't know enough to understand (likely).

Frustrating as all get-out.

I wish facchinm would respond - but the board is end of life.
Title: Re: Arduino 101 Error: device not responding.
Post by: ballscrewbob on Feb 24, 2018, 03:59 pm
My 101 runs on x64 from win 7 upwards so its not that aspect.
Just so you dont go chasing a false lead.

X64 pro Win 7 is my goto box with FULL admin rights not just user admin rights.
Also have Driver enforcement turned off as I play quite a lot with so many Arduinos.

As another test you could enable the HIDDEN admin account log into it and also turn off driver enforcement to see if that fixes it.

Dont use the hidden admin account for anything other than testing BTW.

Yes facchinm is the man for this type of issue but I think he is more Linux ?
Title: Re: Arduino 101 Error: device not responding.
Post by: DrGee on Feb 24, 2018, 04:36 pm
My 101 runs on x64 from win 7 upwards so its not that aspect.
Just so you dont go chasing a false lead.
Mine used to as well :(
Title: Re: Arduino 101 Error: device not responding.
Post by: DrGee on Feb 25, 2018, 05:35 pm
No progress on this device not responding issue (see my post #52 - and others).

The most compelling explanation appears to revolve around the failure of the 1200 b port reset touch.

Because I have used this machine with 2.02 at least back in June of 2017 and reading facchinm 's post here https://github.com/arduino/ArduinoCore-arc32/issues/526 (April 18, 2017), I do not believe it is a firmware issue.

I think it is likely a Win 7 setting issue - but I don't really know. A lot has changed on this machine in the last year, but nothing that I can point to as suspect.

*sigh*