Skip to content

Main thread panic on flash (?) #938

@Doloro1978

Description

@Doloro1978

Hihi, im trying to flash my esp32 dev board but i keep running into an error

Running `espflash flash --monitor target/xtensa-esp32-espidf/debug/ir`
[2025-08-10T14:41:39Z INFO ] Serial port: '/dev/ttyUSB0'
[2025-08-10T14:41:39Z INFO ] Connecting...
[2025-08-10T14:41:39Z INFO ] Using flash stub
Error:   × Main thread panicked.
  ├─▶ at /home/doloro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serialport-4.7.2/src/posix/tty.rs:499:9
  ╰─▶ assertion failed: termios2.c_ospeed == termios2.c_ispeed
  help: set the `RUST_BACKTRACE=1` environment variable to display a backtrace.

I'm on espflash 4.0.1 with Linux 6.15.9-arch1-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions