Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Access denied to serial port Arduino Uno (Read 1985 times)
sam14
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2014
Access denied to serial port Arduino Uno
Dec 27th, 2014 at 11:08pm
Print Post  
Hello: I just installed  MS Visual Studio Community 2013 and Visual Micro. I have Arduino Uno with IDE ver. 1.0.6 installed. Have no problem accessing and running programs through the Arduino IDE. But, when I try Visual Micro, the program compiled the program but will not upload. I get the following error message;

C:\Program Files\Arduino\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom rm2.elf" rm2.hex"
Binary sketch size: 1,418 bytes (used 4% of a 32,256 byte maximum) (0.94 secs)
Uploading to I/O board using 'Arduino as ISP'
Uploader started for board Arduino Uno
Uploader will use programmer name: arduinoisp
C:\Program Files\Arduino\hardware\tools\avr\bin\avrdude -C"C:\Program Files\Arduino\hardware/tools/avr/etc/avrdude.conf" -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM3 -b19200 \Blink_alarm2.hex":i
avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files\Arduino\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM3
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.



avrdude done.  Thank you.


Any idea as to what I am doing wrong? Thanks.

  
Back to top
 
IP Logged
 
sam14
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2014
Found the issue
Reply #1 - Dec 28th, 2014 at 1:26am
Print Post  
Under MS Visual Studio - Tools - Visual Micro- "upload using programmer" was set to on by default. I unclicked it and now the the Arduino board is communicating with the program without any problems. Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint