STMicroelectronics ST-LINKV2 Hauv Circuit Debugger Programmer
STMicroelectronics ST-LINK/V2 Hauv Circuit Debugger Programmer

Taw qhia

ST-LINK/V2 yog ib qho hauv-circuit debugger/programmer rau STM8 thiab STM32 microcontrollers. Ib leeg xaim interface module (SWIM) thiab JTAG/ serial wire debugging (SWD) interfaces pab txhawb kev sib txuas lus nrog txhua tus STM8 lossis STM32 microcontroller ua haujlwm ntawm daim ntawv thov board.

Ntxiv nrog rau kev muab cov haujlwm zoo ib yam ntawm ST-LINK / V2, ST-LINK / V2 ISOL nta kev cais tawm digital ntawm PC thiab lub hom phiaj daim ntawv thov pawg thawj coj saib. Nws kuj withstands voltages txog li 1000 VRMS.

Lub USB puv-ceev interface ua rau kev sib txuas lus nrog lub PC thiab:

  • STM8 li ntawm ST Visual Develop (STVD) lossis ST Visual Program (STVP) software (muaj los ntawm STMicroelectronics)
  • STM32 cov khoom siv los ntawm IAR™, Keil®, STM32CubeIDE, STM32CubeProgrammer, thiab STM32CubeMonitor kev txhim kho ib puag ncig.
    ST-LINK/V2 thiab ST-LINK/V2-ISOL

Nta

  • 5 V fais fab mov los ntawm USB connector
  • USB 2.0 puv ceev tau tshaj interface
  • USB standard A rau Mini-B cable
  • SWIM cov yam ntxwv tshwj xeeb
    - 1.65-5.5V daim ntawv thov voltage txhawb ntawm SWIM interface
    - SWIM low-speed thiab high-speed hom txhawb nqa
    - SWIM programming-ceev tus nqi: 9.7 thiab 12.8 Kbytes / s, ntsig txog, rau qis thiab siab ceev
    - SWIM cable rau kev sib txuas rau daim ntawv thov ntawm ERNI tus qauv ntsug (ref: 284697 lossis 214017) lossis kab rov tav (ref: 214012) txuas
    - SWIM cable rau kev txuas rau daim ntawv thov ntawm tus pin header lossis 2.54 mm suab txuas
  • JTAG/serial hlau debugging (SWD) tshwj xeeb nta
    - 1.65-3.6V daim ntawv thov voltage txhawb JTAG/SWD interface thiab 5 V tolerant inputs(a)
    -JTAG cable rau kev txuas mus rau tus qauv JTAG 20-pin suab 2.54 mm connector
    - Txhawb JTAG Kev sib txuas lus, mus txog 9 MHz (default: 1.125 MHz)
    - Txhawb serial hlau debug (SWD) mus txog 4 MHz (default: 1.8 MHz), thiab serial hlau viewer (SWV) kev sib txuas lus, mus txog 2 MHz
  • Direct firmware hloov tshiab feature txhawb (DFU)
  • Cov xwm txheej LED, blinking thaum sib txuas lus nrog PC
  • 1000 VRMS siab cais tawm voltage (ST-LINK/V2-ISOL nkaus xwb)
  • Ua haujlwm kub ntawm 0 txog 50 ° C

Ordering cov ntaub ntawv

Txhawm rau xaj ST-LINK/V2, xa mus rau Table 1.

Table 1. Daim ntawv teev cov lej xaj

Order code ST-LINK piav qhia
ST-LINK/V2 Hauv-circuit debugger / programmer
ST-LINK/V2-ISOL Nyob rau hauv-circuit debugger/programmer nrog digital cais

ib. ST-LINK/V2 tuaj yeem sib txuas lus nrog cov hom phiaj ua haujlwm qis dua 3.3 V, tab sis tsim cov teeb liab tawm ntawm qhov vol.tage qib. STM32 lub hom phiaj yog ua siab ntev rau qhov no dhau-voltage. Yog tias qee qhov lwm yam ntawm lub hom phiaj pawg thawj coj saib xyuas, siv ST-LINK/V2-ISOL, STLINK-V3MINIE lossis STLINK-V3SET nrog B-STLINK-VOLT adapter kom tsis txhob muaj kev cuam tshuam ntau dhau.tage txhaj rau ntawm lub rooj tsavxwm.

