Closed MorganTechngs closed 1 year ago
Thank you for your report. Since the issue also occurs with cargo-flash
and probe-rs-cli
I'd assume this is an issue in the probe-rs
library.
Can you please report the issue there (https://github.com/probe-rs/probe-rs) and link to this is here?
In your binary, does your main loop have asm::wfti()
. I managed to get rid of this problem by commenting out that line. Hope that helps someone.
Describe the bug Attempting to probe-run and flash a STM32WL55JC1 returns a variety of errors with the probe connection.
To Reproduce
Example This was run using standard stm32-hal quickstart main and files. Also tried empty main and that gave the same errors.
config.toml
Have also tried with and without flip-link, defmt, and nmagic but no difference.
cargo.toml
──────────────────────────────────────────────────────────────────────────────── Response of probe-run:
Running using connect-under-reset gives the same error or occasionally SwdApWait status.
Problem was originally #27 but through some resets and restarts its now moved to SwdApWait or SwdApFault response each time.
This is using STLinkV3 built into the development WL55JC1 board. Programming using STM32CUBE is possible and works fine.
Any help would be appreciated!