cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect the STlink V2 to my board

YShko.1
Associate II

Hey,

I built a project base on the STM32 G070RB Nucleo board.

Now i want to take the cpu and design my own board for a project in my work.

My question is how to connect the STlink v2 to the CPU, because i saw in 3 diffrent resources, diffrent numbers of legs to connect.

  1. PDF schematics - in the upper right corner(4 Legs)

0693W00000Y7AQ9QAN.png2.Datasheet of the board(5 Legs, number 6 is not used!)

0693W00000Y7AQEQA3.png3.Datasheet of the STlink V2(20 Legs)

0693W00000Y7AQJQA3.pngCan any one tell me what is the corrent way ?

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

> Now i want to take the cpu and design my own board

App. note "Getting started with STM32G0 Series hardware development" is a recommended reading.

GND, SWDIO, SWCLK are mandatory.

NRST optional if you want to reset the board for debugging

VDD_TARGET/Target VCC optional for detecting/measuring the board voltage/level conversion by the debug probe

SWO additional serial output for logging/tracing, not implemented in G0 series.

hth

KnarfB

View solution in original post

4 REPLIES 4
KnarfB
Principal III

> Now i want to take the cpu and design my own board

App. note "Getting started with STM32G0 Series hardware development" is a recommended reading.

GND, SWDIO, SWCLK are mandatory.

NRST optional if you want to reset the board for debugging

VDD_TARGET/Target VCC optional for detecting/measuring the board voltage/level conversion by the debug probe

SWO additional serial output for logging/tracing, not implemented in G0 series.

hth

KnarfB

YShko.1
Associate II

Thank you for your reply!

where can i find "Getting started with STM32G0 Series hardware development" ?

ask your favorite search engine Am 2. Januar 2023 09:50:25 MEZ schrieb ST Community :