Skip to main content
Visitor II
July 10, 2025
Question

Problem with STM32CubeProgrammer v2.20.0 External Loader

  • July 10, 2025
  • 2 replies
  • 299 views

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...

 

2 replies

Maryem
Technical Moderator
July 22, 2025

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.

Tesla DeLorean
Guru
July 22, 2025

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.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..