(SWD) interfaces facilitate communication with any STM8 or STM32 microcontroller operating on an application board. In addition to providing the same functionalities of the ST-LINK/V2, the ST-LINK/V2-ISOL features digital isolation between the PC and the target application board. It also withstands...
ST-LINK/V2-ISOL In-circuit debugger/programmer with digital isolation a. The ST-LINK/V2 can communicate with targets operating below 3.3 V but generates output signals at this voltage level. STM32 targets are tolerant to this overvoltage. If some other components of the target board are sensible, use ST-LINK/V2-ISOL, STLINK-V3MINIE, or STLINK-V3SET with a B-STLINK-VOLT adapter to avoid the impact of overvoltage injection on the board.
Figure 3. They include (from left to right): • 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) •...
The ST-LINK/V2-ISOL provides one connector for the STM8 SWIM, STM32 JTAG/SWD, and SWV interfaces. Figure 4. ST-LINK/V2 (on the left) and ST-LINK/V2-ISOL (on the right) connectors 1. A = STM32 JTAG and SWD target connector 2. B = STM8 SWIM target connector 3.
4.1.1 Standard ERNI connection with SWIM flat ribbon Figure 5 shows how to connect the ST-LINK/V2 if a standard ERNI 4-pin SWIM connector is present on the application board. Figure 5. ERNI connector 1. A = Target application board with ERNI connector 2.
4.1.2 Low-cost SWIM connection Figure 7 shows how to connect the ST-LINK/V2 if a 4-pin, 2.54 mm, low-cost SWIM connector is present on the application board. Figure 7. Low-cost connection 1. A = Target application board with 4-pin, 2.54 mm, low-cost connector 2.
GROUND RESET RESET MCU RESET pin 1. The power supply from the application board is connected to the ST-LINK/V2 debugging and programming board to ensure signal compatibility between both boards. Figure 8. Target SWIM connector Table 3 summarizes the signal names, functions, and target connection signals using the separate-wires cable.
VDD (3.3 V) Not connected Not connected 1. The power supply from the application board is connected to the ST-LINK/V2 debugging and programming board to ensure signal compatibility between the boards. 2. Connect to GND for noise reduction on the ribbon.
Not connected Not connected Not connected 1. The power supply from the application board is connected to the ST-LINK/V2 debugging and programming board to ensure signal compatibility between the boards. 2. Connect to GND for noise reduction on the ribbon.
Hardware configuration UM1075 Figure 9 shows how to connect the ST-LINK/V2 to a target using the JTAG cable. Figure 9. JTAG and SWD connection 1. A = Target application board with JTAG connector 2. B = JTAG/SWD 20-wire flat cable 3.
TC2050-IDC or TC2050-IDC-NL (No legs) (10-pin cable) TC2050-CLIP retaining clip for use with TC2050-IDC-NL (optional) ST-LINK/V2 status LED The LED labeled COM on top of the ST-LINK/V2 shows the ST-LINK/V2 status (whatever the connection type). In detail: • The LED blinks red: the first USB enumeration with the PC is taking place •...
The ST-LINK/V2 embeds a firmware upgrade mechanism for in-place upgrades through the USB port. As the firmware can evolve during the life of the ST-LINK/V2 product (new functionality, bug fixes, support for new microcontroller families), it is recommended to visit periodically the dedicated pages on www.st.com...
UM1075 Schematics Schematics Figure 11. SWIM ST-LINK/V2 standard ERNI cable Target board (horizontal mount) STLINK/V2 board Note: The connector is located on the edge of the board Cable length 100mm Low cost female connector ST-LINK/V2 02 201 3047 male connector 02...
Added Note Table Added Note “For low-cost applications...” before Section 3.3: ST- LINK/V2 status LEDs on page 18-Oct-2012 Added Section 5.1: ST-LINK/V2 firmware upgrade on page 25-Mar-2016 Updated V value in Introduction and Features. Updated Table 4: JTAG/SWD cable connections and its footnotes.
Page 20
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgment.
Need help?
Do you have a question about the ST-LINK/V2 and is the answer not in the manual?
Questions and answers