cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE 1.18 cannot detect ST-Link anymore

funky
Associate III

Hi,

starting with Update 1.18  (update from 1.17) sth. broke and i cannot debug anymore.
I tried a nucleo Board with integrated St-Link and an ST-Link V3. All Screenshots were done with the v3 St-Link
I reinstalled CubeIDE already from the complete download-package, but still the same problem

i always get
funky_0-1742308417257.png

But the update works ( so my st-link is found)

funky_1-1742308536498.png

funky_2-1742308587232.png

I can flash my image via st-link utility without problems.

but cannot get debug to work with 1.18.

With v1.17 i had no problems at all and debugging worked flawlessly.

So what can i do to fix this?

i tried with stlink-v3 and v2.1

and i use Windows 11 Enterprise
Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

just because i have IDE 1.18 (on my MxLinux PC) also, no problems with st-link xxx whatever -

it might be something on Win as anti-virus or something about the "rights" you or part of new program has (or not.).

So try to disable all firewall, anti-virus and check rights... 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

14 REPLIES 14

@funky wrote:

I can flash my image via st-link utility without problems.


What about CubeProgrammer?

did not use it until now but will check

funky
Associate III

hmmm...interesting. cubeprogrammer does not detect my st-link?!

funky
Associate III

funky_0-1742310342731.png

this is what my device manager shows me. it is an st-link v3 but with the nucleo st-link v2 it is also not working :(

in the cubeprogrammer: when i try to upgrade my st-link it wants to downgrade the firmware.
this is the version i get via cubeprogrammer

funky_1-1742310537744.png

and via stm32cubeide
funky_2-1742310618011.png

 

funky
Associate III

afte rebooting i see my st-link in the cubeide programmer. but as soon as i click on it it disappears and refreshing etc does not bring it back. i tried to reinstall all the drivers, but this did not help. in cubeprogrammer and cubeIDE the st-link is not usable. with the st-link utility i can still flash.

but all in all debugging is not working anymore. i'm lost here

funky
Associate III

i downgrade to cubeIDE 1.17. Also not working anymore :(

funky
Associate III

still no luck. 

what i noticed: cubeIDE does not even try to start GDBServer. it performas a prelaunch check and then the message box with "No St-Link connected..." appears

Well, that makes sense - if it can't find any ST-Link, then there's no point in it starting a GDB server.

 

You haven't got anything else using the ST-Link at the same time, have you?

Hi,

just because i have IDE 1.18 (on my MxLinux PC) also, no problems with st-link xxx whatever -

it might be something on Win as anti-virus or something about the "rights" you or part of new program has (or not.).

So try to disable all firewall, anti-virus and check rights... 

If you feel a post has answered your question, please click "Accept as Solution".