Skip to main content
falsekeel
Associate
June 26, 2020
Question

CubeIDE + Linux + stm32vldiscovery pipeline doesn't work

  • June 26, 2020
  • 3 replies
  • 805 views

Hi All!

I'm trying to flash my first project to stm32vldiscovery using CubeIDE under Linux (ubuntu 18.04). I tried different debug configuration, but I didn't meet success. I saw different errors such as "Target unknown error 27" or just "Failed to start GDB server".

Unfortunately, I couldn't find any appropriate documentation myself.

What should I do to flash my board? Could you please clarify what config should I use?

Thanks a lot and sorry for this question. I've spent too much time not to ask for help.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
June 26, 2020

The VL Discovery board is VERY OLD, with a deprecated version of the ST-LINK which has very little support at this juncture.

Check if the GDB Server or OpenOCD support, or have options for, the ST-LINK/V1

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
falsekeel
falsekeelAuthor
Associate
June 27, 2020

Thanks for you advice! I set up debug configuration that you can see below and saw a bunch of errors. I really want to know what I did wrong

0693W000001rePBQAY.png

0693W000001rePGQAY.png

mattias norlander
ST Employee
June 30, 2020

@Community member​ is right. This is a very old board. Probably the only board embedding the ST-LINK/V1. ST-LINK/V1 is not supported by CubeIDE.

Would recommend to get another board. A possible option could be to use external debug probe and connect it on the 4-pin SWD header. Works on other Nucleos/Discos. But a new board is certainly a better solution.