Firmware update issue: avrdude has no access to COM port
 
Notifications
Clear all

Firmware update issue: avrdude has no access to COM port  

Page 1 / 2
  RSS
henkjan_nl
(@henkjan_nl)
New Member
Firmware update issue: avrdude has no access to COM port

 

Hi,

I tried updating my Prusa Mk3S firmware from a Windows 10 computer, but AvrDude has no access to my COM13 port. I retried launching PrusaSlicer with administrator rights, but with the same result. 

avrdude-slic3r -v -p atmega2560 -c wiring -P COM13 -b 115200 -D -U flash:w:0:C:\Users\beheerder\Downloads\prusa3d_fw_MK3S_3_7_2_2363.hex:i

avrdude-slic3r: Version 6.3-20160220-prusa3d, compiled on May 20 2019 at 18:52:49
Copyright (c) 2000-2005 Brian Dean, 
Copyright (c) 2007-2014 Joerg Wunsch

Using Port : COM13
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude-slic3r: ser_open(): can't open device "\\.\COM13": Access is denied.

avrdude-slic3r: Could not open port: COM13

avrdude-slic3r done. Thank you.

 

Posted : 14/07/2019 9:21 am
n9jr
 n9jr
(@n9jr)
Eminent Member
RE: Firmware update issue: avrdude has no access to COM port

In Windows 10, inside device manager with the printer turned on do you see a USB device registered on COM13?  

Posted : 17/07/2019 10:38 pm
Protoncek
(@protoncek)
Reputable Member
RE: Firmware update issue: avrdude has no access to COM port

Try to change port number, it helps sometimes. There are devices, who can't communicate on ports over certain number and 13 is quite high. Try to change it to, say, 3 or 4. Windows might say that it's in use, but most of the time that is not true (at least currently - windows reserves com ports for a future re-use of devices, used in the past).

Posted : 18/07/2019 7:07 am
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
RE: Firmware update issue: avrdude has no access to COM port

Also please make sure that there is no other application accessing your serial port, for example Cura or Pronterface.

 

Posted : 23/07/2019 3:01 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: Firmware update issue: avrdude has no access to COM port

i had a lot of problems with W7 Slic3r Firmware flashing: no connection, crashes and flashwrite errors.

After that i installed Linux Ubuntu 18.04 LT on my small HP Notebook, installed the last Slic3r (2.0.0) Linux version and what shall i say:

no problems with writing Firmware and internal flash (important for multilanguage).

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 23/07/2019 11:47 pm
laurel.w
(@laurel-w)
Trusted Member
RE: Firmware update issue: avrdude has no access to COM port

I also run Ubuntu and for firmware flashing had to give access to my port a couple times, but for the most recent release, not even that. It's been very smooth.

Posted : 24/07/2019 2:47 am
--
 --
(@)
Illustrious Member
RE: Firmware update issue: avrdude has no access to COM port

I've been using Windows 7 since, well, forever, and have never had flashing issues. Always finishes without errors the first attempt.

Posted : 24/07/2019 2:50 pm
karl-herbert
(@karl-herbert)
Illustrious Member
RE: Firmware update issue: avrdude has no access to COM port

you could try Arduino 1.8.9 running on Linux as root. Before you flash with Arduino you must disable multilanguage in config.h, because multilanguage is only possible with Slic3r. If this breaks possibly the board or the USB cable has an issue.

Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.

Posted : 24/07/2019 10:07 pm
Bristol Nano Dynamics
(@bristol-nano-dynamics)
New Member
RE: Firmware update issue: avrdude has no access to COM port

I have exactly the same issue, using a different OS is not really a solution. The software is supposed to work on the current version of windows. Does anyone have a fix for this on windows 10? Thanks

Posted : 30/05/2020 7:57 pm
rtMcGill liked
spdrp
(@spdrp)
Active Member
RE: Firmware update issue: avrdude has no access to COM port

For me, this was because an unsigned driver. You can check in the device manager (windows key+R | devmgmt.msc): the prusa driver will have some problem. Follow the option two here.

Posted : 02/06/2020 6:29 am
Midwest Hacker
(@midwest-hacker)
New Member
RE: Firmware update issue: avrdude has no access to COM port

  Same issue here.  Running Windows 10 and get exact same error. avrdude cannot access but mine is on COM3.  I agree, reloading another OS should not be called a fix.  I had even tried turning off AV just in case.  No glory.  I only have two usb ports on my laptop.  I will try reassigning them a different number.  

Posted : 02/06/2020 6:41 pm
rtMcGill liked
rtMcGill
(@rtmcgill)
New Member
RE: Firmware update issue: avrdude has no access to COM port