Cov khoom txheem

Cov xaim xaim xaim hauv cov khoom tau pom hauv daim duab 2 thiab daim duab 3. Lawv suav nrog (los ntawm sab laug mus rau sab xis):

  • USB tus qauv A rau Mini-B cable (A)
  • ST-LINK/V2 debugging thiab programming (B)
  • SWIM tus nqi qis connector (C)
  • SWIM tiaj tus ribbon nrog tus qauv ERNI txuas ntawm ib kawg (D)
  • JTAG los yog SWD thiab SWV flat ribbon with a 20-pin connector (E)
    Cov khoom txheem
    Cov khoom txheem

Kho vajtse configuration

Lub ST-LINK/V2 yog tsim nyob ib ncig ntawm STM32F103C8 ntaus ntawv, uas suav nrog cov kev ua tau zoo Arm®(a) Cortex®-M3 core. Nws muaj nyob rau hauv pob TQFP48.
Raws li pom hauv daim duab 4, ST-LINK/V2 muab ob lub connectors:

  • STM32 connector rau JTAG/SWD and SWV interface
  • STM8 connector rau SWIM interface

ST-LINK/V2-ISOL muab ib qho txuas rau STM8 SWIM, STM32 JTAG/SWD, and SWV interfaces.
Kho vajtse configuration

  1. A = STM32 JTAG thiab SWD target connector
  2. B = STM8 SWIM lub hom phiaj connector
  3. C = STM8 SWIM, STM32 JTAG, thiab SWD target connector
  4. D = Kev sib txuas lus ua haujlwm LED

ib. Arm yog ib lub cim lag luam ntawm Arm Limited (lossis nws cov koom tes) hauv Asmeskas thiab / lossis lwm qhov.

Kev sib txuas nrog STM8

Rau kev txhim kho cov ntawv thov raws li STM8 microcontrollers, ST-LINK / V2 tuaj yeem txuas rau lub hom phiaj ntawm ob lub cables sib txawv, nyob ntawm qhov sib txuas muaj nyob rau ntawm daim ntawv thov board.

Cov kab no yog:

  • SWIM ca ribbon nrog tus qauv ERNI txuas ntawm ib kawg
  • SWIM cable nrog ob 4-pin, 2.54 mm connectors lossis SWIM cais-xaim cables

Standard ERNI kev twb kev txuas nrog SWIM ca ribbon
Daim duab 5 qhia yuav ua li cas txuas ST-LINK / V2 yog tias tus qauv ERNI 4-pin SWIM connector muaj nyob rau ntawm daim ntawv thov.
Standard ERNI kev twb kev txuas nrog SWIM ca ribbon

  1. A = Lub hom phiaj daim ntawv thov board nrog ERNI connector
  2. B = Hlau cable nrog ERNI connector ntawm ib kawg
  3. C = STM8 SWIM lub hom phiaj connector
  4. Saib daim duab 11

Daim duab 6 qhia tias tus pin 16 ploj lawm ntawm ST-LINK/V2-ISOL lub hom phiaj txuas. Tus pin uas ploj lawm no yog siv los ua tus yuam sij kev nyab xeeb ntawm lub cable txuas, kom lav qhov tseeb ntawm SWIM cable ntawm lub hom phiaj txuas txawm pins, siv rau ob qho tib si SWIM thiab JTAG kab.
Standard ERNI kev twb kev txuas nrog SWIM ca ribbon

Tus nqi qis SWIM txuas
Daim duab 7 qhia yuav ua li cas txuas ST-LINK/V2 yog 4-pin, 2.54 mm, tus nqi qis SWIM connector nyob rau ntawm daim ntawv thov board.
Tus nqi qis SWIM txuas

  1. A = Lub hom phiaj daim ntawv thov board nrog 4-pin, 2.54 mm, tus nqi qis connector
  2. B = Hlau cable nrog 4-pin connector lossis cais-wires cable
  3. C = STM8 SWIM lub hom phiaj connector
  4. Saib daim duab 12

