so the hardware connection is definitely working, and I would assume the template code is correct, so I suspect it's a protocol version mismatch, probably between the RTT and the runner. but I have no experience with probe-run
, can you try probe-rs
as default runner?
install probe-rs
cargo install probe-rs --features cli
probe-rs info
configure probe-rs as cargo runner
edit your .cargo/config.toml
- runner = "probe-run --chip STM32L476RGTx"
+ runner = "probe-rs run --chip STM32L476RGTx"
flash and run
simply run:
cargo run --release