cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with STM32CubeProgrammer v2.20.0 External Loader

steven_falco
Associate

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 2
Maryem
ST Employee

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.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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 Venmo
Up vote any posts that you find helpful, it shows what's working..