Author Topic: [ST-LINK/V2 ISOL] schematic reverse engineering  (Read 11338 times)

0 Members and 2 Guests are viewing this topic.

Offline MikeyzyTopic starter

  • Newbie
  • Posts: 6
  • Country: ca
[ST-LINK/V2 ISOL] schematic reverse engineering
« on: December 16, 2022, 05:52:56 pm »
I've been searching online about the "ST-Link V2 ISOL"'s schematics and seems like nobody has done the work for it. So I decided to do some probing on the board.
Here is my result, some components are ignored such as TVS diode and bypass caps.
If anyone else got a "ST-Link V2 ISOL", feel free to help completing the schematic. Peer review is always nice.
Still haven't quite figure out how the isolation work on some lines exactly.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 6102
  • Country: nl
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #1 on: December 16, 2022, 05:56:45 pm »
Hi Mikeyzy,

welcome to the forum and thanks for doing this work, but it might help when you actually attach the schematic.  :-+

Offline MikeyzyTopic starter

  • Newbie
  • Posts: 6
  • Country: ca
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #2 on: December 16, 2022, 06:04:59 pm »
Some how the attachments didn't go through.
I'll try again.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 6102
  • Country: nl
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #3 on: December 16, 2022, 06:38:03 pm »
I looked at the schematic and with the labels and the not inline placing of the components it is hard to read.

An improvement would be to rotate the isolators and use wires to connect them to the other components instead of the net labels. Place the MCU with the USB connector at the left and work the signals to the right with the jtag connector on the right end of the sheet.

You can use text to label the signals next to the wires.

This exercise might even clear thing up for yourself to get a better understanding of what is doing what.

Offline MikeyzyTopic starter

  • Newbie
  • Posts: 6
  • Country: ca
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #4 on: December 16, 2022, 07:48:29 pm »
The schematic was draw so the component positioning resembles how it's located on the PCB, for probing and mapping purpose. Unfortunately eagle being the way it is, there is no way to do directional signal label/tunnel.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 6102
  • Country: nl
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #5 on: December 16, 2022, 07:55:04 pm »
Can you post pictures of the PCB, both back and front. Would be nice to see what matches the schematic.

Offline MikeyzyTopic starter

  • Newbie
  • Posts: 6
  • Country: ca
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #6 on: December 16, 2022, 08:33:03 pm »
files are compressed so they fit the max size.
 
The following users thanked this post: thm_w, harerod, pcprogrammer

Offline MikeyzyTopic starter

  • Newbie
  • Posts: 6
  • Country: ca
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #7 on: December 19, 2022, 04:21:29 pm »
somehow when I upload attachment, some of them doesn't go through.
 
The following users thanked this post: pcprogrammer

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6923
  • Country: es
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #8 on: December 19, 2022, 05:48:56 pm »
Really? The couldn't use a smaller crystal?  :-DD
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: tooki

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 6102
  • Country: nl
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #9 on: December 19, 2022, 07:28:07 pm »
somehow when I upload attachment, some of them doesn't go through.

Recently the uploading system has been updated and that broke it. Don't use the drag and drop feature and skip the first attachment option. Click the "more attachments" option and use the new one(s) to select your file(s).

Also keep the default End-of-post expandable thumbnail option selected. The rest does not work as intended.

Thanks for the photos.

Can you identify the big part near the USB connection? Is it a Burr and Brown device?

Offline wek

  • Frequent Contributor
  • **
  • Posts: 591
  • Country: sk
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #10 on: December 19, 2022, 09:00:11 pm »
It's a DC/DC converter providing power to the isolated side.

JW
 

Offline MikeyzyTopic starter

  • Newbie
  • Posts: 6
  • Country: ca
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #11 on: December 20, 2022, 07:15:09 pm »
the big dip smd part is a expensive TI isolated votage regulator/PS. power section isn't as important since it is easy to figure out. the main concern is on the logic isolation side.
 

Offline gwideman

  • Regular Contributor
  • *
  • Posts: 60
  • Country: us
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #12 on: April 12, 2026, 04:23:26 am »
@Mikeyzy  Would you mind reposting the schematic PDF? The forum software seems to have messed up the connection between attachment links and actual files so that the link "ST-Link-V2-ISOL.pdf (41.75 kB..." actually retrieves the JPG of the rear of the board, just misnamed  ST-Link-V2-ISOL.pdf.
Your effort in tracing this schematic is very welcome, by the way! Thanks!
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6923
  • Country: es
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #13 on: April 12, 2026, 09:19:55 am »
That's actually a jpg... the full-sized picture of the pcb bottom.
Seems like he renamed and uploaded the wrong file in first place.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 6102
  • Country: nl
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #14 on: April 12, 2026, 11:04:28 am »
Mikeyzy has not been on the forum for a long time, so the chance of them reading this is very small. Maybe a personal message can wake them up.

