I am trying to flash my first code to the ESP32 and i am getting the following output:
Code: Select all
Arduino: 1.8.9 (Linux), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, None"
Sketch uses 200212 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13500 bytes (4%) of dynamic memory, leaving 314180 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port /dev/ttyUSB0
Traceback (most recent call last):
File "/run/media/artur/3259cd15-d82f-455c-b644-c19ef74786f9/ArduinoIDE/arduino-1.8.9/hardware/espressif /esp32/tools/esptool/esptool.py", line 2959, in <module>
_main()
File "/run/media/artur/3259cd15-d82f-455c-b644-c19ef74786f9/ArduinoIDE/arduino-1.8.9/hardware/espressif /esp32/tools/esptool/esptool.py", line 2952, in _main
main()
File "/run/media/artur/3259cd15-d82f-455c-b644-c19ef74786f9/ArduinoIDE/arduino-1.8.9/hardware/espressif /esp32/tools/esptool/esptool.py", line 2652, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "/run/media/artur/3259cd15-d82f-455c-b644-c19ef74786f9/ArduinoIDE/arduino-1.8.9/hardware/espressif /esp32/tools/esptool/esptool.py", line 222, in __init__
self._port = serial.serial_for_url(port)
File "/usr/lib/python3.7/site-packages/serial/__init__.py", line 88, in serial_for_url
instance.open()
File "/usr/lib/python3.7/site-packages/serial/serialposix.py", line 288, in open
self._update_rts_state()
File "/usr/lib/python3.7/site-packages/serial/serialposix.py", line 627, in _update_rts_state
fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_RTS_str)
OSError: [Errno 71] Protocol error
OSError: [Errno 71] Protocol error
Code: Select all
void setup() {
// put your setup code here, to run once:
delay(1000);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("is nich wahr!");
delay(1000);
}
I have tried 4 different usb cables. They all don't work (the 'connect ____....._____' time out) except for one cable which most of the time gives me the Errno 71.
My board is the one on the left:
https://www.instagram.com/p/Buz7vyonfHl ... okvma6pnq2
I choose the dev kit board from the arduino ide drop down menu.
How do i fix this?