ST STLINK-V3SEGT Скачать руководство пользователя страница 19

UM2448 Rev 5

19/42

UM2448

STLINK-V3SET functional description

41

7.3.2 JTAG

JTAG protocol is a Debug/Program protocol used for STM32 microcontrollers. The signals 
are 3.3-volt compatible and can perform up to 21 MHz. This function is available on 
MB1441.CN1 and MB1440.CN1.CN2.

The STLINK-V3SET does not support the chaining of devices in JTAG (daisy chain).

For correct operation, the STLINK-V3SET microcontroller on the MB1441 board requires a 
JTAG return clock. By default, this return clock is provided through the closed jumper JP1 on 
MB1441, but could also be provided from externally through CN1.9 pin (this configuration 
might be necessary to reach high JTAG frequencies; in this case, JP1 on MB1441 must be 
opened). In case of use with the B-STLINK-VOLT extension board, the JTAG clock loopback 
must be removed from the STLINK-V3SET board (JP1 opened). For the correct functioning 
of JTAG, the loopback must be done either on the B-STLINK-VOLT extension board (JP1 
closed) or on the target application side.

7.3.3 SWIM

SWIM protocol is a Debug/Program protocol used for STM8 microcontrollers. JP4 and JP6 
on the MB1440 board must be ON in order to activate the SWIM protocol. The signals are 
available on the MB1440.CN4 connector and a voltage range from 1.65 V to 5.5 V is 
supported.

7.3.4 

Virtual COM port (VCP)

The serial interface VCP is directly available as a Virtual COM port of the PC, connected to 
STLINK-V3SET USB connector CN5. This function can be used for STM32 and STM8 
microcontrollers. The signals are 3.3-volt compatible and can perform from 720 bps to 
15 Mbps. This function is available on MB1441.CN1 and MB1440.CN1.CN3. T_VCP_RX (or 
RX) signal is the RX for the target (TX for the STLINK-V3SET), T_VCP_TX (or TX) signal is 
the TX for the target (RX for the STLINK-V3SET).

A second Virtual COM port may be activated, as detailed later in 

Section 7.3.5

 (Bridge 

UART).

7.3.5 Bridge 

functions

The STLINK-V3SET provides a proprietary USB interface allowing communication with any 
STM8 or STM32 target with several protocols: SPI, I

2

C, CAN, UART, and GPIOs. This 

interface may be used to communicate with the target bootloader, but may also be used for 
customized needs through its public software interface.

All bridge signals can be accessed on CN9 in a simple and easy way by means of wire clips, 
with the risk that signal quality and performance are lowered, especially for SPI and UART. 
This depends for instance on the quality of the wires used, on the fact that the wires are 
shielded or not, and on the layout of the application board.

Bridge SPI

SPI signals are available on MB1440.CN9 and MB1440.CN8. In order to reach high SPI 
frequency, it is recommended to use a flat ribbon on MB1440.CN8 with all unused signals 
tied to the ground on the target side.

Содержание STLINK-V3SEGT

Страница 1: ...nterfaces to several communication protocols allowing for instance the programming of the target through the bootloader The STLINK V3SET can provide a second Virtual COM port interface allowing the ho...

Страница 2: ...module for high performance 11 7 1 2 Adapter configuration for added functions 12 7 1 3 How to build the adapter configuration for added functions 13 7 2 Hardware layout 14 7 3 STLINK V3SET functions...

Страница 3: ...Drivers and firmware upgrade 30 11 3 STLINK V3SET frequency selection 30 11 4 Mass storage interface 30 11 5 Bridge interface 31 12 B STLINK VOLT board extension description 32 12 1 Features 32 12 2 C...

Страница 4: ...vision history 38 13 2 1 MB1440 38 13 2 2 MB1441 38 13 2 3 MB1598 38 13 3 Known limitations 39 13 3 1 MB1440 39 13 3 2 MB1441 39 13 3 3 MB1598 39 Appendix A Federal Communications Commission FCC 40 15...

