INFO ESPHome 2023.10.1 INFO Reading configuration /config/esphome/a16.yaml... WARNING GPIO5 is a Strapping PIN and should be avoided. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins WARNING GPIO5 is a Strapping PIN and should be avoided. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins INFO Generating C++ source... INFO Compiling app... Processing kc868-a16 (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 |-- WiFi @ 2.0.0 |-- ESPmDNS @ 2.0.0 |-- Wire @ 2.0.0 RAM: [= ] 10.6% (used 34880 bytes from 327680 bytes) Flash: [=== ] 32.0% (used 586837 bytes from 1835008 bytes) ========================= [SUCCESS] Took 6.20 seconds ========================= INFO Successfully compiled program. esptool.py v4.6.2 Serial port /dev/ttyUSB0 Connecting.... Chip is ESP32-D0WD-V3 (revision v3.1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: d4:d4:da:e1:1b:70 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB Flash will be erased from 0x00010000 to 0x0009ffff... Flash will be erased from 0x00001000 to 0x00005fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Compressed 588176 bytes to 360756... Writing at 0x0001c576... (8 %)ERROR Running command failed: ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 460800 --port /dev/ttyUSB0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/build/kc868-a16/.pioenvs/kc868-a16/firmware.bin 0x1000 /data/build/kc868-a16/.pioenvs/kc868-a16/bootloader.bin 0x8000 /data/build/kc868-a16/.pioenvs/kc868-a16/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/ttyUSB0 Connecting.... Chip is ESP32-D0WD-V3 (revision v3.1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: d4:d4:da:e1:1b:70 Uploading stub... Running stub... Stub running... WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB Flash will be erased from 0x00010000 to 0x0009ffff... Flash will be erased from 0x00001000 to 0x00005fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Compressed 588176 bytes to 360756... Writing at 0x0001c576... (8 %)ERROR Running command failed: ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 115200 --port /dev/ttyUSB0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/build/kc868-a16/.pioenvs/kc868-a16/firmware.bin 0x1000 /data/build/kc868-a16/.pioenvs/kc868-a16/bootloader.bin 0x8000 /data/build/kc868-a16/.pioenvs/kc868-a16/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.