Probe-Rs repeatedly crashing on Embassy STM32

⚓ Rust    📅 2025-07-11    👤 surdeus    👁️ 3      

surdeus

Hi all,

I've been using probe-rs for a couple of projects that are running with Embassy, and I'm repeatedly getting these sporadic errors when trying to flash the device. Would appreciate it if anyone has any insight into these kind of errors and how to mitigate them! I'm using a brand new board (have seen this on both STM32L4 and STM32WB55 boards) and with a brand new USB cable.


Finished dev profile [unoptimized + debuginfo] target(s) in 0.18s
Running probe-rs run --chip STM32L476ZGTx target\thumbv7em-none-eabihf\debug\xenon_oxide
WARN probe_rs::session: Could not clear all hardware breakpoints: An ARM specific error occurred.

Caused by:
0: The debug probe encountered an error.
1: An error which is specific to the debug probe in use occurred.
2: USB
WARN probe_rs::session: Failed to deconfigure device during shutdown: An ARM specific error occurred.

Caused by:
0: The debug probe encountered an error.
1: An error which is specific to the debug probe in use occurred.
2: USB
Error: The flashing procedure failed for 'target\thumbv7em-none-eabihf\debug\xenon_oxide'.

Caused by:
0: Something during the interaction with the core went wrong
1: An ARM specific error occurred.
2: The debug probe encountered an error.
3: An error which is specific to the debug probe in use occurred.
4: USB
error: process didn't exit successfully: probe-rs run --chip STM32L476ZGTx target\thumbv7em-none-eabihf\debug\xenon_oxide (exit code: 1)

1 post - 1 participant

Read full topic

🏷️ rust_feed