Hello Guys,
I am having trouble using Visual Micro extension on Visual studio, it complies fine, but when I run it it gives an error of COM3 access denied my specific configuration is as follows
Ide: Arduino 1.6
Board: Arduino Uno
Serial Port COM3 also tried changing the port to com9
tried both settings With always use programmer for upload and without Always use programmer for upload and still getting the same error
I am using Visual Studio 2015, it takes long time to compile first and gives me this error
Error during upload using programmer
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM9
Using Programmer : stk500v1
Overriding Baud Rate : 19200
Upload timed out waiting for a response
The uploader returned an error
if I re run it again it will give
Error during upload using programmer
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM9
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): can't open device "\\.\COM9": Access is denied.
avrdude done. Thank you.
The uploader returned an error
if I unchecked the always use Programmer or uploading option it it gives
Binary sketch size: 3,010 bytes (used 9% of a 32,256 byte maximum) (0.56 secs)
Minimum Memory Usage: 279 bytes (14% of a 2048 byte maximum)
Uploading to I/O board using 'COM9'
Uploader started for board Arduino/Genuino Uno
Upload method will be: bootloader
Uploading via Bootloader
Flushing the serial port
Access to the port 'COM9' is denied.
any suggestion would be helpful and appreciated
Thank you