Edit: corrected some spelling.
« Last Edit: April 12, 2026, 02:13:01 pm by pcprogrammer »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 8785
  • Country: ca
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #15 on: April 12, 2026, 11:22:15 am »
can this help

 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 15936
  • Country: ch
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #16 on: April 12, 2026, 12:39:41 pm »
That's actually a jpg... the full-sized picture of the pcb bottom.
Seems like he renamed and uploaded the wrong file in first place.
Nope, there was an issue with the database that caused file contents to be associated incorrectly.
 
The following users thanked this post: gwideman

Offline gwideman

  • Regular Contributor
  • *
  • Posts: 60
  • Country: us
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #17 on: April 13, 2026, 01:42:16 am »
can this help

Thanks for contributing, but this doesn't really help. That JPG is readily downloadable in a previous message.  This is not the schematic, it is the schematic with the entire MCU section overlayed by a picture of the PCB, hence obscuring the heart of the schematic.
 

Offline gwideman

  • Regular Contributor
  • *
  • Posts: 60
  • Country: us
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #18 on: April 13, 2026, 01:44:31 am »
That's actually a jpg... the full-sized picture of the pcb bottom.
Seems like he renamed and uploaded the wrong file in first place.

Thanks for replying, but I'm not sure your point. Are you saying something different than what I wrote?
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 3785
  • Country: gb
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #19 on: April 13, 2026, 06:44:30 pm »
Wayback machine saves the day...
but it's one of those "schematics" without wires!
 
The following users thanked this post: DavidAlfa

Offline gwideman

  • Regular Contributor
  • *
  • Posts: 60
  • Country: us
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #20 on: April 14, 2026, 01:24:43 am »
Wayback machine saves the day...
but it's one of those "schematics" without wires!

Well done! The style in which connections are mostly implemented by labels rather than explicit lines probably stems from the original poster's goal of positioning components corresponding to their location on the PCB, to ease the task of tracing the circuit, so fair enough. It is helpful that the labels are captured in the PDF, so you can use the search function to find matching labels if you need to.

Thanks for going to the effort of fetching this file!
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 6021
  • Country: gb
  • Doing electronics since the 1960s...
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #21 on: April 14, 2026, 07:08:12 am »
Sorry to say this but what is the point?

ST are likely to detect a fake STLINK and stop it running. And the real ones cost basically almost nothing.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 
The following users thanked this post: tooki

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 3785
  • Country: gb
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #22 on: April 14, 2026, 09:31:54 am »
And the real ones cost basically almost nothing.

Not true for the isolated versions, which are the subject of this thread.
But a standard STLink plus a cheap USB iso should do much the same job I would have thought?
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 6021
  • Country: gb
  • Doing electronics since the 1960s...
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #23 on: April 14, 2026, 12:47:43 pm »
The STLINK V2 ISOL also costs practically nothing.

I don't "like" STM any more than a lot of people but counterfeiting this dirt cheap stuff is just a waste of time.

The ISOL debugger reduces chances of blowing up a target (or the PC) but the scenarios where that applies are rare, given that the two are normally in very close proximity. If they were say 100m apart and on different mains supplies, that would be different. I've been selling non-isolated and isolated 232-4XX converter for 30 years and there is a big difference in the blow-up rate.

They also run significantly slower, especially for the SWV ITM debug feature. So if I was building a better one, I would use the RF-coupled isolators (e.g. SI8641BB) which are much faster than traditional optoisolators (unless the latter are running at high power).
« Last Edit: April 14, 2026, 02:07:58 pm by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 3785
  • Country: gb
Re: [ST-LINK/V2 ISOL] schematic reverse engineering
« Reply #24 on: April 14, 2026, 02:41:39 pm »
The STLINK V2 ISOL also costs practically nothing.

£60 + VAT

Perhaps it's a hobbyist vs commercial thing.
To me a Segger J-Link is practically nothing, yet some folks doing commercial work are too grippy to buy a genuine one.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->