Well, the com port appears. If I do not connect the arduino, the compiler returns 'avrdude: ser_open(): can't open device "\\.\COM3"'. So my arduino connects to my pc. It start compiling and uploaden so the com port is in use. If I want to try uploading again, I first have to disconnect my arduino from the usb port, otherwise it says 'com port in use'.
Since yesterday, I can no longer connect to my arduino Mega 2560. I was playing with a servo when the servo had some strange behavior (turning left, right, right, left etc etc). After that, I can't upload anything to my Arduino. I'm running Windows 7 and I had never problems before.
When I try to upload something to the board with the shift key enabled, I get the message 'avrdude: stk500_getsync(): not in sync: resp=0x00'. I tried to burn the bootloader through usb but that gives me the same error.
In the Arduino environment are the board type and the port entered correctly.
I hope someone can help me with this. Thanks in advance.