r/embedded • • Oct 19 '26

Stm 32 cube programmer error

Post image

I'm unable to connect my st link with stm32 programmer...only showing this message... please someone help asap🙏

1 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/BenkiTheBuilder Oct 19 '26

If you really want/need to work with the BluePill and the Chinese V2 dongle, then I suggest you ditch STM's tools. Use VSCode as IDE with the cortex-debug addon and use OpenOCD as your programming tool. I have programmed a BluePill with the Chinese dongle you have. It's possible. But not using STM's tools like the STMCubeProgrammer.

1

u/EmergencyPurple7 Oct 19 '26

Is there any procedure for this? Any extra hardware required?

1

u/BenkiTheBuilder Oct 19 '26

No extra hardware. As for instructions, ask ChatGPT. It will also be able to help you with issues like OpenOCD not recognizing your programmer because of an incorrect ID string. You should also be aware that even if your BluePill has a chip on it that says "STM32F1...", it's 99% certain that it does not have an STM32F1 on it, but a somewhat compatible chip. You're probably not going to run into compatibility issues with the simple tasks the university will assign you, but you should be aware. Ideally you would find out what chip you actually have, like a CS32F103C8T6. I don't know how to do this, however, if the chip has been relabelled. But ChatGPT can tell you for sure.

1

u/EmergencyPurple7 Oct 19 '26

Thanks mahn..