2026-04-30 3:50 AM - edited 2026-04-30 4:08 AM
I'm currently developing an external loader on STM32H563ZIT6 development board.
I'm facing an issue on programming with cube programmer in the image below
The problem I think might be linked to interrupt handler of systick.
I've attached the Loader_src.c file where I had developed the functions used by Cube Programmer; also attached the linker used.
The low level functions linked to XSPI communication are properly working, because I had tested in debug erasing and writing sectors.
I need help to figure out the problem.
2026-04-30 4:10 AM
Hello @MicheleMalaspina
Please refer to the article below to implement your external flash loader.
How to implement and use your own external flash l... - STMicroelectronics Community
2026-04-30 6:45 AM - edited 2026-04-30 6:46 AM
Thank you so much @Saket_Om for the guide, I've already copied the git hub repository linked, but the problem is stll present. I had put some debug pins in Init function and it seems that Init is not called. Could you please give me some advices on where to check? Linker error?
2026-05-01 2:05 PM
Hi all,
I have the same problem using NUCLEO-H563ZI .
In debug mode, all functions control external memory without any problems.
In release mode, doesn't work nothing.
I inserted some LEDs to follow the startup process but it seems doesn't running.
(obviously STM32Cubeprogrammer give me errors because is not able to connect to External loader)
I share also my simple external Loader project source,
I hope someone can help me!
best regards.