2025-11-11 8:38 AM
Hi All,
I have been working with the STM32H7R7 MCU for a while. I used the getting started manual of the application notes for Eclipse, but I could not set up the right debug environment for the STM32H7R7 device
I used the cubemx to generate the boot, appli and ext memory. I used exactly the same ioc file (except the setting of the cmake vs cubeide), however I could not flash and debug the device without the right json file.
I tried to build by myself, but I was not lucky enough to be succesfull. Also I have not found any examples on the web.
Could somebody help me with a json file, environment for debug and flashing?
Thank you very much in advance
Solved! Go to Solution.
2025-11-13 2:08 AM
Ok, so in my case the issue was that STM32CubeIDE for Visual Studio Code did not install all its extensions from the pack. I had to manually install the ones that provide the stlinkgdbtarget.
Hope this might help someone with the same problem.
Lukas
2025-11-12 12:46 AM
Hi @geriTricky
this an example on STM32H7R3, you can take it as an example
remember when setting multiple contexts, the last one flashed is the first one to boot
you can add as much context as binaries you will flash
2025-11-13 1:22 AM
I have similar issues with STM32Cube VSCode plugin. The given launch.json example is not "minimal working launch configuration". What is the : "type": "stlinkgdbtarget"? It cannot be found in extension list. Previous version of the plugin (2.xx) worked fine with cortex-debug type but now what kind of config type should be used instead?
Thanks,
Lukas
2025-11-13 2:08 AM
Ok, so in my case the issue was that STM32CubeIDE for Visual Studio Code did not install all its extensions from the pack. I had to manually install the ones that provide the stlinkgdbtarget.
Hope this might help someone with the same problem.
Lukas
2025-11-13 2:13 AM
@lukaspohl86it seems that unusual dependencies are not being pulled from the marketplace. Could you please let us know which version of the extension pack you currently have active? The "stlinkgdbtarget" dependency is included starting from version 3.x.y and above.
2025-11-17 10:36 PM
Currently the STM32CubeIDE version that I am using is 3.6.4. But this glitch might have been caused by my attempt to move the whole STM ecosystem to separate VSCode profile (since the extension currently brakes the python debugging).