TN1235 Technical note

Similar documents
NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

NUCLEO-L433RC-P NUCLEO-L452RE-P

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

Description. July 2016 DocID Rev 2 1/6

Description. January 2019 DB2381 Rev 3 1/5

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features

EVLKSTCOMET10-1. STCOMET smart meter system-on-chip development kit. Features

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

Motor control power board based on the SLLIMM-nano 2 nd series

AN4782 Application note

How to upgrade the firmware on the STEVAL-USBC2DP USB Type-C to DisplayPort adapter

Dynamic Electro-Thermal simulator for VIPower products. Description

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

UM2495. High performance HF reader / NFC initiator IC software expansion for NUCLEO-8S208RB. User manual. Introduction

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

UM2343 Application note

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

UM2167 User manual. OrCAD PSpice model usage instructions

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

STSW-BNRGUI. BlueNRG GUI SW package. Data brief. Features. Description

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

AN4624 Application note

EVAL6494L. Demonstration board for L6494L gate driver. Description. Features

AN3354 Application note

UM1862 User manual. Getting started with STM32F411E Discovery software Development Tools. Introduction

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

32F746GDISCOVERY. Discovery kit with STM32F746NG MCU. Features. Description

UM2255 User manual. SPC58NG-DISP user manual. Introduction

STOD32W. 100 ma triple DC-DC converter for powering AMOLED displays. Applications. Features. Description

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band

AN4321 Application note

AN4045 Application note

Getting started with X-NUCLEO-LED16A1 16-channel LED driver expansion board for STM32 Nucleo

EVALSTGAP1AS. Demonstration board for STGAP1AS galvanically isolated single gate driver. Description. Features

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube

AN4777 Application note

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Power line communication expansion board based on ST7580 for STM32 Nucleo. Description

EMIF06-USD14F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Applications. Description. Features.

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

ST Payment Secure Solution Java Card platform with up to 100 Kbytes of user NVM for AMEX payment applications

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

UM2084 User manual. Getting started with the ultra-low-power STM32 and LoRa Nucleo pack. Introduction

AN2667 Application note

STEVAL-LDO001V1. Quad high performance LDO evaluation board based on LDBL20, LDLN025, LD39130S and STLQ020. Applications. Description.

EV-AUTO-LDOS. L5150GJ-L5300AH7-L4995AK Evaluation Board. Applications. Features. Description

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

AN4749 Application note

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

A scalable approach to your body, networking and security platforms. Description

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

AN5123 Application note

X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo

Getting started with the P-NUCLEO-IKA02A1 STM32 Nucleo pack for electrochemical toxic gas sensor expansion board with CO sensor

Transcription:

Technical note Overview of the ST-LINK embedded in STM32 MCU Nucleo, Discovery Kits and Eval Boards Introduction ST-LINK is an in-circuit debugger/programmer for ST microcontrollers. This technical note provides an overview of the ST-LINK versions embedded in the following development boards: STM32 MCU Nucleo, STM32 MCU Discovery Kits, STM32 MCU Eval Boards. ST-LINK and ST-LINK/V2 exist either embedded in development boards or as standalone hardware probes, that are connected to an external development board. Those two probes are not the focus of this technical note, that only describes the embedded ST-LINK versions. November 2016 DocID02276 Rev 1 1/ www.st.com

