-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Labels
bugSomething isn't workingSomething isn't working
Description
After flashing a known good Rust program (tested successful with probe-rs
on two Xiao C6s), a run --release
with espflash
causes the device (a C6 DevKit-C) to fail-to-boot and loop infinitely
I'm using espflash 4.0.0-dev
as of 628947d
$ cargo run --release
Finished `release` profile [optimized + debuginfo] target(s) in 0.12s
Running `espflash flash --monitor target/riscv32imac-unknown-none-elf/release/blinky`
[2025-05-26T18:22:59Z INFO ] Serial port: '/dev/ttyUSB0'
[2025-05-26T18:22:59Z INFO ] Connecting...
[2025-05-26T18:22:59Z INFO ] Using flash stub
Chip type: esp32c6 (revision v0.1)
Crystal frequency: 40 MHz
Flash size: 8MB
Features: WiFi 6, BT 5
MAC address: [REDACTED]
App/part. size: 563,136/8,323,072 bytes, 6.77%
[00:00:01] [========================================] 14/14 0x0
[00:00:00] [========================================] 1/1 0x8000
[00:00:32] [========================================] 331/331 0x10000 [2025-05-26T18:23:36Z INFO ] Flashing has completed!
Commands:
CTRL+R Reset chip
CTRL+C Exit
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x16b8
load:0x4086c110,len:0xe90
load:0x4086e610,len:0x3054
entry 0x4086c11a
I (23) boot: ESP-IDF v5.4.1-426-g3ad36321ea 2nd stage bootloader
I (24) boot: compile time Apr 29 2025 15:14:17
I (24) boot: chip revision: v0.1
I (25) boot: efuse block revision: v0.2
I (28) boot.esp32c6: SPI Speed : 80MHz
I (32) boot.esp32c6: SPI Mode : DIO
I (36) boot.esp32c6: SPI Flash Size : 8MB
I (40) boot: Enabling RNG early entropy source...
I (44) boot: Partition Table:
I (47) boot: ## Label Usage Type ST Offset Length
I (53) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (60) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (66) boot: 2 factory factory app 00 00 00010000 007f0000
I (73) boot: End of partition table
E (76) esp_image: Failed to fetch app description header!
E (81) boot: Factory app partition is not bootable
E (86) boot: No bootable app partitions in the partition table
ESP-ROM:esp32c6-20220919
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo