I have some Nano's I was using fine, but now a number of them are being rejected by the IDE
The message I get is avrdude: ser_open(): can't set com-state for "\\.\COM3" Failed uploading: uploading error: exit status 1
When I try the same Nanos on another PC they work fine, although the other PC I did not let it upgrade IDE on start
I made sure I used known good USB cables, I plugged into the same USB port on the PC, and tried different USB sockets on the PC, all that changes is the port number but I continue to get rejections.
Unfortunately that didn't work - I no longer get the comms error, but now whichever bootloader I use I get this message. The Nano I was testing is the ATmega328p (old bootloader type)
Sketch uses 3560 bytes (11%) of program storage space. Maximum is 30720 bytes.
Global variables use 446 bytes (21%) of dynamic memory, leaving 1602 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x06
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe6
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x06
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe6
Failed uploading: uploading error: exit status 1
I just tried it again with another Nano that wasn't previously working (same type) and that seemed to go fine, so it has resurrected that one but the one that still won't load will on the other PC. Bizarre...
Once you followed those steps and you connected the board, Windows will update to the latest driver that it knows about (and does not work for you). But you can now roll back the driver (I did forget to mention that in that topic) and tell Windows that the current driver does not work on your current system.
To check which drivers are available you can click the update driver button as described in the linked post, select Let me pick from a list of available drivers on my computer; in the linked post there are three (don't ask me why), I currently have two.
You can roll back using the roll back button in the first image. Windows will ask you why you want to roll back. Tick the appropriate option and click Yes.