Страница 5: ...C connector CN2 24 Table 8 Virtual COM port connector CN3 24 Table 9 SWIM connector CN4 24 Table 10 CAN connector CN5 25 Table 11 SWD wires connector CN6 25 Table 12 UART bridge connector CN7 26 Table...

Страница 6: ...MB1441 top layout 16 Figure 9 MB1441 bottom layout 16 Figure 10 MB1440 top layout 17 Figure 11 MB1441 mechanical drawing 17 Figure 12 MB1440 mechanical drawing 18 Figure 13 Firmware selection for a s...

Страница 7: ...low speed and high speed modes support Virtual COM port VCP specific features 3 V to 3 6 V application voltage support on the UART interface and 5 V tolerant inputs extended down to 1 65 V with the B...

Страница 8: ...any additional board provided separately refer to Table 1 a Arm is a registered trademark of Arm Limited or its subsidiaries in the US and or elsewhere Table 1 Ordering information Order code Board re...

Страница 9: ...the conventions used for the ON and OFF settings in the present document a macOS is a trademark of Apple Inc registered in the U S and other countries b All other trademarks are the property of their...

Страница 10: ...ntroller through one UART It provides bridge interfaces to several communication protocols allowing for instance the programming of the target through the bootloader To start using this board follow t...

Страница 11: ...nnect with wires or flat cables anywhere into the application This module is fully powered by the PC If the COM LED blinks red refer to the Overview of ST LINK derivatives technical note TN1235 for de...

Страница 12: ...t ribbons on page 28 See Figure 3 for connections Figure 3 Connections 7 1 2 Adapter configuration for added functions This configuration favors the connection to targets using wires or flat cables It...

Страница 13: ...onal description 41 7 1 3 How to build the adapter configuration for added functions See the operating mode below to build the adapter configuration from the main module configuration and back Figure...

Страница 14: ...n UFBGA package The hardware board pictures Figure 6 and Figure 7 show the two boards included in the package in their standard configurations components and jumpers Figure 8 Figure 9 and Figure 10 he...

Страница 15: ...UM2448 Rev 5 15 42 UM2448 STLINK V3SET functional description 41 Figure 7 Hardware board MB1440...

Страница 16: ...functional description UM2448 16 42 UM2448 Rev 5 Figure 8 MB1441 top layout Figure 9 MB1441 bottom layout 67 5 5HVHUYHG IRU V VWHP 5HVHW 67 1 86 LJK 6SHHG 0LFUR 9 QDEOH ULGJH 8 57 1 ULGJH 63 3 2V 670...

Страница 17: ...functional description 41 Figure 10 MB1440 top layout Figure 11 MB1441 mechanical drawing 9 3 6 0 HDGHU 1 1 1 1 6 HDGHU 9 RI 1 9 RI 1 9 RI 1 6 0 21 5 67 6 0 21 7 1 HDGHU 1 21 8 57 ULGJH 63 ULGJH ULGJ...

Страница 18: ...ion concerns the two boards MB1441 and MB1440 and indicates where to find the functions on the boards and connectors The main module for high performance only includes the MB1441 board The adapter con...

Страница 19: ...orted 7 3 4 Virtual COM port VCP The serial interface VCP is directly available as a Virtual COM port of the PC connected to STLINK V3SET USB connector CN5 This function can be used for STM32 and STM8...

Страница 20: ...being used With this firmware a second Virtual COM port is available and the mass storage interface used for Drag and drop flash programming disappears The firmware selection is reversible and is done...

Страница 21: ...ON Provide 5V power on connectors internal use JP3 OFF STLINK V3SET reset Can be used to enforce STLINK V3SET UsbLoader mode Table 4 MB1440 jumper configuration Jumper State Description JP1 Not used...

Страница 22: ...CN2 Legacy Arm 20 pin JTAG SWD IDC connector CN3 VCP CN4 SWIM CN5 bridge CAN CN6 SWD CN7 CN8 CN9 bridge Other connectors are reserved for internal use and are not described here 8 1 Connectors on MB1...

