I have 2 computers: one desktop, one laptop
both:
- new hardware
- Arduino IDE 2.1.1
- use old bootloader in IDE (under tools>processor)
- USB 3 port
My cheap arduino nano works seamlessly with my laptop but not on my desktop.
Also, on my desktop, uploading works with another arduino mega and CH340 chip.
I tried unworking solutions for my desktop:
- get drivers on manufacturer website
- connect on USB2 hub
- get driver from my laptop to my desktop
Until I tried "Enabling the Serial Port Enumerator (SerNum)" under device manager PortSettings>Advanced.
I don't know what I am doing but it works. If somebody can explain me ?
EDIT: Upload works once. Then I have to uncheck/recheck this setting to upload again.
I did, 2.XX.XX is a new animal on the block and from what I have seen is showing allsorts of teething problems.
Keeping a copy of the 1.8.19 NON Internet version is a good thing to have.
Perhaps, but this "can't set com-state" error when uploading is not one of them. This is a problem at the driver level that will occur when using Arduino IDE 1.x or even just running the avrdude command directly without even having Arduino IDE running.
thanks for a fantastic post. I upgraded to the new IDE an it just wouldn't upload sketches to any of my Nano's. I tried it all. I spent hours raking through search engines. Your solution was the best, the fastest, the only solution that works! I can now go back to programming my Nano's. Very grateful.