Hello everyone,
I haven’t “worked” for a few months.
Bad surprise: I can no longer upload sketches on nano boards (v 1.8.19 and 2.3.4)
However, uploading works with Arduino boards (Arduino port 8)
I work under Windows 10
Antivirus: Bitdefender. Disabling the firewall doesn’t change anything.
Error message: avrdude: ser_open(): can’t set com-state for “\\.\COM4” (same with 5 or 6)
Error while defining serial port parameters: 115 200 N 8 1
I reinstalled the ports without success
Same failure with the 8266
On the other hand, the ESP32s upload (port 7)
So it’s apparently software …
I thank you in advance for your help and advice and wish you an excellent end of the year
Did Windows recognize the COM port and the IDE displayed it as a port? If not, it is a driver problem. It appears that the COM port has been recognized.
So I assume that when you upload, you get a “failure to connect message”?
If so, this is a common problem with newer ESP32S and ESP32-S3. This problem is when the RST (EN) pin and the BOOT pin have to be triggered in a very timely sequence, which is manually not possible.
Take a 10 K resistor and a 10 uF or larger capacitor and solder them in parallel. Connect the positive side to the RST (EN) pin, and GND the negative side. This has provided me automatic upload on several development boards. Hope this helps.
Merry Christmas and Happy new Year!