Pages: [1]   Go Down
Author Topic: Arduino starts extremely slow, 20 seconds  (Read 826 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It takes 20 seconds on average to get Arduino 1.0.1 to start. This is almost unacceptable. Does anybody else has this issue?

Before you blame my computer, it's a new laptop is running Win 7 Ultimate 64-bit, Sandy Bridge i7, 8 GB of DDR3 RAM, and a OCZ Agility 3 SSD that's on a SATA III port. SolidWorks starts faster than Arduino.
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Slovakia
Offline Offline
Newbie
*
Karma: 0
Posts: 33
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try to turn off bluetooth, in my case Arduino runs very slow when I have bluetooth SPP com ports active
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I too saw the same symptoms several years ago, and when I deleted the bluetooth driver on the PC it went away. Seems that when the IDE starts, it has to ask the OS for what available serial ports there are and that would trigger a bluetooth search for possible active links, which requires retries and timeout and such, so you ended up with the big delay to start. Funny I though they fixed that problem in later IDE releases, but I've never re-installed my bluetooth drivers to see if that is a fact or not?

LEfty
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I too saw the same symptoms several years ago, and when I deleted the bluetooth driver on the PC it went away. Seems that when the IDE starts, it has to ask the OS for what available serial ports there are and that would trigger a bluetooth search for possible active links, which requires retries and timeout and such, so you ended up with the big delay to start. Funny I though they fixed that problem in later IDE releases, but I've never re-installed my bluetooth drivers to see if that is a fact or not?

LEfty


I sent a fix to the guys that work in the serial dll like 3 years ago, but they never fixed the issue. And I posted the fix in google code, but I guess arduino need to use 'tested things'.
I included my fix in this 'enhanced' version: http://arduino.cc/forum/index.php/topic,118440.0.html specially Check the point 5

I can asure frank26080115 your problems will dissapear smiley-wink
Logged

My website: http://ried.cl

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks everybody, I'm guessing it's the Bluetooth then

eried, that's quite an excellent mod

wow what happened to verbose? I didn't realize it disappeared until I saw your mod
« Last Edit: August 24, 2012, 10:18:03 pm by frank26080115 » Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Now verbose is a settings from Preferences, but I added it with Shift again smiley-razz because I don't like to have "verbose=true" always
Logged

My website: http://ried.cl

Pages: [1]   Go Up
Jump to: