Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The core is in locked up status as a result of an unrecoverable exception #3594

Open
aniketnarvekar opened this issue Dec 1, 2024 · 0 comments

Comments

@aniketnarvekar
Copy link

I'm trying to run embassy examples on STM32F303VCT6 microcontroller.

I have make following changes in examples/stm32f3 directory.

config.toml
runner = "probe-rs run --chip STM32F303VCTx"

Cargo.toml
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [ "defmt", "stm32f303vc", "unstable-pac", "memory-x", "time-driver-tim2", "exti"] }

I'm getting following error:
cargo run --bin blinky Finished devprofile [unoptimized + debuginfo] target(s) in 0.49s Runningprobe-rs run --chip STM32F303VCTx target/thumbv7em-none-eabihf/debug/blinky`
ERROR probe_rs::architecture::arm::core::armv7m: The core is in locked up status as a result of an unrecoverable exception
ERROR probe_rs::architecture::arm::core::armv7m: The core is in locked up status as a result of an unrecoverable exceptionError: The flashing procedure failed for 'target/thumbv7em-none-eabihf/debug/blinky'.

Caused by:
0: Failed to erase flash sector at address 0x08000000.
1: The core entered an unexpected status: LockedUp.`

I don't know what went wrong. Can you please explain what when wrong?

I'm using probe-rs version:
probe-rs 0.24.0 (git commit: crates.io)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant