I'm trying to build my arduino project and upload it, but when the build commands commence, I get an error
avrdude: ser_open(): can't open device "\\.\COM4": Access is denied.
I tried running Atom itself as admin but that didn't seem to do the trick, any pointers?
Did you close all Terminal windows with Serial Port Monitor?
@ivankravets That seemed to do the trick, thanks! I had the arduino IDE Monitor open
what do you mean by closing the serial monitor?
@ela21ccc just reconnect your board
i am getting this error "avrdude: ser_open(): can't open device "\.\COM4": Access is denied." what to do , i have tried with reconnecting it too
I tried with various options and finally succeed to download with using Audrino ISP
It seems that this port is used by another other application. Try to disconnect it from other apps.
thanks ivankravets
I'm getting this same error. I think I've done all the things mentioned above and still no luck. What else can I try?
jmcdaris, Did you solve it?
I have no idea why but my issue when away after I closed Cura slicer. Make sure you don't have any programs on your computer open that eat all your ports.
Yeah Cura hugs your serial port like no other. you can disable the USB printer plugin
Took too long to find this solution; closing Cura solved my issue. Thank you!
Yep Cura was the culprit for me too :-)
Thanks.
Most helpful comment
I have no idea why but my issue when away after I closed Cura slicer. Make sure you don't have any programs on your computer open that eat all your ports.