Go Down

Topic: Serial Port 'COM3' already in use. (Read 5207 times) previous topic - next topic

Carthaginian


mmm so I think your problem is another application running in your machine. I can try to help you if you want via teamviewer


While running the IDE with the Arduino plugged in, this is the tasklist:

Image Name                     PID Session Name
========================= ======== ================
System Idle Process              0 Services
System                           4 Services
smss.exe                       284 Services
csrss.exe                      428 Services
wininit.exe                    512 Services
csrss.exe                      528 Console
services.exe                   560 Services
lsass.exe                      584 Services
lsm.exe                        592 Services
winlogon.exe                   668 Console
svchost.exe                    732 Services
svchost.exe                    808 Services
MsMpEng.exe                    924 Services
svchost.exe                    988 Services
svchost.exe                    112 Services
svchost.exe                    340 Services
svchost.exe                    420 Services
DockLogin.exe                 1040 Services
svchost.exe                   1148 Services
spoolsv.exe                   1372 Services
svchost.exe                   1400 Services
armsvc.exe                    1524 Services
httpd.exe                     1548 Services
k9filter.exe                  1604 Services
UACProxy.exe                  1632 Services
svchost.exe                   1664 Services
httpd.exe                     1988 Services
LMS.exe                        372 Services
mysqld.exe                    2528 Services
NACAgent.exe                  2564 Services
SacNetAgent.exe               2688 Services
SftService.exe                3040 Services
sftvsa.exe                    2028 Services
taskhost.exe                  3024 Console
svchost.exe                   3004 Services
vmnat.exe                     3116 Services
WLIDSVC.EXE                   3336 Services
explorer.exe                  3348 Console
dwm.exe                       3388 Console
sftlist.exe                   3564 Services
WLIDSVCM.EXE                  3644 Services
vmware-authd.exe              3708 Services
vmnetdhcp.exe                 3764 Services
vmware-usbarbitrator64.ex     3792 Services
CVHSVC.EXE                    3196 Services
NisSrv.exe                    3416 Services
svchost.exe                   4228 Services
STService.exe                 4460 Console
Toaster.exe                   4524 Console
SynTPEnh.exe                  4600 Console
SynTPHelper.exe               1976 Console
igfxtray.exe                  4564 Console
hkcmd.exe                     4372 Console
igfxpers.exe                  4768 Console
msseces.exe                   4812 Console
RAVCpl64.exe                  3544 Console
SacReminder.exe               4732 Console
googledrivesync.exe           5084 Console
SearchIndexer.exe             4876 Services
StikyNot.exe                  4312 Console
RoxioBurnLauncher.exe         4304 Console
WebcamDell2.exe                936 Console
sprtcmd.exe                   5132 Console
jusched.exe                   5168 Console
AdobeARM.exe                  5200 Console
NACAgentUI.exe                5208 Console
SSScheduler.exe               5652 Console
DellDock.exe                  5680 Console
Dropbox.exe                   5688 Console
googledrivesync.exe           5780 Console
sprtsvc.exe                   3140 Services
UNS.exe                       4300 Services
wmpnetwk.exe                  4000 Services
SeaPort.EXE                   1324 Services
wlanext.exe                   2716 Services
conhost.exe                   8100 Services
mscorsvw.exe                  8164 Services
chrome.exe                   11856 Console
chrome.exe                   15980 Console
wuauclt.exe                   8040 Console
chrome.exe                   18924 Console
chrome.exe                   15484 Console
chrome.exe                   20308 Console
taskhost.exe                 18984 Console
chrome.exe                   20468 Console
chrome.exe                   15680 Console
chrome.exe                   17876 Console
cmd.exe                      16120 Console
conhost.exe                   2680 Console
audiodg.exe                  14988 Services
WmiPrvSE.exe                 20008 Services
javaw.exe                    17580 Console
tasklist.exe                 20020 Console

eried

You have a lot of crap, I can't identify all, but you can start trying killing some process one by one. In a clean machine (just after boot) I think these are unneeded:

