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.
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?
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).
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.
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.
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.
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.
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.
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
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.
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.
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.
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!!
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!
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
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.
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.
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.
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.
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.
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...