I have the same issue. I'm running Windows 10. Prusa i3 Mk3 on COM4. I cannot see that any other application is using the port. I unplugged and replugged the USB cable and rescanned the ports several times with no success. Just now, I unplugged and replugged the USB cable, clicked on the Rescan button and highlighted the serial port. Then I clicked on Flash and it worked. Lucky me!

 

This is too random for my liking. I have to flash two more printers and this is extremely inconvenient.

I agree that installing a new operating system should not be considered a solution.

This post was modified 4 years ago by rtMcGill
Posted : 07/07/2020 7:42 pm
You liked
Midwest Hacker
(@midwest-hacker)
New Member
RE: Firmware update issue: avrdude has no access to COM port

Ultimately, I ended up using a spare computer which had just been reimaged.  Therefore none of the ports had yet ever been "assigned" to any use.  I ran the software and it installed and ran as it should.  This would also indicate that going in and reassigning a port on your existing device that is having issues "should" work.  It still seems a little quirky for the average user though I do recognize many younger folks (the under thirty crowd) should not have an issue with this.  I am 60+ but have an IT background so I understood what could be done but would like to see a more "precise and controlled" process for less hassles.  All good now!!

Posted : 08/07/2020 11:34 am
Tom17
(@tom17)
Active Member
RE: Firmware-Update-Problem: avrdude hat keinen Zugriff auf den COM-Port

Hi folks, had the same problem after switching off the port for the Raspberry Pi, the filmware update works fine.

Please test and post whether it works for you!

 

This post was modified 3 years ago 2 times by Tom17
Posted : 25/11/2020 6:42 am
stellr
(@stellr)
Trusted Member
RE: Firmware update issue: avrdude has no access to COM port

Ubuntu:   the only port presented was /dev/ttyACM0, same failure.  No access.  I changed perms on the dev and then it all worked.   I'm sure there is like stuff in win10.   

stellr@stellr:~/Desktop$ ls -lt /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Apr 21 16:19 /dev/ttyACM0

root@stellr:~# chmod o+rw /dev/ttyACM0

root@stellr:~# ls -lt /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 Apr 21 16:19 /dev/ttyACM0

Posted : 21/04/2021 8:34 pm
Dan Rogers
(@dan-rogers)
Noble Member
RE: Firmware update issue: avrdude has no access to COM port

Many laptops have several USB ports.  Switch between them - if the manufacture of the laptop has decided to support multiple ports by integrating a USB hub, you may be experiencing this error due to a port behind a hub.  One of them will be a primary port (nearly always) - find it.

 

Posted : 22/04/2021 5:42 am
mstejska
(@mstejska)
New Member
RE: Firmware update issue: avrdude has no access to COM port

I can tell that I had same problem with updating firmware.
I used USB ports in front of the PC.
They definitely work correctly. I am using them to programming arduino. Not on port 3, but higher.

What was help me?
I tryied to plug cable from back of PC, directly to mainboard.
And what a surprice? Updating of firmware works! Strange.
So even there is similar software and similar hardware, it is not guaranted that it will work in same usb port.

Posted : 05/02/2022 1:58 pm
AdamEEE
(@adameee)
New Member
RE: Firmware update issue: avrdude has no access to COM port

 

Posted by: @spdrp

For me, this was because an unsigned driver. You can check in the device manager (windows key+R | devmgmt.msc): the prusa driver will have some problem. Follow the option two here.

This was part of the solution for me. Those exact directions under "option 2" didn't quite work, but deleting everything assigned to the Com Port, and then re-assigning to a different port, did help, although not initially.

Mine wasn't working until I went and tried to update my MMU2S. I noticed a printer firmware file and the MMU file just at the bottom of the list. Although the file name is the same between the MMU folders and the printer folders, the one file in the MMU folder worked to flash the printer. However, now I am stuck unable to update the MMU.... more research tonight I guess.

Posted : 21/03/2022 3:03 am
AdamEEE
(@adameee)
New Member
RE: Firmware update issue: avrdude has no access to COM port

This is the website I used to figure out how to delete/reassign the comm ports.

 

https://theitbros.com/how-to-delete-com-ports-in-use/  

Posted : 21/03/2022 3:07 am
Johny.Whooof
(@johny-whooof)
New Member
RE:

So, I had the same issue, read through the answers here and after seeing what rtMcGill wrote I decided to unplug and replug the cable. Issue fixed... 

Posted : 12/08/2022 5:18 pm
Page 1 / 2
Share: