I’ve been trying to upload a simple sketch into the ESP32-EVB but it doesn’t work.
This also doesn’t work with Arduino IDE.
Here’s what’s in the platformio.ini:
[env:esp32-evb] platform = https://github.com/platformio/platform-espressif32.git#feature/stage board = esp32-evb framework = arduino board_build.flash_mode = qio upload_port = /dev/ttyUSB0 monitor_port = /dev/ttyUSB0 monitor_speed = 115200 upload_speed = 115200
Here’s the output:
CURRENT: upload_protocol = esptool Looking for upload port... Use manually specified: /dev/ttyUSB0 Uploading .pioenvs/esp32-evb/firmware.bin esptool.py v2.6 Serial port /dev/ttyUSB0 Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header *** [upload] Error 2
What do you think happened ?