cancel
Showing results for 
Search instead for 
Did you mean: 

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

Diltech
Associate II

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.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Diltech
Associate II

Hi,

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

 

Thanks

View solution in original post

2 REPLIES 2
Nawres GHARBI
ST Employee

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

Diltech
Associate II

Hi,

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

 

Thanks