Hello, I am new to this forum and the ESP32, so please take it easy.
I have the ESP32-C3-Devkit-1
I am trying to upload any sketch to it using the Arduino IDE. I tried multiple sketches, even the blank sketch. It keep giving me an error. I have been uploading stuff to the board for a couple of weeks with no problems, but now I don't know what changed or what to do. This is the error message
Sketch uses 217050 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13404 bytes (4%) of dynamic memory, leaving 314276 bytes for local variables. Maximum is 327680 bytes.
Traceback (most recent call last):
File "esptool.py", line 34, in <module>
File "esptool/__init__.py", line 1032, in _main
File "esptool/__init__.py", line 674, in main
File "esptool/__init__.py", line 920, in get_default_connected_device
File "esptool/loader.py", line 302, in __init__
File "serial/__init__.py", line 90, in serial_for_url
File "serial/serialposix.py", line 332, in open
File "serial/serialposix.py", line 517, in _reconfigure_port
termios.error: (22, 'Invalid argument')
[97880] Failed to execute script 'esptool' due to unhandled exception!
esptool.py v4.5.1
Serial port /dev/cu.usbserial-210
Failed uploading: uploading error: exit status 1
And these are the setting I am using:
Also, i have tried it on another devkit that is still fresh out of the box, same thing