2024-10-30 03:11 PM - last edited on 2024-10-31 01:18 AM by Andrew Neil
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?
2024-10-31 12:07 AM - edited 2024-10-31 01:17 AM
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.
2024-10-31 12:59 AM
>>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.
2024-10-31 01:26 AM - edited 2024-10-31 01:40 AM
@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:
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: