Skip to main content
tarasov.alex.m
Associate II
April 10, 2020
Solved

How can I use my own external loader for debugging in STM32CubeIDE?

  • April 10, 2020
  • 3 replies
  • 3272 views

I am using eMMC memory with a STM32F769NI controller. For programming this eMMC I've written an external loader in STM32CubeIDE. My loader works fine with STM32CubePogrammer, but I also want to be able to debug my application from CubeIDE. How can I tell IDE to use my loader? 

There is a setting "External Loader" in "Debug Cofigurations", but it does not allow you to select your own file, it only has a button "Scan", that lets you choose an external loader from a drop-down list. I don't know how to add new loaders to that list. Does anyone have an idea how to do that?

This topic has been closed for replies.
Best answer by tarasov.alex.m

Thanks for such quick response!

You are a bit wrong, but that information helped me to find the right location. Actually CubeIDE looks for loaders here:

C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.3.0.202002181050\tools\bin\ExternalLoader\

3 replies

Tilen MAJERLE
ST Employee
April 10, 2020

@tarasov.alex.m​ ,

put your loader into CubeIDE loaders folder. On version 1.3 location is:

C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.3.0.202002181050\tools\bin\ExternalLoader\

Edit: Corrected path.

tarasov.alex.m
tarasov.alex.mAuthorBest answer
Associate II
April 10, 2020

Thanks for such quick response!

You are a bit wrong, but that information helped me to find the right location. Actually CubeIDE looks for loaders here:

C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.3.0.202002181050\tools\bin\ExternalLoader\