The following output .... after I connect the Nano ESP32 .... Any idea what happen !?
INFO ESPHome 2023.12.5
INFO Reading configuration /config/esphome/arduino-esp32-nano.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing arduino-esp32-nano (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.4.0)
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.0.1
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.4
RAM: [= ] 12.4% (used 40616 bytes from 327680 bytes)
Flash: [===== ] 49.1% (used 900917 bytes from 1835008 bytes)
========================= [SUCCESS] Took 17.73 seconds =========================
INFO Successfully compiled program.
esptool.py v4.6.2
Serial port /dev/ttyACM0
Connecting..............
ERROR Running command failed: Could not configure port: (5, 'Input/output error')
ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 460800 --port /dev/ttyACM0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/build/arduino-esp32-nano/.pioenvs/arduino-esp32-nano/firmware.bin 0x1000 /data/build/arduino-esp32-nano/.pioenvs/arduino-esp32-nano/bootloader.bin 0x8000 /data/build/arduino-esp32-nano/.pioenvs/arduino-esp32-nano/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.
INFO Upload with baud rate 460800 failed. Trying again with baud rate 115200.
esptool.py v4.6.2
Serial port /dev/ttyACM0
ERROR Running command failed: Could not open /dev/ttyACM0, the port doesn't exist
ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 115200 --port /dev/ttyACM0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/build/arduino-esp32-nano/.pioenvs/arduino-esp32-nano/firmware.bin 0x1000 /data/build/arduino-esp32-nano/.pioenvs/arduino-esp32-nano/bootloader.bin 0x8000 /data/build/arduino-esp32-nano/.pioenvs/arduino-esp32-nano/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.
1 post - 1 participant