Error when uploading to a STM-32 103RB board


I’ve been getting this 2 errors when uploading to my STM32-103RB board and I can’t seem to find anything on it nor a way to solve this. The errors are the following:

C:\Users\regin.platformio\packages\tool-openocd/scripts/board/st_nucleo_f103rb.cfg:4: Error: Can’t find interface/stlink-v2-1.cfg
in procedure ‘script’
at file “embedded:startup.tcl”, line 26
at file “C:\Users\regin.platformio\packages\tool-openocd/scripts/board/st_nucleo_f103rb.cfg”, line 4
*** [upload] Error 1

Thank you in advance to everyone who’s willing to help.

Looks like a corrupted package download. Remove the folder C:\Users\regin\.platformio\packages\tool-openocd/ completely and press upload again.

Hi…Nucleo and Discovery sheets are a decent worth when you understand that an authority ST-Link is remembered for the board. Schematics and documentation are accessible. Frederic Pillon from STM runs the gathering and has support once more into STM for genuine inquiries. Everybody needs 1 (one) known-great board: if for no other explanation that to make an assurance among equipment and programming issues!

Thank you so much, it fixed my problem!