SWIM teeb liab thiab kev sib txuas
Table 2 piav qhia txog cov npe teeb liab, kev ua haujlwm, thiab lub hom phiaj kev sib txuas teeb liab thaum siv cov hlau txuas nrog 4-pin connector.

Rooj 2. SWIM tiaj ribbon txuas rau ST-LINK/V2

Pin nr. Lub npe Muaj nuj nqi Lub hom phiaj kev sib txuas
1 VDD Target VCC(1) MCU VCC
2 DATA SWIM MCU SWIM pin
3 GND PIB GND
4 RESET RESET MCU RESET pin
  1. Lub hwj chim mov los ntawm daim ntawv thov board txuas nrog ST-LINK / V2 debugging thiab programming board los xyuas kom meej lub teeb liab sib raug zoo ntawm ob lub rooj tsavxwm.
    Target SWIM connector

Table 3 piav qhia txog cov npe teeb liab, kev ua haujlwm, thiab lub hom phiaj kev sib txuas cov teeb liab siv cov kab hluav taws xob sib cais.
Raws li SWIM cais-xaim cable muaj kev ywj pheej txuas rau txhua tus pins ntawm ib sab, nws tuaj yeem txuas ST-LINK / V2-ISOL rau daim ntawv thov board yam tsis muaj tus qauv SWIM txuas. Nyob rau hauv lub tiaj tus ribbon no, tag nrho cov teeb liab tau hais los ntawm ib qho xim tshwj xeeb thiab ib daim ntawv lo kom yooj yim rau kev sib txuas ntawm lub hom phiaj.

Table 3. SWIM tus nqi qis cable txuas rau ST-LINK/V2-ISOL

Xim Cable pin npe Muaj nuj nqi Lub hom phiaj kev sib txuas
Liab TVCC Target VCC(1) MCU VCC
Ntsuab UAS-RX Tsis siv Khaws tseg (2)

(tsis txuas rau lub hom phiaj board)

Xiav UAS-TX
Daj NKAUS
Txiv kab ntxwv SWIM SWIM MCU SWIM pin
Dub GND PIB GND
Dawb SWIM-RST RESET MCU RESET pin
  1. Lub hwj chim mov los ntawm daim ntawv thov board txuas nrog ST-LINK / V2 debugging thiab programming board los xyuas kom meej lub teeb liab sib raug zoo ntawm ob lub rooj tsavxwm.
  2. BOOT0, UART-TX thiab UART-RX tau tshwj tseg rau kev txhim kho yav tom ntej.

TVCC, SWIM, GND, thiab SWIM-RST tuaj yeem txuas nrog tus nqi qis 2.54 mm pitch connector lossis pin headers muaj nyob rau ntawm lub hom phiaj.

Kev sib txuas nrog STM32
Rau kev txhim kho cov ntawv thov raws li STM32 microcontrollers, ST LINK / V2 yuav tsum txuas nrog rau daim ntawv thov siv tus qauv 20-pin JTAG tiaj tus ribbon muab.
Table 4 qhia txog cov cim npe, lub luag haujlwm, thiab lub hom phiaj kev sib txuas cov cim ntawm tus qauv 20-pin JTAG flat ribbon.

Tab 4. JTAG/SWD cable txuas

Pin nr. ST-LINK/V2

connector (CN3)

ST-LINK/V2

muaj nuj nqi