Code: [Select]
javaw.exe                    17580 Console
cmd.exe                      16120 Console
wmpnetwk.exe                  4000 Services
SeaPort.EXE                   1324 Services
RAVCpl64.exe                  3544 Console
SacReminder.exe               4732 Console
RoxioBurnLauncher.exe         4304 Console
WebcamDell2.exe                936 Console
sprtcmd.exe                   5132 Console
jusched.exe                   5168 Console
AdobeARM.exe                  5200 Console
NACAgentUI.exe                5208 Console
SSScheduler.exe               5652 Console
DellDock.exe                  5680 Console
My website: http://ried.cl

craigcurtin


The OP and I are dealing with a similar problem, and we have at least one thing in common:

We originally used our boards with Linux.  Everything worked fine then.  Then we moved to Windows 7 (and I assume with the same boards) and started having problems.

At least in my situation, could Linux have messed with the ports?  Any other ideas?


Ignore the message when windows tells you you have to reboot - i.e. say cancel

Then reenable the port and you will be good to go.

I suggest you go to the microsoft site and download sysinternal which can give you lots of info about hardware in use.

I would suggest you have turned on something in the IDE that is leaving a serial monitor (or some such) open each time you fire up the IDE

Craig

charredgrass

You're sure your arduino is on COM3? An easy way to make sure it is on COM3 is unplugging the board, looking at connected serial ports, and whatever has disappeared is the Arduino.
If you're SURE that your arduino is on COM3, try using another USB port.

Carthaginian


Ignore the message when windows tells you you have to reboot - i.e. say cancel

Then reenable the port and you will be good to go.

I suggest you go to the microsoft site and download sysinternal which can give you lots of info about hardware in use.

I would suggest you have turned on something in the IDE that is leaving a serial monitor (or some such) open each time you fire up the IDE

Craig


To repeat what I said in the other thread:

Some good news.  I tried out the board and cable on a friend's Mac, and it worked fine (and as I mentioned earlier, it worked fine when I had Linux).  I'm now confident that it really is Window's fault.

As for Sysinternal, I've gone to this page http://technet.microsoft.com/en-us/sysinternals/bb963902 .  However, it now seems to me that "Sysinternals" names a whole collection of software, not just what I need.  What more specific software should I be using?

And as a final note, I tried the "disable/re-enable" strategy with no luck.  Thanks though for the suggestion.

alnath

Here is what I would do :

- Save all the sketches in a new folder , same with the libraries added after installation
- unplug the arduino
- uninstall arduino IDE (using the uninstall program)
- uninstall COM3  (if it still appears, but it shouldn't)
- turn the PC OFF (not a restart)
- turn it ON,
- reinstall Arduino IDE
- plug arduino, the drivers should install
- launch the IDE and check if it works
- if everything works, restore the sketches and libraries

OK, I admit this is kind of an "extreme" solution, but sometimes, windows gives no choice (maybe that's why I run linux at 98% and the 2% left is an XP virtual machine launched from mint  ;) ), and it shouldn't take more than 5-10 mn

craigcurtin



Ignore the message when windows tells you you have to reboot - i.e. say cancel

Then reenable the port and you will be good to go.

I suggest you go to the microsoft site and download sysinternal which can give you lots of info about hardware in use.

I would suggest you have turned on something in the IDE that is leaving a serial monitor (or some such) open each time you fire up the IDE

Craig


To repeat what I said in the other thread:

Some good news.  I tried out the board and cable on a friend's Mac, and it worked fine (and as I mentioned earlier, it worked fine when I had Linux).  I'm now confident that it really is Window's fault.

As for Sysinternal, I've gone to this page http://technet.microsoft.com/en-us/sysinternals/bb963902 .  However, it now seems to me that "Sysinternals" names a whole collection of software, not just what I need.  What more specific software should I be using?

And as a final note, I tried the "disable/re-enable" strategy with no luck.  Thanks though for the suggestion.


OK try this first

http://www.dslreports.com/faq/4115

Show hidden devices in device manager and delete all the ones not currently connected.

Then attach the arduino to a different serial port (is this a desktop or a laptop ?) and see if it comes up as a different USB port

(I will get you the link to the correct software in Sysinternals shortly and post that)


Craig

jormc

Hi!

I've the same problem... Did you had solved it finally?

Thanks.

Go Up