2025-09-22 7:51 AM
Hello everyone,
We are exploring a transition from Eclipse based CubeIDE to VSCode. While progress on STM32 VSCode plugin is progressing, there is still some rough edges that should be fixed.
One of it is as in subject... How to skip image download to MCU when launching debug session?
We are trying to import TF-M project from mainline Trusted Firmware Repository to our vscode environment. We successfully built and run BL2, TFM_S and TFM_NS, but unfortunately we are still struggling with debugging.
How to start debug (we are using JLink) but to skip download of the image? TF-M is "fragile" to any flash rewrite, and we would like to just start debug session without any flash download.
Something similar as in Eclipse STM32CubeIDE:
2025-09-22 7:58 AM
Hi BKara,
In your debug configuration you should have the attribute:
"imagesAndSymbols": [
{
"imageFileName": "${command:st-stm32-ide-debug-launch.get-projects-binary-from-context1}",
}
]
"imagesAndSymbols": [
{
"symbolFileName": "${command:st-stm32-ide-debug-launch.get-projects-binary-from-context1}"
}
]