Skip to main content
Explorer
September 7, 2025
Solved

I can't use VS Code for uploading my firmware with ST-Link

  • September 7, 2025
  • 2 replies
  • 674 views

Hi,

 

I use VS Studio Code for programming my STM32, but i have a problem for uploading firmware. I use STM32Cube add-on but can't communicate with my ST-Link. When I use the same code with STM32 Cube IDE (STM32 Cube programmer), the firmware can upload without problem.

After compile, the windows open for choosing a program to open my .elf file. No error on compile, just my firmware file open in terminal.

 

Thanks for help.

 

 

 

 

    This topic has been closed for replies.
    Best answer by Diltech

    Hi,

    After update with the command line only, now i can debug and uploaded my new firmware,

     

    Thanks

    2 replies

    Technical Moderator
    September 10, 2025

    Hi @Diltech 

    I advice to update the ST-link FW on your board, if the issue still exist please share the logs which may help to get your issue root cause

    DiltechAuthorAnswer
    Explorer
    September 10, 2025

    Hi,

    After update with the command line only, now i can debug and uploaded my new firmware,

     

    Thanks