ST-LINK is a programmer used with STM32 microcontrollers. It is sold by STMicroelectronics and by many other manufacturers and is included in a number of Nucleo/Discovery/etc. development boards. Because of that, the schematics for it are available on the internet and you can build one yourself… and that is what I did.
ST-LINK
My schematic was inspired by two diy projects, available under the following links: STM32World, EmbdedBlog. The design was then compared with one of STMs own designs from a Nucleo board. You may think that the schematics could be easily reverse engineered, but you can’t get the firmware for it, as it is proprietary STM softwa, right? Well, it seems someone has already done the job for us: bootloader.
Schematic
The schematic and PCB were both designed using KiCAD 6.0
PCB design
Parts used
- STM32F103C8T6 microcontroller (you can use the CBT6 for more memory)
- TC1263 3.3V linear regulator
- IDC connector
- pin header for programming
- USB B connector
- 2x 0805 SMD LED
- 2x 220Ohm resistor
- 2x 100Ohm resistor
- 1MOhm resistor
- 3x 10kOhm resistor
- 2x 100kOhm resistor
- 2x 4.7kOhm resistor
- 1.5kOhm resistor
- 36kOhm resistor
- 470pF ceramic capacitor
- 1uF electrolytic capacitor
- 4x 100nF ceramic capacitor
- 2x 20pF ceramic capacitor
Assembled project
Author
Krzysztof Sikora
Cracow, 03.2023