Skip to main content
Visitor II
January 1, 2023
Solved

How to connect the STlink V2 to my board

  • January 1, 2023
  • 2 replies
  • 1693 views

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 ?

    This topic has been closed for replies.
    Best answer by KnarfB

    > 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

    2 replies

    KnarfBAnswer
    Super User
    January 1, 2023

    > 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.1Author
    Visitor II
    January 2, 2023

    Thank you for your reply!

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

    Explorer II
    January 2, 2023