2019-04-27 03:42 AM
2019-04-29 04:55 AM
I get this error "This debug configuration is associated to a target which is not promoting any debug device (or debug device not supported)".
Did you find any solution?
2019-04-29 05:00 AM
The error message does not really sound comprehensible.
However, the VL Discovery is quite old, with a totally messed-up ST-Link implementation V1.0.
Not sure if it is properly supported by your PC/IDE.
Can you see the device in the host OS (Hardware manager under Windows, or lsusb command under Linux) ?
2019-04-29 05:06 AM
Yes device is connected and i can see it in the list.
2019-04-29 07:16 AM
You can't really configure the debugger for that board.
This is because STM32VLDISCOVERY uses ST-LINK v1 which is not supported in STM32CubeIDE. The reason for this is that v1 is a deprecated design with limited support for the advanced debug features available in STM32CubeIDE. Ideally, the device should not be available in MCUFinder when using STM32CubeIDE. We will consider this as an improvement for future releases.
What IDE did you use previously? To the best of my knowledge that board isn't able to be used with SW4STM32 or newer versions of TrueSTUDIO either. You could use TrueSTUDIO 9.0.1 version, it's before we integrated CubeProgrammer which is also integrated into STM32CubeIDE. CubeProgrammer doesn't support v1 either.
You can download TrueSTUDIO here:
https://atollic.com/resources/download/windows/windows-archive/
2019-04-29 07:22 AM
Thank you for the answer.
I used keil uvision but unfortunately i switched my system to mac a while ago. And any of these various IDEs doesn't support mac. So i think i should use parallel or bootcamp until cube support st-link v1
2019-04-29 08:34 AM
Thank you for your answer, Markus. A colleague of mine has to debug an ancient design. The application is not from Him. He wanted to start from scratch on the Discovery Board. But that doesn't seem to be the best idea. ;)
2020-09-05 02:45 AM
If you found this thread and want just to flash and run simple projects to your STM32VLDISCOVERY without debug, use can configure CubeIDE to use ST-LINK_CLI.EXE for flash and run:
1. Install st-link utilites
2. in stm32cubeide open Project→ Properties→ C/C++ Build→ Settings→ tab "Tool Settings" → MCU Post build outputs check "Convert to Intel Hex file"
3. in Run → Debug Configurations double-click on first line "C/C++ Application" to create new configuration. Under the tab "Main" set "C/C++ Application" to C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ST-LINK_CLI.exe, under the tab "Arguments" set "Program arguments" to -c SWD -P ${project_loc}\${config_name:${project_name}}\${project_name}.hex -Rst, under the tab "Common" check "Display in favorites menu" – "Run"
4. in Window → Preferences → General → Keys set Command "Run" Binding to Ctrl+F11
Now you can write simple code and quickly flash it to your STM32VLDISCOVERY by pressing Ctrl+B and then Ctrl+F11. Although debugger is not working, you can still find some bugs and solve problems by manually sending debug information over UART using TTL to USB converter.
2021-10-01 09:26 AM
Georgy,
I really appreciate that you made this comment. I thought I was out of luck getting the CubeIDE to program my VLDiscovery Board. I followed your steps and can confirm that they work!
Thanks again.
2023-04-13 09:59 PM
Dear community,
thanks for knowledgeable answers, and specific thanks to Georgy whose advise I used for years to operate STM32VLDISCOVERY. Now recently I bought an ST-Link/V2-isol device and operated the MCU on VL DISCOVERY BOard directly. However I still get the error message that the STM32VLDOSCOVERY Board is not supported by IDE Cube for debugging (same error message like first A�?ah). The ST-Link/V2 seems to be recognized well because I could register in the debug configuration
. Does any body have an idea, what to do?