cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use J-Link Open Flashloader with STM32CubeIDE while debugging?

Eralp
Associate III

Hi, i have a custom board with STM32H750 with qspi flash and want to debug with j-link debugger. Before i used it with st-link and my custom flashloader while debugging. Now i want to write open loader for my project but i didn't see any settings how to add this loader to STM32CubeIDE.

For example, when i select st-link in debug configurations i can select and load my custom external loader under misc section.

11 REPLIES 11
Eralp
Associate III

No, when you entered debug mode in cubeide, it will program internal and external flash automatically. You don't need to program external flash with cubeprogrammer.

You will see in cubeide console when you are entering debug mode like that:

------------------------------------------------------------------------------------------------------

Erasing memory corresponding to segment 0: // Internal flash programming

Erasing memory corresponding to segment 1: // Internal flash programming

Erasing external memory sectors [0 56] // External flash programming

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:16.150

Thank you very much for the input. I will give the ST-LINK external loader a try.