stm32_st_link_utility.pdf

(383 KB) Pobierz
STM32 ST-Link Utility
UM0892
User manual
STM32 ST-Link Utility
Introduction
The STM32 ST-Link Utility software facilitates fast In-System Programming of the STM32
microcontroller families in both development and production environments via the ST-Link
tool.
This is the STM32 ST-Link Utility user manual, describing its software functionality. When
working with the STM32 ST-Link Utility tool, you are encouraged to download the ST-Link
In-circuit debugger/programmer for STM8 and STM32 which provides more information
about the ST-Link tool.
February 2010
Doc ID 16987 Rev 2
1/14
274267780.005.png
Getting started
UM0892
1
Getting started
This section describes the requirements and procedures needed to install the STM32
ST-Link Utility software.
1.1
System requirements
The STM32 ST-Link Utility PC configuration requires as a minimum:
PC with USB port and Intel Pentium processor running a 32-bit Microsoft ® OS that
supports USB:
– Windows ® XP
– Windows 2000
– Windows 98SE
– Windows ME
32 MB RAM
10 MB hard disk space available
Note:
Windows 95, Windows 98 First Edition and NT4.0 ® do NOT support USB.
1.2
Hardware requirements
The STM32 ST-Link Utility is designed to work with:
low density, medium density, high density, connectivity line, value line STM32 devices,
an ST-Link.
1.3
Installing the STM32 ST-Link Utility
Follow these steps and the on-screen instructions to install the STM32 ST-Link Utility.
1. Download the compressed STM32 ST-Link Utility software from the ST website.
2. Extract the contents of the .zip file into a temporary directory.
3. Double-click the extracted executable, setup.exe , to initiate the installation, and follow
the on-screen prompts to install the STM32 ST-Link Utility in the development
environment. This executable installs all the necessary files for running the STM32 ST-
Link Utility.
Documentation for the utility is located in the subdirectory \Docs where the STM32 ST-
Link Utility is installed.
1.4
Uninstalling the STM32 ST-Link Utility
Follow these steps to uninstall the STM32 ST-Link Utility.
1. Select Start | Settings | Control Panel .
2. Doubleclickon Add or Remove Programs .
3. Select STM32 ST-Link Utility .
4. Click on the Remove button.
2/14
Doc ID 16987 Rev 2
274267780.006.png
UM0892
STM32 ST-Link Utility user interface
2
STM32 ST-Link Utility user interface
2.1
Main window
Figure 1. STM32 ST-Link Utility user interface main window
Title bar
Menu bar
Main window
Status bar
The main window is composed of three zones and three bars as illustrated in Figure 1 :
Memory display zone
Device information zone
Memory contents zone
Title bar: The name of the current menu.
Menu bar: Use the menu bar to access the following STM32 ST-Link Utility functions:
– File menu
– View menu
– Target menu
–lp mu
(These menus are described in more detail in Section 2.2 )
Status bar: The status bar displays:
– Connection status and debug interface.
–ie ID
The STM32 ST-Link Utility user interface also provides additional forms and descriptive
pop-up error messages.
Doc ID 16987 Rev 2
3/14
274267780.007.png
STM32 ST-Link Utility user interface
UM0892
2.2
Menu bar
The Menu bar allows users to execute the STM32 ST-Link Utility software features.
2.2.1
File menu
Figure 2. File menu
Open File
Opens a binary file.
Save File as… Saves the content of the memory panel into a binary file.
Close File
Closes the loaded binary file.
Exit
Closes the STM32 ST-Link Utility program.
2.2.2
View menu
Figure 3. View menu
Binary file
Displays the content of the loaded binary file.
Device memory Displays the content of the device memory.
4/14
Doc ID 16987 Rev 2
274267780.008.png 274267780.001.png 274267780.002.png
UM0892
STM32 ST-Link Utility user interface
2.2.3
Target menu
Figure 4. Target menu
Connect
Connects to the target device and displays the Device Type, Device ID
and the Flash size in the Device information zone.
Disconnect
Disconnects from target device.
Erase Chip
Performs a Flash mass erase and then displays the Flash memory
content in the memory panel.
Erase Sectors… Selects sector(s) to erase using the erase sector dialog window, erases
the sector(s) and display (See Section 3.3: Flash memory erase for
more details).
Program…
Loads a binary file into the device memory (Flash or RAM). To do this,
select a binary file, enter the start address (where to put the file in the
device) in the program dialog window and then click on program button
(see Section 3.4: Device programming ).
Program & Verify… Loads a binary file into the device memory (Flash or RAM) t hen
performs a verification of the programmed data.
Option Bytes… Opens the Option Bytes dialog window (See Section 3.5: Option bytes
configuration for more details).
MCU Core…
Opens the MCU Core dialog window (See Section 3.6: MCU core
functions for more details).
Settings...
Opens the Settings dialog box to select the debug interface (JTAG or
SWD).
Doc ID 16987 Rev 2
5/14
274267780.003.png 274267780.004.png
Zgłoś jeśli naruszono regulamin