cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with setting up a project in VSCode with STm32 extension

piotrk
Associate II

piotrk_0-1770901809068.png

I get this type of error when I'm trying to setup a project with Nucleo-H563ZI and GCC here:

piotrk_1-1770901847779.png


I also get information that gdb is not running, while I've installed everything in the same way as I did on my previos laptop im my work. I've even changed system env for not checking tls or sha256 in stm but it still ain't working. Don't know what can I do.



10 REPLIES 10
Nawres GHARBI
ST Employee

Hi @piotrk 

could you please try this command and show me the result

cube bundle list-online

Cartu38 OpenDev
Lead III

@piotrk 
Sounds like error reporting is explicit : you're facing downloading / network issues.

Close & restart VSCode. At startup STM32Cube is asking you license acceptance (notification on bottom right) prior executing some downloads. 
Having this happen at debug time means your current installation is partial what is not helping

piotrk
Associate II

Hello @Nawres GHARBI so after i type that cube bundle list-online:
PS C:\PiotrK\test_proj\Proj_1_stm_test\test_3> cube bundle list-online
Name : Platform Version
---------------------------------------------------------------------
adoptium-jre : x86_64-windows ["17.0.16+8.st.1", "17.0.15+6.st.1", "17.0.14+7.st.6", "17.0.14+7.st.5"]
cmake : x86_64-windows ["4.0.1+st.3"]
cube-cmsis-scanner : x86_64-windows ["2.2.1", "1.1.3", "1.1.0", "1.0.1"]
cube-code-doc : all ["0.0.6+st.2", "0.0.5+st.1", "0.0.3+st.1", "0.0.2+st.1"]
cube-code-manifest : x86_64-windows ["1.0.9+st.2", "1.0.6+st.1", "1.0.3+st.1", "1.0.1+st.1", "1.0.0+st.1"]
cube-wrapper : x86_64-windows ["0.8.3", "0.7.3"]
gnu-gdb-for-stm32 : x86_64-windows ["14.3.1+st.2", "13.3.1+st.10", "13.3.1+st.9"]
gnu-tools-for-stm32 : x86_64-windows ["14.3.1+st.2", "13.3.1+st.9", "13.3.1+st.8"]
gnu-tools-for-stm32-13_3_1-description : all ["1.0.1+st.1", "1.0.0+st.1"]
gnu-tools-for-stm32-14_3_1-description : all ["1.0.1+st.1"]
jlink-gdbserver : x86_64-windows ["8.80.0+st.1", "8.38.0+st.1", "8.12.3+st.3"]
ninja : x86_64-windows ["1.13.1+st.1", "1.12.1+st.9"]
node : x86_64-windows ["20.19.4+st.1", "20.18.3+st.3"]
pack-manager : all ["0.3.12", "0.3.8", "0.3.7"]
pack-manager-snapshot : all ["2025.11.6", "2025.8.6", "2025.6.19", "2025.4.24"]
programmer : x86_64-windows ["2.21.0", "2.20.0", "2.19.0+st.1"]
rtos-proxy : x86_64-windows ["0.17.0+st.3"]
st-arm-clang : x86_64-windows ["19.1.6+st.10", "19.1.6+st.9", "19.1.6+st.8"]
st-arm-clang-19_1_6-description : all ["0.0.5+st.1", "0.0.4+st.1"]
st-arm-clang-hybrid : all ["19.1.6+st.3", "19.1.6+st.2"]
st-arm-clang-hybrid-19_1_6-description : all ["0.0.6+st.1", "0.0.5+st.1"]
st-arm-clangd : x86_64-windows ["19.1.2+st.3"]
stlink-gdbserver : x86_64-windows ["7.12.0+st.2", "7.11.0+st.1", "7.10.0+st.3"]
stlink-server : x86_64-windows ["2.1.1+st.7"]
stlink-upgrader : x86_64-windows ["3.16.9+st.4", "3.16.8+st.3"]
PS C:\PiotrK\test_proj\Proj_1_stm_test\test_3>

And answering to @Cartu38 OpenDev  I dont get any information about acceptance for VScode, but as I've written ive set environmet variables to do not check bundle checksum  allow STM bundles install and restarded computer and it still didn't work. But I will keep that in mind in case of getting that type of info in bottom right corner.
I only get this type of question:

piotrk_0-1770988859516.png

 

@piotrk 
So you're able to access to proper servers.

And you're getting expected notification asking you to agree about some extra material install.

If you accept it should solve your debug experience issue.

Cartu38OpenDev_0-1770998094794.png

 

The first screen i posted here is the result i get when i click this Yes and i get errors such as the first photo I posted or this:

piotrk_0-1771019197183.png


If this would be so easy to just click yes i wouldn't post here, unfortunately it isn't ;(.

2026-02-13 22:46:08.426 [Error]  Failed to install bundles, reason: Error: Do you want to install the following bundles: ["stlink-gdbserver@7.12.0+st.2", "gnu-tools-for-stm32-14_3_1-description@1.0.1+st.1", "gnu-tools-for-stm32@14.3.1+st.2"] (yes, no, show)?
Answered 'Yes' automatically
Need to download the following bundles:
    Name                                   : Platform             Version
    ---------------------------------------------------------------------
    gnu-tools-for-stm32                    : x86_64-windows       ["14.3.1+st.2"]
    gnu-tools-for-stm32-14_3_1-description : all                  ["1.0.1+st.1"]
    stlink-gdbserver                       : x86_64-windows       ["7.12.0+st.2"]
Total download size is 334.85 MiB, total approximate install size is 1.12 GiB
Downloading stlink-gdbserver@7.12.0+st.2 to "C:\\Users\\PLPIKWA1\\AppData\\Local\\stm32cube\\bundles\\stlink-gdbserver\\7.12.0+st.2"...
Downloading https://developer.st.com/bundles/s/stlink-gdbserver-7.12.0+st.2-x86_64-windows.bundle: 24 KiB / 24 KiB 100%. Done, 24662 bytes downloaded.
Failed to install bundle(s): Download error: SHA-256 for the bundle is 3905b9d4cf8a6a3624a91d90ca54108305871da92f31dbd57a5d9c7348eb3912, SHA-256 for downloaded bytes is d6acb204d3a706ce929f875c58fb47196c6ab51708701afda0ffe807eb4d3f44

https://community.st.com/t5/stm32cubeide-for-visual-studio/how-to-reopen-the-initial-cubemx-popup-in-vs-code/td-p/877737

Not helping ? ... more reacting to your incomplete setup notification.

Still having CRC issues is weird ...

Have a try to close VS Code. Remove local bundles repository C:\\Users\\PLPIKWA1\\AppData\\Local\\stm32cube\\bundle. Restart VS Code and accept install.

Hello, do You have any idea how to deal with such a problem with given information?