Lub hom phiaj kev sib txuas (JTAG) Lub hom phiaj kev sib txuas (SWD)
1 VAPP Target VCC MCU VDD(1) MCU VDD(1)
2
3 TRST JTAG TRST JNTRST GND(2)
4 GND(3) GND(3) GND(3) (4) GND(3) (4)
5 TDI JTAG TDO JTDI GND(2)
6 GND(3) GND(3) GND(3)(4) GND(3) (4)
7 TMS_SWDIO JTAG TMS, SWB JTMS SWDIO
8 GND(3) GND(3) GND(3)(4) GND(3) (4)
9 TXK_SWCLK JTAG TXK, SW CLK JTCK SWCLK
10 GND(5) GND(5) GND(4)(5) GND(4) (5)
11 Tsis txuas Tsis txuas Tsis txuas Tsis txuas
12 GND GND GND(4) GND(4)
13 TSO_SWO JTAG TDI, SWB JTDO TSEV (6)
14 GND(5) GND(5) GND(4)(5) GND(4) (5)
15 NRST NRST NRST NRST
16 GND(3) GND(3) GND(3)(4) GND(3) (4)
17 Tsis txuas Tsis txuas Tsis txuas Tsis txuas
18 GND GND GND(4) GND(4)
19 VDD(3) VDD (3.3V)(3) Tsis txuas Tsis txuas
20 GND GND GND(4) GND(4)
  1. Lub hwj chim mov los ntawm daim ntawv thov board txuas nrog ST-LINK / V2 debugging thiab programming board kom ntseeg tau tias cov teeb liab sib raug zoo ntawm cov laug cam.
  2. Txuas mus rau GND kom txo cov suab nrov ntawm cov ribbon.
  3. Muaj nyob ntawm ST-LINK/V2 nkaus xwb, tsis txuas nrog ST-LINK/V2-ISOL.
  4. Yam tsawg kawg ib qho ntawm cov pin no yuav tsum tau txuas nrog hauv av kom coj tus cwj pwm kom raug, nws raug nquahu kom txuas tag nrho lawv.
  5. GND ntawm ST-LINK/V2, siv los ntawm SWIM ntawm ST-LINK/V2-ISOL (saib Table 3).
  6. Yeem: rau Serial Hlau Viewer (SWV) trace.

Daim duab 9 qhia yuav ua li cas txuas ST-LINK/V2 rau lub hom phiaj siv JTAG kab
JTAG thiab SWD txuas

  1. A = Lub hom phiaj daim ntawv thov board nrog JTAG txuas
  2. B = JTAG/ SWD 20-hlau ca cable
  3. C = STM32 JTAG thiab SWD target connector

Kev siv ntawm cov khoom sib txuas uas xav tau ntawm lub hom phiaj daim ntawv thov pawg thawj coj saib yog: 2x10C header wrapping 2x40C H3 / 9.5 ( suab 2.54) - HED20 SCOTT PHSD80.
JTAG debugging flat ribbon layout

Nco tseg: Rau cov ntawv thov raug nqi qis, lossis thaum tus qauv 20-pin 2.54 mm-pitch connector hneev taw loj dhau, nws muaj peev xwm siv tau. Tag-Txuas kev daws teeb meem. Cov Tag-Txuas adapter thiab cable muab ib qho yooj yim thiab txhim khu kev qha txhais tau tias ntawm kev sib txuas ST-LINK / V2 lossis ST-LINK / V2-ISOL rau PCB yam tsis tas yuav tsum muaj cov khoom sib txuas ntawm daim ntawv thov PCB.

Yog xav paub ntxiv txog cov tshuaj no thiab daim ntawv thov-PCB-footprint cov ntaub ntawv, mus saib
www.tag-connect.com.
Cov ntaub ntawv pov thawj ntawm cov khoom sib xws nrog JTAG thiab SWD interfaces yog:

a) TC2050-ARM2010 adapter (20-pin-to 10-pin-interface board)
b) TC2050-IDC lossis TC2050-IDC-NL (Tsis muaj ceg) (10-pin cable)
c) TC2050-CLIP tuav clip rau siv nrog TC2050-IDC-NL (yeem)

