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 Can no longer upload code to Nano (Read 1329 times)
peetj
Junior Member
**
Offline


Posts: 14
Location: Sydney
Joined: Apr 10th, 2023
Can no longer upload code to Nano
Sep 25th, 2023 at 3:37am
Print Post  
Hi,

Everything was going swimmingly well (almost everything) until I got this message which I have seen 1000 time before on the Arduino and usually solve it within 30 seconds:

avrdude: ser_open(): can't open device "\\.\COM8": Access is denied.

Usually reload the app, unplug/replug...etc and all good.

Not this time however. I checked on the Arduino IDE and I could upload code no problem. The issue persists on VS with Visual Micro. 

Not sure where to go from here. Clearly something is locked up (a file?). Have restarted Visual Studio - same issue.

I did try switching to an UNO from the Nano and successfully uploaded on a different COM port. Switched back and same problem.

Many thanks

Pete...
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
peetj
Junior Member
**
Offline


Posts: 14
Location: Sydney
Joined: Apr 10th, 2023
Re: Can no longer upload code to Nano
Reply #1 - Sep 25th, 2023 at 3:45am
Print Post  
Ok my mistake - I had a Serial Monitor window open on an arduino app.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint