User's Manual

Table Of Contents
For information about debugging and programming features refer to the ST-LINK/V2 in-circuit debugger/
programmer for STM8 and STM32 user manual (UM1075) available on www.st.com, which describes in details all
the ST-LINK/V2-1 features.
Figure 8 shows the ST-LINK USB Micro-B connector pinout.
Figure 8. ST-LINK USB Micro-B connector pinout MB1263/CN4
Table 11 describes the ST-LINK USB Micro-B connector pinout.
Table 11. ST-LINK USB Micro-B connector pinout MB1263/CN4
Pin Board function ST-LINK STM32 pin
1 VBUS Power -
2 DM PA11
3 DP PA12
4 ID GND
5 GND GND
Since the current consumption of the STM32MP157F-EV1 Evaluation board exceeds the permissible current on
the USB, it is not possible to power the board through the ST-LINK/V2-1 USB. To use the ST-LINK/V2-1 for
programming and debugging, it is mandatory to power the board first using the 5 V power supply, then connect
the ST-LINK/V2-1 USB cable to the PC. Proceeding this way, the USB enumeration succeeds with the support of
the external power source.
The user must respect the following power sequence procedure:
1. Check that MB1263/JP1 is OFF, MB1263/JP4 [2-3] and JP5 [2-3] are ON to connect UART4 as ST-
LINK VCP.
2. Connect the 5 V power source, MB1263/LD1 LED turns green, MB1263/LD6 LED flashes red.
3. Connect the PC to USB connector MB1263/CN4, MB1263/LD6 LED is red and becomes green once the
connection with the ST-LINK is established.
6.7.1 Drivers
The ST-LINK/V2-1 requires a dedicated USB driver, which, for Windows 7
®
, Windows 8
®
and Windows 10
®
, is
found at www.st.com.
In case the STM32MP157F-EV1 Evaluation board is connected to the PC before the driver is installed, some of
its interfaces may be declared as “Unknown” in the PC device manager. In this case, the user must install the
dedicated driver files, and update the driver of the connected device from the device manager as shown in
Figure 9.
Note: Prefer using the USB Composite Device handle for a full recovery.
UM2648
Embedded ST-LINK/V2-1
UM2648 - Rev 1
page 16/61