Overview of the ST-LINK versions TN1235 1 Overview of the ST-LINK versions 1.1 Brief history of the embedded ST-LINK versions There is several versions of the embedded ST-LINK because new functionalities have been incrementally added from the first version named ST-LINK. Here is a brief history of the incremental changes on the naming of the versions. The first two versions of the ST-LINK, embedded in ST discovery boards and in ST evaluation boards, are: the ST-LINK version the ST-LINK/V2 version A third version of the ST-LINK, the ST-LINK/V2-1 version, is an evolution of the ST-LINK/V2 version, adding the USB interface (mass storage interface and Virtual-COM-port) and enabling better control of the power management for the STM32 embedded in the application board. The ST-LINK/V2-1 is deployed on the most recent ST discovery boards, ST evaluation boards and ST Nucleo boards. Two others versions, derivatives of the ST-LINK/V2 version, have been implemented afterwards, in order to support some of the functionalities newly added with the ST-LINK/V2-1: the ST-LINK/V2-A version, for mass storage functionality. the ST-LINK/V2-B version, for mass storage and Virtual-COM-port. 1.2 ST-LINK USB interfaces The ST-LINK and the ST-LINK/V2 embed a unique interface (ST debug) with the USB. At power-on, the boards are in firmware-upgrade mode (also called DFU for "Device Firmware Upgrade ), allowing the firmware to be updated through the USB. Some commands allow to switch the ST-LINK from firmware-upgrade mode to STM8 debug mode or to STM32 debug mode (depending on firmware capacity), but there is no command to switch back to firmware-upgrade mode (a power cycle is required). ST-LINK/V2-1, ST-LINK/V2-A and ST-LINK/V2-B are composite USB devices presenting a mass storage interface and a virtual-com-port interface to the USB, in addition to the ST debug interface. They directly run their firmware at power-on. Firmware-upgrade mode is entered through a dedicated command managed by the ST-LINK upgrade applications. 2/ DocID02276 Rev 1

Overview of features 2 Overview of features For a given board (Nucleo, discovery and evaluation boards), the user manual is the reference document to know which version of the ST-LINK is embedded in the board. Below is the overview of the features supported by each of the ST-LINK versions. 2.1 The ST-LINK key features Here are the key features of the ST-LINK: 5V power supplied by USB connector. USB 2.0 full speed interface compatible. USB standard A to Mini-B cable provided. 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 rates of.7 K bytes/s in Low-speed, 12.8 Kbytes/s in Highspeed. SWIM cable for connection to an application with an ERNI standard connector vertical (ref: 28467 or 214017) or horizontal (ref: 214012). SWIM cable for connection to an application with pin headers or 2.54 mm pitch connector. JTAG/SWD specific features: 3 V to 3.6 V application voltage supported on JTAG/SWD interface and 5 V tolerant inputs. JTAG/SWD cable provided for connection to a standard JTAG 20-pin pitch 2.54 mm connector. Direct firmware update feature supported. Status LED which blinks during communication with PC. Operating temperature 0 to 50 C. 2.2 The ST-LINK/V2 key features Here are the key features of the ST-LINK/V2: 5V 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:.7 Kbytes/s in Low-speed and 12.8 Kbytes/s in Highspeed. SWIM cable for connection to the application via an ERNI standard vertical connector (ref: 28467 or 214017) or horizontal connector (ref: 214012). DocID02276 Rev 1 3/

Overview of features TN1235 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. JTAG supported. SWD and serial wire viewer (SWV) communication supported. Direct firmware update feature supported (DFU). Status LED which blinks during communication with the PC. Operating temperature 0 to 50 C. 1000 Vrms high isolation voltage (ST-LINK/V2-ISOL only). 2.3 The ST-LINK/V2-1 key features The changes versus the ST-LINK/V2 version are listed below. New features supported on the ST-LINK/V2-1: USB software re-enumeration. Virtual-COM-port interface on USB. Mass storage interface on USB. USB power management request for more than 100 ma power-on USB. Features not supported on the ST-LINK/V2-1: SWIM interface. Minimum supported application voltage depends on hardware implementation. For details, refer to the user manual of the board. 2.4 The ST-LINK/V2-A key features The changes versus the ST-LINK/V2 version are listed below. New features supported on the ST-LINK/V2-A: Virtual-COM-port interface on USB, under conditions: refer to the user manual of the board for details. Mass storage interface on USB. Features not supported on the ST-LINK/V2-A: SWIM interface. Minimum supported application voltage limited to 3 V. USB power management request for more than 100 ma power-on USB. 4/ DocID02276 Rev 1

Overview of features 2.5 The ST-LINK/V2-B key features The changes versus the ST-LINK/V2 version are listed below. New features supported on the ST-LINK/V2-B are: Virtual-COM-port interface on USB. Mass storage interface on USB. Features not supported on the ST-LINK/V2-B are: SWIM interface. Minimum supported application voltage limited to 3 V. USB power management request for more than 100 ma power-on USB. DocID02276 Rev 1 5/

Firmware naming rules TN1235 3 Firmware naming rules There is a multiplicity of ST-LINK firmwares, because of the multiplicity of hardware boards and functionalities. The firmware version gives an indication of supported functionalities, according to the following rules: V: major version ID. 1 for ST-LINK, 2 for ST-LINK/V2, ST-LINK/V2-1, ST-LINK/V2-A, ST-LINK/V2-B. J: version for STM32 debug interface (JTAG and SWD protocols). A value of 0 means that the interface is not supported (case of STM8 discovery boards). S: version for STM8 debug interface (SWIM protocol). A value of 0 means that the interface is not supported (case of some STM32 discovery and evaluation boards). M: version for mass storage + Virtual-COM-port interfaces. For example: V1J13S4 is a version for the ST-LINK standalone probe. V2J27S6 is a version for the ST-LINK/V2 standalone probe (STM32 and STM8 debug interfaces). V2J27S0 is a version for the 32F401CDISCOVERY board (STM32 debug interface, no STM8 debug interface, no mass storage interface and no Virtual-COM-port). V2J27M15 is a version for Nucleo boards and other ST-LINK/V2-1, ST-LINK/V2-A, ST- LINK/V2-B boards (STM32 debug interface, mass storage interface, Virtual-COM-port). The type of firmware is closely linked to the hardware; that is why for a given board it is not possible to change the type of firmware (from V2J27S6 to V2J27M15 for instance). It is just possible to update the version of the same type of firmware (V2J25M14 to V2J27M15 for instance). 6/ DocID02276 Rev 1

ST-LINK firmware upgrade 4 ST-LINK firmware upgrade ST-LINK firmware upgrade is possible through USB, thanks to two dedicated applications: STLinkUpgrade.exe: historical version for Windows. STLinkUpgrade.jar: java version for Windows, Linux and MacOS. Both applications contain the last version of all ST-LINK firmware types. They identify the connected board and they automatically select the corresponding firmware. Any issue or tentative of falsification, or both, during this phase may have unpredictable results, making the board arduously recoverable, or even at worst unusable. DocID02276 Rev 1 7/

Revision history TN1235 5 Revision history Table 1. Document revision history Date Revision Changes 16-Nov-2016 1 Initial release. 8/ DocID02276 Rev 1

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to 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 acknowledgement. Purchasers are solely responsible for the choice, selection, 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 by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2016 STMicroelectronics All rights reserved DocID02276 Rev 1 /