** Fix to port already in use (Windows) **

I was getting a lot of frustration in the v1.0.1 because of this (and I know the arduino team use Mac, so they don't care a lot of 'small' details):

So I decided to do something!

This is a wrapper for AVRDude and some 'hacks' on the IDE (now my app do the serial port flushing). It requires .Net Framework 4

Instructions:

1) Copy/replace the exe files to:
* Arduino\arduino-1.0.1\hardware\tools\avr\bin

2) Rename pde.jar to zip and use any Zip app to replace \processing\app\debug
* AvrdudeUploader.class
Rename again to jar, or just use the provided pde.jar but it contains other changes from:
http://servicios.ried.cl/arduino/temp/windows7_arduino-1.0.1_fix.rar

So if you get an error starting the IDE, download that rar and copy the TXT file from the step 3 (preferences.txt are renamed to keep old arduino versions working)

Download:
Binaries(v0.1_20120813): http://servicios.ried.cl/arduino/temp/windows_arduino-1.0.1_avrdudewrapper_0.1.zip
Sourcecode (v0.1_20120813): http://servicios.ried.cl/arduino/temp/windows_arduino-1.0.1_avrdudewrapper_0.1_source.zip

Note: This is a preliminary version. Took me several hours of work but it is not fully perfect so don't complain without helping me with details and suggestions.

More enhancements: http://servicios.ried.cl/arduino/

eried:
I was getting a lot of frustration in the v1.0.1 because of this (and I know the arduino team use Mac, so they don't care a lot of 'small' details):

The Arduino developers "care". Try posting a suggested fix:

http://code.google.com/p/arduino/

Well, I posted some issues long time ago.
http://code.google.com/p/arduino/issues/list?can=1&q=erwinried

And for example, almost all those issues are fixed by my ftdi.dll hacked file:
http://code.google.com/p/arduino/issues/list?can=1&q=bluetooth

So, maybe is not that they don't care but is not like copying and pasting some code and quickly fix the issues, it is an extra effort (to find a solution JUST for Windows users) that I think will never be done by arduino guys. Anyway, I really hate doing complains without helping, so I always try to fix things first and at the end of the day I just compiled all my fixes in a "modded" IDE and I am pretty happy with the result :slight_smile:

I would really love to build a new IDE from scratch one day, always dreamed about some features, but it is just too much work for now vs my frustrations with the current one :smiley:

Bump!
Will this work on Arduino 1.0.5? i'm getting similar problem while uploading via USB cable.

It is now bundled here: http://forum.arduino.cc/index.php/topic,118440.0.html

Guys I had the same problem and same error . Follow these steps and you could solve the problem:

  1. First connect the arduino to a different serial port.
    2.Go to device manager and click on the arduino com port .
    3.Then click update driver software and click the last option and follow the steps.
    You problem will be solved
    This worked for me.

Guys I had the same problem and same error . Follow these steps and you could solve the problem:

  1. First connect the arduino to a different serial port.
    2.Go to device manager and click on the arduino com port .
    3.Then click update driver software and click the last option and follow the steps.
    You problem will be solved
    This worked for me.