ST-LINK / V2 xwm txheej LED
Lub LED sau npe COM nyob rau sab saum toj ntawm ST-LINK / V2 qhia ST-LINK / V2 xwm txheej (txawm li cas los xij hom kev sib txuas). Hauv kev nthuav dav:

  • LED yog blinking liab: thawj USB enumeration nrog lub PC tab tom ua qhov chaw
  • LED yog RED: kev sib txuas lus ntawm PC thiab ST-LINK / V2 yog tsim (kawg ntawm kev suav)
  • LED yog blinking GREEN / RED: cov ntaub ntawv sib pauv ntawm lub hom phiaj thiab PC
  • LED yog GREEN: kev sib txuas lus kawg tau ua tiav
  • LED yog ORANGE: ST-LINK / V2 kev sib txuas lus nrog lub hom phiaj tau ua tsis tiav.

Software teeb tsa

ST-LINK/V2 firmware upgrade
ST-LINK/V2 embeds firmware upgrade mechanism rau in-situ upgrade los ntawm USB chaw nres nkoj. Raws li lub firmware tuaj yeem hloov zuj zus thaum lub neej ntawm ST-LINK / V2 cov khoom lag luam (kev ua haujlwm tshiab, kho kab laum, kev txhawb nqa rau cov tsev neeg microcontroller tshiab), nws raug nquahu kom mus xyuas cov nplooj ntawv nplooj siab rau ib ntus. www.st.com kom nyob twj ywm nrog rau qhov tseeb version.

STM8 daim ntawv thov kev txhim kho
Xa mus rau ST toolet Pack24 nrog Patch 1 lossis ntau dua tsis ntev los no, uas suav nrog ST Visual Develop (STVD) thiab ST Visual Programmer (STVP).

STM32 daim ntawv thov kev txhim kho thiab flash programming
Cov cuab yeej thib peb (IAR™ EWARM, Keil® MDK-ARM™) txhawb nqa ST-LINK/V2 raws li cov qauv uas tau muab rau hauv Table 5 lossis hauv cov ntawv tshiab tshaj plaws muaj.

Table 5. Yuav ua li cas thib peb-tog toolchains txhawb ST-LINK/V2

Thib peb Toolchain Version
IAR™ EWARM 6.20
Keil® MDK-ARM™ 4.20

ST-LINK/V2 yuav tsum muaj tus tsav tsheb tshwj xeeb USB. Yog hais tias cov cuab yeej teeb tsa tsis nruab nws cia li, tus tsav tsheb tuaj yeem pom ntawm www.st.com nyob rau hauv lub npe STSW-LINK009.
Yog xav paub ntxiv txog cov cuab yeej thib peb, mus saib hauv qab no webqhov chaw:

Schematics

Schematics

  1. Lus dab neeg rau tus pin piav qhia:
    VDD = Target voltage xav
    DATA = SWIM DATA kab ntawm lub hom phiaj thiab cov cuab yeej debug
    GND = Av voltage
    RESET = Lub hom phiaj rov pib dua

Schematics

  1. Lus dab neeg rau tus pin piav qhia:
    VDD = Target voltage xav
    DATA = SWIM DATA kab ntawm lub hom phiaj thiab cov cuab yeej debug
    GND = Av voltage
    RESET = Lub hom phiaj rov pib dua

Kev kho keeb kwm

Table 6. Cov ntaub ntawv kho dua tshiab

Hnub tim Kev kho dua Hloov
Peb 22-Apr-2011 1 Kev tso tawm thawj zaug.
03-Lub Ib Hlis-2011 2 Table 2: SWIM ca ribbon txuas rau ST-LINK/V2: ntxiv footnote 1 mus rau lub luag haujlwm "Target VCC".

Tab 4: JTAG/SWD cable txuas: ntxiv cov lus taw qhia rau lub luag haujlwm "Target VCC".

Rooj 5: Yuav ua li cas thib peb cov cuab yeej kev txhawb nqa ST-LINK/V2: hloov kho "Versions" ntawm IAR thiab Keil.

19-Aug-2011 3 Ntxiv cov ntsiab lus USB tsav tsheb rau Tshooj 5.3.
Peb 11-2012 4 Added SWD and SWV to JTAG kev sib txuas nta. Hloov kho

