STLINKV2 In-Circuit Debugger: Pinout, Datasheet and Programming
STM8/STM32 Microcontroller Debugger/Programmer
The STLINKV2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontrollers. This article mainly covers pinout, datasheet, features, programming and other details about STLINKV2.

ST-LINK V2 STM8/32 Simulator Programmer
STLINKV2 Description
The STLINKV2 is an in-circuit debugger for the STM8 and STM32 microcontrollers. The single wire interface module (SWIM) and the JTAG/serial wire debugging (SWD) interfaces facilitate the communication with any STM8 or STM32 microcontroller operating on an application board.
STLINKV2 Product Contents
• USB standard A to Mini-B cable (A)
• ST-LINK/V2 debugging and programming (B)
• SWIM low-cost connector (C)
• SWIM flat ribbon with a standard ERNI connector at one end (D)
• JTAG or SWD and SWV flat ribbon with a 20-pin connector (E)

STLINKV2 Pinout

STLINKV2 Schematic

Specifications
- TypeParameter
- Weight145.149558g
- Packaging
Semiconductor package is a carrier / shell used to contain and cover one or more semiconductor components or integrated circuits. The material of the shell can be metal, plastic, glass or ceramic.
Box - Part Status
Parts can have many statuses as they progress through the configuration, analysis, review, and approval stages.
Active - Moisture Sensitivity Level (MSL)
Moisture Sensitivity Level (MSL) is a standardized rating that indicates the susceptibility of electronic components, particularly semiconductors, to moisture-induced damage during storage and the soldering process, defining the allowable exposure time to ambient conditions before they require special handling or baking to prevent failures
1 (Unlimited) - TypeDebugger, Programmer (In-Circuit/In-System)
- Operating Supply Voltage
The voltage level by which an electrical system is designated and to which certain operating characteristics of the system are related.
5V - Interface
In electronic components, the term "Interface" refers to the point at which two different systems, devices, or components connect and interact with each other. It can involve physical connections such as ports, connectors, or cables, as well as communication protocols and standards that facilitate the exchange of data or signals between the connected entities. The interface serves as a bridge that enables seamless communication and interoperability between different parts of a system or between different systems altogether. Designing a reliable and efficient interface is crucial in ensuring proper functionality and performance of electronic components and systems.
USB - Data Bus Width
The data bus width in electronic components refers to the number of bits that can be transferred simultaneously between the processor and memory. It determines the amount of data that can be processed and transferred in a single operation. A wider data bus allows for faster data transfer speeds and improved overall performance of the electronic device. Common data bus widths include 8-bit, 16-bit, 32-bit, and 64-bit, with higher numbers indicating a larger capacity for data transfer. The data bus width is an important specification to consider when evaluating the speed and efficiency of a computer system or other electronic device.
8b - Evaluation Kit
An Evaluation Kit is a collection of hardware and software components designed to help engineers and developers assess and test the functionality of a particular electronic component or system. It typically includes a development board, sample code, utilities, and documentation to facilitate development and prototype testing. Evaluation Kits enable users to quickly prototype applications, evaluate performance characteristics, and determine compatibility with other systems. They are commonly used in the design and development phases of electronic projects to simplify the integration of complex components.
Yes - Core Architecture
In electronic components, the term "Core Architecture" refers to the fundamental design and structure of the component's internal circuitry. It encompasses the arrangement of key components, such as processors, memory units, and input/output interfaces, within the device. The core architecture plays a crucial role in determining the component's performance, power efficiency, and overall capabilities. Different core architectures are optimized for specific applications and requirements, such as high-speed processing, low power consumption, or specialized functions. Understanding the core architecture of electronic components is essential for engineers and designers to select the most suitable components for their projects.
ARM - ContentsBoard(s), Cable(s)
- Height29.972mm
- Length154.94mm
- Width109.982mm
- REACH SVHC
The parameter "REACH SVHC" in electronic components refers to the compliance with the Registration, Evaluation, Authorization, and Restriction of Chemicals (REACH) regulation regarding Substances of Very High Concern (SVHC). SVHCs are substances that may have serious effects on human health or the environment, and their use is regulated under REACH to ensure their safe handling and minimize their impact.Manufacturers of electronic components need to declare if their products contain any SVHCs above a certain threshold concentration and provide information on the safe use of these substances. This information allows customers to make informed decisions about the potential risks associated with using the components and take appropriate measures to mitigate any hazards.Ensuring compliance with REACH SVHC requirements is essential for electronics manufacturers to meet regulatory standards, protect human health and the environment, and maintain transparency in their supply chain. It also demonstrates a commitment to sustainability and responsible manufacturing practices in the electronics industry.
No SVHC - Radiation Hardening
Radiation hardening is the process of making electronic components and circuits resistant to damage or malfunction caused by high levels of ionizing radiation, especially for environments in outer space (especially beyond the low Earth orbit), around nuclear reactors and particle accelerators, or during nuclear accidents or nuclear warfare.
No - RoHS Status
RoHS means “Restriction of Certain Hazardous Substances” in the “Hazardous Substances Directive” in electrical and electronic equipment.
ROHS3 Compliant - Lead Free
Lead Free is a term used to describe electronic components that do not contain lead as part of their composition. Lead is a toxic material that can have harmful effects on human health and the environment, so the electronics industry has been moving towards lead-free components to reduce these risks. Lead-free components are typically made using alternative materials such as silver, copper, and tin. Manufacturers must comply with regulations such as the Restriction of Hazardous Substances (RoHS) directive to ensure that their products are lead-free and environmentally friendly.
Lead Free
STLINKV2 Features
• 5 V power supplied by a USB connector
• USB 2.0 full speed compatible interface
• USB standard A to Mini-B cable
• SWIM specific features
– 1.65 V to 5.5 V application voltage supported on SWIM interface
– SWIM low-speed and high-speed modes supported
– SWIM programming-speed rate: 9.7 Kbytes/s in low speed and 12.8 Kbytes/s in
high speed
– SWIM cable for connection to the application via an ERNI standard vertical (ref:
284697 or 214017) or horizontal (ref: 214012) connector
– SWIM cable for connection to the application via a pin header or a 2.54 mm pitch
connector
• JTAG/serial wire debugging (SWD) specific features
– 1.65 V to 3.6 V application voltage supported on the JTAG/SWD interface and 5 V
tolerant inputs
– JTAG cable for connection to a standard JTAG 20-pin pitch 2.54 mm connector
– Supports JTAG communication
– Supports serial wire debug (SWD) and serial wire viewer (SWV) communication
• Direct firmware update feature supported (DFU)
• Status LED, which blinks during communication with the PC
• 1000 VRMS high isolation voltage (ST-LINK/V2-ISOL only)
• Operating temperature from 0 to 50 °C
STLINKV2 Development Tool Chains
STM8 microcontrollers
• IAR Systems - IAR Embedded Workbench®(1)
• STMicroelectronics - STVD-STM8(1)
• STMicroelectronics - STVP-STM8(1)
STM32 microcontrollers
• IAR Systems - IAR Embedded Workbench®(1)
• Keil® - MDK-ARM(1)
• STMicroelectronics - STM32CubeIDE
Connection with STM8
For development of applications based on STM8 microcontrollers, the ST-LINK/V2 can be
connected to the target board by two different cables, depending on the connector available
on the application board.
• SWIM flat ribbon with a standard ERNI connector at one end
• SWIM cable with two 4-pin, 2.54 mm connector or SWIM separate-wires cable
Connection with STM32
For development of applications based on STM32 microcontrollers the ST-LINK/V2 needs
to be connected to the application using the standard 20-pin JTAG flat ribbon provided.
The following table summarizes the signals names, functions, and target connection signals of the
standard 20-pin JTAG flat ribbon

