cannot upload - com4 already in use

New members questions
Post Reply
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

cannot upload - com4 already in use

Post by rossbryant1956 »

I have been quite frustrated for the last several days and hope someone sees what I am doing wrong. All was seeming to be working fine until I tried to upload the code that I got from the board for random wavemaking. Now when I go to upload from Arduino I get:

-----------------------------------------------------------
Binary sketch size: 31488 bytes (of a 32256 byte maximum)
processing.app.SerialException: Serial port 'COM4' already in use. Try quiting any programs that may be using it.
at processing.app.Serial.<init>(Serial.java:144)
at processing.app.Serial.<init>(Serial.java:76)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:93)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:56)
at processing.app.Sketch.upload(Sketch.java:1603)
at processing.app.Sketch.exportApplet(Sketch.java:1568)
at processing.app.Sketch.exportApplet(Sketch.java:1524)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
at java.lang.Thread.run(Thread.java:619)
processing.app.debug.RunnerException: Serial port 'COM4' already in use. Try quiting any programs that may be using it.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:99)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:93)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:56)
at processing.app.Sketch.upload(Sketch.java:1603)
at processing.app.Sketch.exportApplet(Sketch.java:1568)
at processing.app.Sketch.exportApplet(Sketch.java:1524)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
at java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------

I noticed it first when trying to hook up my X10 interfaces but after de-installing all their software, and even re-installing the Reef Angel stuff I still get the error. I thought for a minute it had to do with the client software but I did a fresh boot asnd tried to upload prior to running the client.

Still didn't work...

In device manager there is a driver, a FT232R UART USB sitting on Com4 that I suppose belongs to RA but would like verification.

I wrote the other day about potentially changing that address thinking I could get around this problem but no other ports are offered me in either Arduino, Client SW or even installer.

Thinking the FT232R UART chip belonged to someone else, I de-installed all drivers, plugged them in one at a time and sure enough it was the RA cable that caused Windows to install this driver.

I would really appreciate the help...I am kinda stuck and not sure how to proceed. Thx in advance.

Ross
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: cannot upload - com4 already in use

Post by rimai »

I think it is the client.
Open the Client and go to Settings->Modify and choose General tab.
Click the button Launch Service Dash.
Make sure that you have the Listener service stopped before uploading any code.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: cannot upload - com4 already in use

Post by rossbryant1956 »

That did it. Thx

Ross
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
mraaa1988
Posts: 3
Joined: Sun May 20, 2012 12:27 am

Re: cannot upload - com4 already in use

Post by mraaa1988 »

Hi guys

I am having the same problem as Ross
---------------------------------------------------------------------------------------

Binary sketch size: 1026 bytes (of a 32256 byte maximum)
processing.app.SerialException: Serial port 'COM7' already in use. Try quiting any programs that may be using it.
at processing.app.Serial.<init>(Serial.java:144)
at processing.app.Serial.<init>(Serial.java:76)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
at processing.app.Sketch.upload(Sketch.java:1664)
at processing.app.Sketch.exportApplet(Sketch.java:1624)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
at java.lang.Thread.run(Thread.java:619)
processing.app.debug.RunnerException: Serial port 'COM7' already in use. Try quiting any programs that may be using it.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:99)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
at processing.app.Sketch.upload(Sketch.java:1664)
at processing.app.Sketch.exportApplet(Sketch.java:1624)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
at java.lang.Thread.run(Thread.java:619)
-----------------------------------------------------------------------

What do u mean by opening the Client
Where is the Client and how I can access it

By the way I am using Windows 7 pro 64 bits
I was doing some testings with my Xbee shields and this error came so making me very frustrating

Any help would be highly appreciate
Thanks
Tony
Sebyte

Re: cannot upload - com4 already in use

Post by Sebyte »

The reference is to the Reef Angel Client software.

Open the Client and go to Settings->Modify and choose General tab.
Click the button Launch Service Dash.
RA client screen.JPG
RA client screen.JPG (62.65 KiB) Viewed 6773 times
Make sure that you have the Listener service stopped before uploading any code.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: cannot upload - com4 already in use

Post by rimai »

Are you sure COM7 is the port that the USB cable is using?
The easiest way to find out is:
Make sure that USB-TTL cable is plugged in.
Tools->Boards
Write down all ports showing.
Remove the USB-TTL cable.
Tools->Boards
Whichever port is missing is the one you need to use to communicate with RA.
Roberto.
mraaa1988
Posts: 3
Joined: Sun May 20, 2012 12:27 am

Re: cannot upload - com4 already in use

Post by mraaa1988 »

Yes

That is definitely COMP7

I did try even with my friend's laptop

The error was exactly the same except I got "COMP3" instead of "COMP7"

Never experience with Reef Angel Client software before, so gonna take a while for me to understand it

Any way I ll let u guys know how I go as soon as possible

Thanks for all the help
Tony
mraaa1988
Posts: 3
Joined: Sun May 20, 2012 12:27 am

Re: cannot upload - com4 already in use

Post by mraaa1988 »

Hi guys
Somehow I can not Launch Service Dash

Keep getting this error every time I click on Launch Service Dash from Reef Angel Client v2.2/Settings/Modify/General window

-----------------------------------------------------
ReefAngelManager has stopped working
Windows is checking for a solution to a problem...
----------------------------------------------------

then nothing happened

The listener status: Stopped / Retrying to connect in 00:45
The logger status: Running

I am using USB cable
still getting "Serial port 'COM7' already in use" when uploading a code to my Arduino using ReefAngel Controller

want to upload a picture but the file is too big so cant show u guys
What did I do wrong???
Please help
btw can u also show me how to upload a picture to a forum?

Tony
Post Reply