2025-07-10 1:07 PM
I've written an external loader for a flash memory chip. I'm able to program the flash chip using my external loader with STM32CubeProgrammer v2.19.0, but when I try to use my external loader with v2.20.0 it doesn't work.
I've attached logs from both a good run with v2.19.0 and a bad run with v2.20.0. I don't know how to debug this, because I naturally don't have access to the source code of the STM32CubeProgrammer CLI tool.
Have there been any changes to the requirements of an external loader as of v2.20.0?
Alternatively, can I somehow downgrade the STM32CubeProgrammer version that STM32CubeIDE uses?
I'd really like to use the most current tools, but right now I'm stuck...
2025-07-22 6:55 AM
Hello,
The issue has already been submitted to the concerned team.
Internal ticket number: 214053 (This is an internal tracking number and is not accessible or usable by customers).
Maryem.
2025-07-22 7:36 AM - edited 2025-07-22 7:37 AM
The failing one is getting the loader pulled in at 0x20004004, and the prior one 0x20000004
Failing during a call the Init(), timeout, suggesting it's locked up inside. Suggest implementing UART output early so you can get diagnostic / telemetry out.
Check you build address in Linker Script, check if you're using a Vector Table / Interrupts, because that's a table with fixed/absolute addresses.
Ideally want to build something without need for interrupts. Something small, and self-relative.