platformio-core: avrdude: ser_open(): can't open device "\\.\COM4": Access is denied.
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?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (3 by maintainers)
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.
Took too long to find this solution; closing Cura solved my issue. Thank you!
Yeah Cura hugs your serial port like no other. you can disable the USB printer plugin
Did you close all Terminal windows with Serial Port Monitor?
Yep Cura was the culprit for me too 😃 Thanks.