Closed LaineZ closed 4 months ago
Issue resolved!
The problem hiding in memory.x
linker settings. For STM32C6T6A You need set RAM to 10K
instead of 20K
.
Here a fixed memory.x file for STM32C6T6:
MEMORY
{
FLASH : ORIGIN = 0x08000000, LENGTH = 32K
RAM : ORIGIN = 0x20000000, LENGTH = 10K
}
I followed the instructions in README, and I got no any message in OpenOCD Console from STM32.
memory.x file:
Cargo.toml
Rust version: rustc 1.81.0-nightly (aa1d4f682 2024-07-03) Board and MCU: STM32C6T6A Bluepill Flasher/Probe: STLINK v2 OS: OpenSUSE Tumbleweed