HI, I'm trying to connect to my D1 mini pro with the Arduino IDE on Linux Mint via USB-port. It doesn't work.
On Windows 10 (same Computer) it is not a problem.
I tried:
- Driver CP210x is running
- udev Rule is installed PlatformIO-Rules (CP210x is included and VendorID and ProduktID fits with information of lsusb)
I couldn't get a clue what I'm doing wrong and would like using Linux for programming. Besides connecting an arduino mega 2560 via Usb isn't a problem at all.
Error message:
Arduino: 1.8.16 (Linux), Board: "LOLIN(WEMOS) D1 mini Pro, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 16MB (FS:14MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
Executable segment sizes:
ICACHE : 32768 - flash instruction cache
IROM : 231724 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26793 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1496 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 876 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25608 ) - zeroed variables (global, static) in RAM/HEAP
Der Sketch verwendet 260889 Bytes (24%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
Globale Variablen verwenden 27980 Bytes (34%) des dynamischen Speichers, 53940 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
/home/USER/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I /home/USER/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/upload.py --chip esp8266 --port /dev/ttyS0 --baud 921600 --before default_reset --after hard_reset write_flash 0x0 /tmp/arduino_build_49657/Blink.ino.bin
esptool.py v3.0
Serial port /dev/ttyS0
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "/home/USER/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "/home/USER/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool/esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "/home/USER/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool/esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header