2022-02-03 11:23 PM
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.
Solved! Go to Solution.
2022-02-07 12:47 AM
I have not played with this feature at all. But assuming you have a working Open flashloader you should be able to execute it from inside CubeIDE debug launch flow in two ways:
2022-02-07 12:47 AM
I have not played with this feature at all. But assuming you have a working Open flashloader you should be able to execute it from inside CubeIDE debug launch flow in two ways:
2022-03-01 03:18 AM
Thanks for reply Mattias.
2023-05-23 06:08 AM
I have the exact same scenario. @Eralp what solution did you end up using?
2023-05-23 06:18 AM
Relatively broad and expanding subset of customized .STLDR external loaders for pin and flash combinations.
https://github.com/cturvey/stm32extldr
2023-05-23 06:22 AM
I continue to use which i wrote flashloader for st-link :) As far as i understand it is necessary to use segger's embedded studio for compiling flashloader and i think it uses external configuration file for debugging.
2023-05-23 06:36 AM
Using the flashloader for st-link are you able to debug the code on the external flash in CubeIDE?
2023-05-23 06:40 AM
That's how External Loaders work, that's how ST programs the QSPI devices on the DISCO and EVAL series boards. You specify the loader within the application settings / options.
2023-05-23 06:42 AM
Yes, i do. My problem was trying to do with j-link open flashloader.
2023-05-23 06:43 AM
My understanding is that you have to run the STM32CubeProgrammer prior to doing the debugging, correct? It's not possible to program and run debug in one go, like you would do for internal flash.