Страница 23: ...he CN2 connector allows the connection to an STM32 target in the JTAG or SWD mode Its pinout is listed in Table 7 It is compatible with the pinout of ST LINK V2 4 ID 5 GND GND Table 5 USB Micro B conn...

Страница 24: ...ut for STLINK V3SET 2 NC 3 NC 4 GND 2 2 At least one of these pins must be connected to the ground on the target side for correct behavior connecting all is recommended for noise reduction on the ribb...

Страница 25: ...are provided on a 2x5 pin connector with 1 27 mm pitch CN7 The related pinout is listed in Table 12 This connector provides CAN logic signals Rx Tx which can be used as input for an external CAN trans...

Страница 26: ...V3SET inputs for the target 4 CAN_TX 1 5 UART_RX 2 2 RX signals are inputs for STLINK V3SET outputs for the target 6 CAN_RX 2 7 UART_RTS 8 I2C_SCL 9 GND 10 Reserved 3 3 Do not connect on the target T...

Страница 27: ...3 10 I2C_SDA 20 UART_CTS 1 Do not connect on target 2 RX signals are inputs for STLINK V3SET outputs for the target 3 TX signals are outputs for STLINK V3SET inputs for the target Table 14 Bridge con...

Страница 28: ...Serial Wire Viewer SWV trace 7 T_JRCLK 3 NC 4 3 Optional loopback of T_JCLK on the target side required if loopback removed on the STLINK V3SET side 4 NC means not required for the SWD connection 8 T...

Страница 29: ...UM2448 Rev 5 29 42 UM2448 Mechanical information 41 10 Mechanical information Figure 15 MB1441 mechanical dimensions in millimeters...

Страница 30: ...SET frequency selection The STLINK V3SET can run internally at 3 different frequencies high performance frequency standard frequency compromising between performance and consumption low consumption fr...

Страница 31: ...following criteria the reset vector points to an address in the target flash area the stack pointer vector points to an address in any of the target RAM area If all these conditions are not respected...

Страница 32: ...atible with STLINK V3SET adapter board MB1440 for STM32 JTAG and bridge Operating temperature from 0 C to 50 C 12 2 Connection instructions 12 2 1 Closed casing for STM32 debug STDC14 connector only 1...

Страница 33: ...board extension description 41 Figure 16 Closed casing for STM32 debug STDC14 connector only The STDC14 CN1 connector on the B STLINK VOLT board replicates the STDC14 CN1 connector from the MB1441 bo...

Страница 34: ...mper from the MB1441 board and place it to the JP1 header of the MB1598 board 4 Put the plastic edge in place in order to guide the B STLINK VOLT board connection to the STLINK V3SET base board MB1441...

Страница 35: ...For connector description refer to Section 8 2 12 3 Selection of bridge GPIO direction The level shifter components on the B STLINK VOLT board require to manually configure the direction of bridge GP...

Страница 36: ...urn JTAG clock required for correct JTAG operations If the JTAG clock loopback is not done at the B STLINK VOLT board level through JP1 it must be done externally between pin 6 and pin 9 of CN1 12 5 T...

Страница 37: ...rd Refer to Section 8 1 2 for details 12 6 2 UART I2 C CAN bridge connector The UART I2 C CAN bridge CN7 connector on the MB1598 board replicates the UART I2 C CAN bridge CN7 connector from the MB1440...

Страница 38: ...n Any consequences deriving from such usage will not be at ST charge In no event ST will be liable for any customer usage of these engineering sample tools as reference designs or in production E or E...

Страница 39: ...40 None 13 3 2 MB1441 None 13 3 3 MB1598 Revision A 01 The target voltage cannot be provided through bridge connectors CN7 and CN8 while required for bridge functions The target voltage must be provid...

Страница 40: ...harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or t...

Страница 41: ...how Virtual COM ports are connected to target 20 Nov 2019 3 Added Second Virtual COM port chapter in Introduction Figure 13 in Section 8 3 5 Bridge UART and Figure 15 in the new section of Mechanical...

Страница 42: ...lection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted b...

Отзывы: