HW-MODS: A prototype board for the STLINK-V3-MODS

Since STMicroelectronics presented it, I had been very curious to try it.

Image source: ST’s UM2502

There where all the specs for being a very usefull thing: a cheap and really small debugger intended to be integrated on every custom PCB that needs onboard debugging capabilities.

I have immediatly decided to develop my own PCB in order to get it usable also as a standalone debugger.

Top Layer Layout
Bottom Layer Layout

The key features of my design are:

  • Standard 2,54mm pin header for all the availables interfaces: UART/USART, CAN, VCP, SPI, I2C
  • Directly controllable GPIOs
  • Complete JTAG/SWD interface
  • RJ12 Tag Connect TC2030 compatible debugging interface

This is the result:


Despite what is written in the User Manual (UM2502) provided from ST, I’ve found in the CAD library and verified in my board that from Pin 22 (marked as Reserved) is it possible to get the 5V coming from the USB.
I think that they have marked it as reserved because they don’t want to take care of possible inappropriate usage of that power source.
This means that there is any protection circuit with respect to short circuit, reverse polarity or over current and you may damage your pc USB port in case of problem.

So, PLEASE, take particular care and USE IT AT YOUR OWN RISK!!!
I’m not responsible of how you’re using this device at any time.


-RJ12 female connector part #: 615006143621, from Wurth Elektronik
-Standard 2,54mm pitch pin header: 2x3pin, 1x4pin, 2x5pin, 2x6pin

Design files:

The Autodesk Eagle library for the stlink-v3-mods as well as all needed design files are available in the attachments or on this Github repo.


I hope that you find this usefull and that you enjoy it.
If you want to support my work please consider to make a donation!

For any question or anything else you can use the following form!


Follow @AnnaBiguzzi Follow @dinamitemic


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: