cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK clone connects using ST-LINK utility, but not STM32CubeProgrammer

FPayn.1
Associate III

I have a windows 11 laptop with both ST-LINK Utility and STM32CubeProgrammer installed.  I can connect to my STM32-based motherboard using a ST-LINK clone and ST-LINK but not with STM32CubeProgrammer.  Anyone know what I'm doing wrong?

3 REPLIES 3
Imen.D
ST Employee

Hello @FPayn.1 ,

Which device used?

Which STM32CubeProgrammer version used ?

Please make sure to use the latest version of CubeProgrammer.

Try then connecting in "Connect Under Reset" mode.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

>>Anyone know what I'm doing wrong?

Using counterfeit gear for one, ST's just not cool with that. I think they've made the decision to make them not work properly. And you keep going in circles with the same problem.

Cheapest solution would probably be a NUCLEO with a snap-off ST-LINK, or an ST-LINK/V3

Copying firmware out of one unit, into another, might also be a flawed approach.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III

@FPayn.1 wrote:

I can connect ... using a ST-LINK clone and ST-LINK 


So you've tried both a clone and a genuine ST-Link?
What firmware versions in each?

 


@FPayn.1 wrote:

 but not with STM32CubeProgrammer


So what, exactly, happens with CubeProgrammer?

What version of CubeProgrammer?

Show logs; screenshot error messages.

Is that also with the genuine ST-Link?

https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693

 


@FPayn.1 wrote:

 my STM32-based motherboard ?


Give details - schematics, etc:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

Does this board also have clone/fake STM32?

 


@FPayn.1 wrote:

 Anyone know what I'm doing wrong?


far too little detail to tell, but using fake/clone kit just complicates everything!

eg, see:

https://community.st.com/t5/stm32-mcus-products/configuring-uart-on-stm32f103c8t6-bluepill-kills-connection-to/m-p/668641/highlight/true#M242690