-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I tried flashing it a few times but it always fails:
└──> % ~/.cargo/bin/espflash /dev/ttyUSB0 target/riscv32imc-esp-espidf/debug/esphome-rs [00:00:01] ######################################## 12/12 segment 0x0 [00:00:00] ######################################## 1/1 segment 0x8000 Error: ────[espflash::timeout]─────────────────────────────────────────────────────────────────────── × Communication error while flashing device ╰─▶ Timeout while running command
With esptool.py it works fine.
Using esptool.py --chip esp32c3 elf2image target/riscv32imc-esp-espidf/debug/esphome-rs && esptool.py --chip esp32c3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x10000 target/riscv32imc-esp-espidf/debug/esphome-rs.bin
It's an ESP32-C3
~/.cargo/bin/espflash --board-info /dev/ttyUSB0 target/riscv32imc-esp-espidf/debug/esphome-rs Chip type: ESP32-C3 Flash size: 4MB
I've previously used Arduino IDE to change the partition to "Huge App" (3MB No OTA, 1MB SPIFFS)
binary.gz
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working