2025-11-26 3:58 AM
Hello,
I've recently created an External Loader to be used on a TouchGFX project (H563 with SPI LCD and SPI external flash). When I use this loader in Cube Programmer, it programs the processor and SPI flash, and runs as expected. So now I want to add it into my project in CubeIDE. Normally I would find the External Loaders under the Debugger tab (between SWV and Misc) but this seems to be missing. Is there a way to enable this?
(This project was created un der CubeIDE 2.0.0, but this section also is missing in projects created by previous versions. Example projects created from TouchGFX does have this section).
Any ideas?
PP22
Solved! Go to Solution.
2025-11-26 4:44 AM
Hello @PP22
Let me thank you for posting.
To add the external loader, you need to select ST-Link (ST-LINK GDB server) or ST-LINK (OpenOCD) as Debug probe.
Thanks.
Mahmoud
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.
2025-11-26 4:44 AM
Hello @PP22
Let me thank you for posting.
To add the external loader, you need to select ST-Link (ST-LINK GDB server) or ST-LINK (OpenOCD) as Debug probe.
Thanks.
Mahmoud
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.
2025-11-26 5:23 AM
Hi Mahmoud,
Thanks for the prompt reply.
Now you mention it, my projects showing 'External Loader' were on Nucleo boards using ST-Link so that clears up that bit of confusion.
Is this not available with a Segger J-Link? (when I used CubeProgrammer I select JLink/Flasher as the probe).
Is it possible use the J-Link to program the H563 and external SPI flash via CubeProgrammer CLI?
PP22
2025-12-01 10:02 PM
Sorted now using CubeProgrammer CLI.
2025-12-02 1:46 AM
J-link has own solution for external loader read J-LINK manuals,