Hello,
I was hoping someone might be able to take a look at this log for me. I’m trying to flash this device for use in ESPHome. Running through the wizard in ESPHome and all seems to install fine, but then it just hangs with INFO Starting log output from /dev/ttyACM0 with baud rate 115200
- with no output being shown. Im just not sure where to go from here. Since there is no error, I feel like this is likely my inexperience leading to user error, and could use a bit of guidance.
The full log below
INFO ESPHome 2023.10.6
INFO Reading configuration /config/esphome/test.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing test (board: esp32-s3-devkitc-1; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
Library Manager: Installing esphome/AsyncTCP-esphome @ 2.0.1
INFO Installing esphome/AsyncTCP-esphome @ 2.0.1
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 3.1.0
INFO Installing esphome/ESPAsyncWebServer-esphome @ 3.1.0
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/noise-c @ 0.1.4
INFO Installing esphome/noise-c @ 0.1.4
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/libsodium @ 1.10018.1
INFO Installing esphome/libsodium @ 1.10018.1
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 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
Compiling .pioenvs/test/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/test/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/test/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling .pioenvs/test/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/test/src/esphome/components/esp32/gpio.cpp.o
Compiling .pioenvs/test/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/test/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/test/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/test/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/test/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/test/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/test/src/esphome/components/mdns/mdns_host.cpp.o
Compiling .pioenvs/test/src/esphome/components/mdns/mdns_libretiny.cpp.o
Compiling .pioenvs/test/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling .pioenvs/test/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/test/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/test/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/test/src/esphome/components/ota/ota_backend_arduino_libretiny.cpp.o
Compiling .pioenvs/test/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling .pioenvs/test/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/test/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/test/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/test/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/test/src/esphome/components/socket/lwip_sockets_impl.cpp.o
Compiling .pioenvs/test/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/test/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling .pioenvs/test/src/esphome/components/wifi/wifi_component.cpp.o
Compiling .pioenvs/test/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
Compiling .pioenvs/test/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling .pioenvs/test/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
Compiling .pioenvs/test/src/esphome/components/wifi/wifi_component_libretiny.cpp.o
Compiling .pioenvs/test/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
Compiling .pioenvs/test/src/esphome/core/application.cpp.o
Compiling .pioenvs/test/src/esphome/core/color.cpp.o
Compiling .pioenvs/test/src/esphome/core/component.cpp.o
Compiling .pioenvs/test/src/esphome/core/component_iterator.cpp.o
Compiling .pioenvs/test/src/esphome/core/controller.cpp.o
Compiling .pioenvs/test/src/esphome/core/entity_base.cpp.o
Compiling .pioenvs/test/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/test/src/esphome/core/log.cpp.o
Compiling .pioenvs/test/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/test/src/esphome/core/string_ref.cpp.o
Compiling .pioenvs/test/src/esphome/core/time.cpp.o
Compiling .pioenvs/test/src/esphome/core/util.cpp.o
Compiling .pioenvs/test/src/main.cpp.o
Building .pioenvs/test/bootloader.bin
Generating partitions .pioenvs/test/partitions.bin
Creating esp32s3 image...
Successfully created esp32s3 image.
Compiling .pioenvs/test/lib293/AsyncTCP-esphome/AsyncTCP.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFi.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiAP.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiClient.cpp.o
Archiving .pioenvs/test/lib293/libAsyncTCP-esphome.a
Indexing .pioenvs/test/lib293/libAsyncTCP-esphome.a
Compiling .pioenvs/test/lib64d/WiFi/WiFiGeneric.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiMulti.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiSTA.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiScan.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiServer.cpp.o
Compiling .pioenvs/test/lib64d/WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/test/lib01c/FS/FS.cpp.o
Compiling .pioenvs/test/lib01c/FS/vfs_api.cpp.o
Compiling .pioenvs/test/libbc6/Update/HttpsOTAUpdate.cpp.o
Archiving .pioenvs/test/lib64d/libWiFi.a
Indexing .pioenvs/test/lib64d/libWiFi.a
Compiling .pioenvs/test/libbc6/Update/Updater.cpp.o
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Archiving .pioenvs/test/lib01c/libFS.a
Indexing .pioenvs/test/lib01c/libFS.a
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
Archiving .pioenvs/test/libbc6/libUpdate.a
Indexing .pioenvs/test/libbc6/libUpdate.a
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling .pioenvs/test/libebb/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling .pioenvs/test/lib333/DNSServer/DNSServer.cpp.o
Compiling .pioenvs/test/lib915/ESPmDNS/ESPmDNS.cpp.o
Archiving .pioenvs/test/libebb/libESPAsyncWebServer-esphome.a
Archiving .pioenvs/test/lib333/libDNSServer.a
Indexing .pioenvs/test/lib333/libDNSServer.a
Indexing .pioenvs/test/libebb/libESPAsyncWebServer-esphome.a
Compiling .pioenvs/test/libe4f/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_core/ed25519/core_ed25519.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_core/ed25519/core_ristretto255.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_hash/crypto_hash.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_hash/sha256/hash_sha256.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_onetimeauth/crypto_onetimeauth.c.o
Archiving .pioenvs/test/lib915/libESPmDNS.a
Indexing .pioenvs/test/lib915/libESPmDNS.a
Compiling .pioenvs/test/libe4f/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_scalarmult/crypto_scalarmult.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_stream/chacha20/ref/chacha20_ref.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_stream/chacha20/stream_chacha20.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_stream/crypto_stream.c.o
Compiling .pioenvs/test/libe4f/libsodium/crypto_verify/sodium/verify.c.o
Compiling .pioenvs/test/libe4f/libsodium/sodium/codecs.c.o
Compiling .pioenvs/test/libe4f/libsodium/sodium/core.c.o
Compiling .pioenvs/test/libe4f/libsodium/sodium/runtime.c.o
Compiling .pioenvs/test/libe4f/libsodium/sodium/utils.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/openssl/cipher-aesgcm.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/ref/cipher-aesgcm.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/ref/cipher-chachapoly.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/ref/dh-curve25519.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/ref/hash-blake2b.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/ref/hash-blake2s.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/ref/hash-sha256.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/sodium/cipher-aesgcm.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/sodium/cipher-chachapoly.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/sodium/dh-curve25519.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/sodium/hash-blake2b.c.o
Compiling .pioenvs/test/lib91e/noise-c/backend/sodium/hash-sha256.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/aes/rijndael-alg-fst.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/blake2/blake2b.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/blake2/blake2s.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/chacha/chacha.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/donna/curve25519-donna-c64.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/donna/curve25519-donna.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/donna/poly1305-donna.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/sha2/sha256.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/sha2/sha512.c.o
Compiling .pioenvs/test/lib91e/noise-c/crypto/x25519/x25519.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/cipherstate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/dhstate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/errors.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/handshakestate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/hashstate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/internal.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/names.c.o
Archiving .pioenvs/test/libe4f/libsodium.a
Indexing .pioenvs/test/libe4f/libsodium.a
Compiling .pioenvs/test/lib91e/noise-c/protocol/patterns.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/rand_os.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/rand_sodium.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/randstate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/signstate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/symmetricstate.c.o
Compiling .pioenvs/test/lib91e/noise-c/protocol/util.c.o
Compiling .pioenvs/test/FrameworkArduino/Esp.cpp.o
Archiving .pioenvs/test/lib91e/libnoise-c.a
Indexing .pioenvs/test/lib91e/libnoise-c.a
Compiling .pioenvs/test/FrameworkArduino/FirmwareMSC.cpp.o
Compiling .pioenvs/test/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pioenvs/test/FrameworkArduino/HWCDC.cpp.o
Compiling .pioenvs/test/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pioenvs/test/FrameworkArduino/IPAddress.cpp.o
Compiling .pioenvs/test/FrameworkArduino/IPv6Address.cpp.o
Compiling .pioenvs/test/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/test/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/test/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/test/FrameworkArduino/StreamString.cpp.o
Compiling .pioenvs/test/FrameworkArduino/Tone.cpp.o
Compiling .pioenvs/test/FrameworkArduino/USB.cpp.o
Compiling .pioenvs/test/FrameworkArduino/USBCDC.cpp.o
Compiling .pioenvs/test/FrameworkArduino/USBMSC.cpp.o
Compiling .pioenvs/test/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/test/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/test/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/test/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-i2c-slave.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-rgb-led.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-time.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-tinyusb.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pioenvs/test/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pioenvs/test/FrameworkArduino/firmware_msc_fat.c.o
Compiling .pioenvs/test/FrameworkArduino/libb64/cdecode.c.o
Compiling .pioenvs/test/FrameworkArduino/libb64/cencode.c.o
Compiling .pioenvs/test/FrameworkArduino/main.cpp.o
Compiling .pioenvs/test/FrameworkArduino/stdlib_noniso.c.o
Compiling .pioenvs/test/FrameworkArduino/wiring_pulse.c.o
Compiling .pioenvs/test/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/test/libFrameworkArduino.a
Indexing .pioenvs/test/libFrameworkArduino.a
Linking .pioenvs/test/firmware.elf
RAM: [= ] 12.4% (used 40716 bytes from 327680 bytes)
Flash: [===== ] 46.1% (used 846253 bytes from 1835008 bytes)
Building .pioenvs/test/firmware.bin
Creating esp32s3 image...
Successfully created esp32s3 image.
esp32_create_combined_bin([".pioenvs/test/firmware.bin"], [".pioenvs/test/firmware.elf"])
Wrote 0xdeb30 bytes to file /data/build/test/.pioenvs/test/firmware-factory.bin, ready to flash to offset 0x0
======================== [SUCCESS] Took 162.75 seconds ========================
INFO Successfully compiled program.
esptool.py v4.6.2
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 70:04:1d:cd:bd:dc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x000defff...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Compressed 846640 bytes to 567719...
Wrote 846640 bytes (567719 compressed) at 0x00010000 in 9.7 seconds (effective 700.1 kbit/s)...
Hash of data verified.
Warning: Image file at 0x0 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=4MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 15040 bytes to 10364...
Wrote 15040 bytes (10364 compressed) at 0x00000000 in 0.3 seconds (effective 415.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 460.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 586.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyACM0 with baud rate 115200