
Hardware and software environment setup
UM2262
44/94
UM2262 Rev 6
7
Hardware and software environment setup
This section describes the hardware and software setup procedures.
7.1 Hardware
setup
To set up the hardware environment, one of the supported boards introduced in
General description on page 35
must be connected to a personal computer via a USB
cable. This connection with the PC allows the user:
•
Flashing the board
•
Interacting with the board via a UART console
•
Debugging when the protections are disabled
7.2 Software
setup
This section lists the minimum requirements for the developer to setup the SDK, run the
sample scenario, and customize applications.
7.2.1
Development toolchains and compilers
Select one of the Integrated Development Environments supported by the STM32Cube
Expansion Package.
Take into account the system requirements and setup information provided by the selected
IDE provider.
7.2.2
Software tools for programming STM32 microcontrollers
ST-LINK utility
STM32 ST-LINK Utility (STSW-LINK004) is a full-featured software interface for
programming STM32 microcontrollers. It provides an easy-to-use and efficient environment
for reading, writing and verifying a memory device.
Refer to the STSW-LINK004 STM32 ST-LINK Utility software on
www.st.com
.
Caution:
Make sure to use an up-to-date version of ST-LINK (V2.J29 or later).
STM32CubeProgrammer
STM32CubeProgrammer (STM32CubeProg) is an all-in-one multi-OS software tool for
programming STM32 microcontrollers. It provides an easy-to-use and efficient environment
for reading, writing and verifying device memory through both the debug interface (JTAG
and SWD) and the bootloader interface (UART and USB).
STM32CubeProgrammer offers a wide range of features to program STM32 microcontroller
internal memories (such as Flash, RAM, and OTP) as well as external memories.
STM32CubeProgrammer also allows option programming and upload, programming
content verification, and microcontroller programming automation through scripting.
STM32CubeProgrammer is delivered in GUI (graphical user interface) and CLI (command-
line interface) versions.