Tab 4: JTAG/SWD cable txuas.

Peb 13-Sep-2012 5 Ntxiv ST-LINK/V2-ISOL xaj code.

Hloov tshiab Nqe 4.1: STM8 kev txhim kho daim ntawv thov ntawm nplooj 15. Ntxiv Lus Cim 6 in Table 4.

Ntxiv Ceeb Toom "Rau cov ntawv thov nqi qis ..." ua ntej Tshooj 3.3: ST- LINK/V2 xwm txheej LEDs ntawm nplooj 14.

18-Aug-2012 6 Ntxiv Tshooj 5.1: ST-LINK/V2 firmware upgrade ntawm nplooj 15.
25 - Peb 2016 7 Hloov kho VRMS tus nqi hauv Taw qhia thiab hauv Nta.
18-Aug-2018 8 Hloov tshiab Tab 4: JTAG/SWD cable txuas thiab nws cov ntsiab lus. Cov ntawv me hloov kho thoob plaws tag nrho cov ntaub ntawv.
09- Peb Hlis-2023 9 Hloov tshiab Taw qhia, Nta, thiab Tshooj 5.3: Kev thov STM32 txhim kho thiab flash programming.

Hloov tshiab Table 5: Yuav ua li cas thib peb-tog toolchains txhawb ST-LINK/V2. Cov ntawv me hloov kho thoob plaws tag nrho cov ntaub ntawv.

CEEB TOOM - Nyeem ua tib zoo nyeem

STMicroelectronics NV thiab nws cov koom tes (“ST”) muaj cai hloov pauv, kho, txhim kho, hloov kho, thiab txhim kho rau ST cov khoom thiab/lossis cov ntaub ntawv no txhua lub sijhawm yam tsis muaj ntawv ceeb toom. Cov neeg yuav khoom yuav tsum tau txais cov ntaub ntawv tseem ceeb tshaj plaws ntawm
ST cov khoom ua ntej muab xaj. ST cov khoom raug muag raws li ST cov nqe lus thiab cov xwm txheej ntawm kev muag khoom nyob rau hauv qhov chaw thaum lub sijhawm lees paub kev txiav txim.
Cov neeg yuav khoom tsuas yog lub luag haujlwm rau kev xaiv, xaiv, thiab siv cov khoom ST thiab ST xav tias tsis muaj kev lav phib xaub rau daim ntawv thov kev pab lossis kev tsim khoom ntawm cov neeg yuav khoom.
Tsis muaj daim ntawv tso cai, qhia lossis qhia, rau txhua txoj cai kev txawj ntse tau tso cai los ntawm ST ntawm no.
Kev muag khoom ntawm ST cov khoom lag luam nrog cov kev cai sib txawv ntawm cov ntaub ntawv tau teev tseg hauv qab no yuav tsis muaj kev lees paub los ntawm ST rau cov khoom lag luam zoo li no.
ST thiab ST logo yog cov cim lag luam ntawm ST. Yog xav paub ntxiv txog ST cov cim lag luam, xa mus rau www.st.com/trademarks. Tag nrho lwm yam khoom lossis kev pabcuam npe yog cov cuab yeej ntawm lawv cov tswv.
Cov ntaub ntawv hauv daim ntawv no hloov pauv thiab hloov cov ntaub ntawv yav dhau los uas tau muab rau hauv ib qho ua ntej ntawm daim ntawv no.
© 2023 STMicroelectronics - All rights reserved

STMicroelectronics

Cov ntaub ntawv / Cov ntaub ntawv

STMicroelectronics ST-LINK/V2 Hauv Circuit Debugger Programmer [ua pdf] Tus neeg siv phau ntawv
ST-LINK V2 Hauv Circuit Debugger Programmer, ST-LINK V2, Hauv Circuit Debugger Programmer, Circuit Debugger Programmer, Debugger Programmer, Programmer

Cov ntaub ntawv

Cia ib saib

Koj email chaw nyob yuav tsis raug luam tawm. Cov teb uas yuav tsum tau muaj yog cim *