2025-10-17 8:01 AM
Hi,
Since I don't know much neither about STM, nor electronics, I used others design to make this.
I need someone to check it thoroughly if possible, and to suggest changes, or to find errors.
I suppose that there isn't much to be changed there. This custom ST-Link V2.1 should use official firmware for ST-Link V2.0 programmer/debugger.
You'll find attached project in KiCad and description of it.
Best regards and thanks,
tpd
2025-10-17 8:07 AM - edited 2025-10-17 8:14 AM
Hi,
>This custom ST-Link V2.1 should use official firmware for ST-Link V2.0 programmer/debugger.
The firmware is on the st-link by STM. No other source.
But just buy the isolated V2 or V3 , the only legal way:
https://www.st.com/en/development-tools/b-stlink-isol.html#sample-buy
+
or V2 , at mouser:
2025-10-17 8:10 AM
@tpd wrote:Since I don't know much neither about STM, nor electronics
Especially given that, do as @AScha.3 said - just buy a genuine one!
2025-10-17 8:11 AM
That's not te plan, sorry to disappoint you.
2025-10-17 8:31 AM
I think you're the one that's going to be disappointed!
As @AScha.3 said, the firmware is closed - it is not available for you (or anyone other than ST) to use.
If you really want to DIY, here are some open options:
2025-10-17 8:34 AM
You can buy a nucleo board or something else with an ST-Link chip/firmware on it and transplant that to your board.
Could also consider using existing isolated programmers.
B-STLINK-ISOL | Tool - STMicroelectronics
Can't open KiCAD but if you post PDF of schematic I'll take a look.
2025-10-17 8:40 AM
Maybe you should look for a friend, forum is not about hopelessly trying to find one at the wrong place.
1. I didn't try to hack stm32's firmware or debugger
2. I found project which I'm trying to customize here:
https://oshwlab.com/kerteszsasa/st-link-v2-1
3. The question was "will my modification work with official stm32 ST-Link firmware"
4. If you don't have a clue about previous 3 points - try to find attention at home
2025-10-17 8:54 AM - edited 2025-10-17 8:54 AM
> 2. I found project which I'm trying to customize here:
With a counterfeit chip you also run into the risk of it not working correctly with ST software.
(If you don't like someone's post, you always have the option to ignore it.)
2025-10-17 8:57 AM
I have debugger with the same chip and it work. The question wasn't about the chip, it was about customization and official firmware.
2025-10-17 9:39 AM
> The question wasn't about the chip, it was about customization and official firmware.
Was it, though? Your first post doesn't have any questions. Only:
> I need someone to check it thoroughly if possible, and to suggest changes, or to find errors.
And so that's what we've done. If you want specific answers, it would be better to ask specific questions. Others are free to comment on your topic as they see fit, per the community guidelines.
The "official firmware" may not work correctly on non-genuine chips, as can be seen in many posts on this forum. The suggested change, per your request, is to use an official programmer, or chip.