(03-25-2025, 10:16 PM)admin Wrote: if you want use by ESPHome, just download ESPHome firmware to ESP32, just overwrite it.
Unable to install the ESP32 firmware. If I install the standard version of the ESP32 with WiFi, then everything works, and if I install your code with ethernet, then an error is constantly
Code:
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/cotelna/firmware.bin"], [".pioenvs/cotelna/firmware.elf"])
Wrote 0xaa410 bytes to file /data/build/cotelna/.pioenvs/cotelna/firmware-factory.bin, ready to flash to offset 0x0
========================= [SUCCESS] Took 84.96 seconds =========================
INFO Successfully compiled program.
esptool.py v4.7.0
Serial port /dev/ttyUSB0
Connecting................
ERROR Running command failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
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/cotelna/.pioenvs/cotelna/firmware.bin 0x1000 /data/build/cotelna/.pioenvs/cotelna/bootloader.bin 0x8000 /data/build/cotelna/.pioenvs/cotelna/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.7.0
Serial port /dev/ttyUSB0
Connecting...
ERROR Running command failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
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/cotelna/.pioenvs/cotelna/firmware.bin 0x1000 /data/build/cotelna/.pioenvs/cotelna/bootloader.bin 0x8000 /data/build/cotelna/.pioenvs/cotelna/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.