STLINKV2 Manufacturer
STMicroelectronics is a global independent semiconductor company and is a leader in developing and delivering semiconductor solutions across the spectrum of microelectronics applications. An unrivaled combination of silicon and system expertise, manufacturing strength, Intellectual Property (IP) portfolio and strategic partners positions the Company at the forefront of System-on-Chip (SoC) technology and its products play a key role in enabling today's convergence trends.
Datasheet PDF
- Datasheets :
- Design Resources :
How do I download St-Link V2?
1.Download the latest ST-LINK/V2 driver. 2.Extract the archive and run either dpinst_amd64.exe or dpinst_x86.exe depending on whether you are on a 64-bit machine or 32-bit machine. Follow the displayed instructions. 3.You should now have successfully installed the ST-LINK/V2 driver.
AV101KE Through Hole Resistor: Datasheet, Application, Features30 July 2021939
Designing with PCA9306: Datasheet, Pinout, and I2C Level Translation Guide05 February 2026279
LTC3533 Converter: Pinout, Equivalent and Datasheet [FAQ & Video]27 May 2022424
PIC16F726EML Microcontroller by Microchip: Technical Analysis29 February 2024111
A Comprehensive Guide to LTC7840EFE#PBF DC DC Switching Controller06 March 2024120
TLP521-4XGBSM Optocoupler: Isocom, Datasheet, Applications [FAQ]12 January 2023723
SMBJ60CA TVs Diodes: System, Pinout, and Datasheet14 February 20222573
2N3055 Power Transistor: 2N3055 vs TIP3055, Pinout, and Datasheet15 September 202216628
What is a Baseband Processor?11 November 20217791
IOT-Based Anti-theft Handbag29 August 20237150
Role of Direct Memory Access in Modern Computing12 November 20244109
What are Types and Application of Gas Sensors?18 November 20259943
Dismantling and Analyzing Each Component in the Switching Power Supply16 February 20228027
Low-Power Design of Operational Amplifiers27 March 20256295
Reed Relays: 10 Key Applications in Modern Electronics04 July 20252465
Introduction to Potential Transformers21 September 202010450
STMicroelectronics
In Stock: 297
United States
China
Canada
Japan
Russia
Germany
United Kingdom
Singapore
Italy
Hong Kong(China)
Taiwan(China)
France
Korea
Mexico
Netherlands
Malaysia
Austria
Spain
Switzerland
Poland
Thailand
Vietnam
India
United Arab Emirates
Afghanistan
Åland Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antigua & Barbuda
Argentina
Armenia
Aruba
Australia
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bonaire, Sint Eustatius and Saba
Bosnia & Herzegovina
Botswana
Brazil
British Indian Ocean Territory
British Virgin Islands
Brunei
Bulgaria
Burkina Faso
Burundi
Cabo Verde
Cambodia
Cameroon
Cayman Islands
Central African Republic
Chad
Chile
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo (DRC)
Cook Islands
Costa Rica
Côte d’Ivoire
Croatia
Cuba
Curaçao
Cyprus
Czechia
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Eswatini
Ethiopia
Falkland Islands
Faroe Islands
Fiji
Finland
French Guiana
French Polynesia
Gabon
Gambia
Georgia
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guernsey
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
Indonesia
Iran
Iraq
Ireland
Isle of Man
Israel
Jamaica
Jersey
Jordan
Kazakhstan
Kenya
Kiribati
Kosovo
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macao(China)
Madagascar
Malawi
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Micronesia
Moldova
Monaco
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
North Korea
North Macedonia
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Authority
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn Islands
Portugal
Puerto Rico
Qatar
Réunion
Romania
Rwanda
Samoa
San Marino
São Tomé & Príncipe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Sint Maarten
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Sudan
Sri Lanka
St Helena, Ascension, Tristan da Cunha
St. Barthélemy
St. Kitts & Nevis
St. Lucia
St. Martin
St. Pierre & Miquelon
St. Vincent & Grenadines
Sudan
Suriname
Svalbard & Jan Mayen
Sweden
Syria
Tajikistan
Tanzania
Timor-Leste
Togo
Tokelau
Tonga
Trinidad & Tobago
Tunisia
Turkey
Turkmenistan
Turks & Caicos Islands
Tuvalu
U.S. Outlying Islands
U.S. Virgin Islands
Uganda
Ukraine
Uruguay
Uzbekistan
Vanuatu
Vatican City
Venezuela
Wallis & Futuna
Yemen
Zambia
Zimbabwe


Product
Brand
Articles
Tools
















