下载
October 2013 DocID025194 Rev 1 1/19
UM1671
User manual
Getting started with STM32F401 Discovery
software development tools
Introduction
This document describes the software environment required to build an application around
the STM32F401 Discovery board (32F401CDISCOVERY), and provides some development
recommendations.
It provides guidelines to novice users on how to build and run a sample application, and
allows them to create and build their own application.
This document:
presents the toolchains supporting the STM32 families:
– IAR Embedded Workbench
®
for ARM (EWARM) by IAR Systems,
– Microcontroller Development Kit for ARM (MDK-ARM) by Keil™,
– TrueSTUDIO
®
by Atollic;
describes where to find the ST-LINK/V2 driver to be installed before starting coding on
any Integrated Development Environment;
describes step by step how to execute and debug an existing project with one of the
previously presented toolchains;
describes step by step how to create a new project with one of the toolchains from a
dummy project included in the firmware package;
provides helpful information on the advanced debugging capabilities of the Serial Wire
Viewer (SWV) asynchronous trace supported by ST-LINK. This feature is especially
useful when debugging certain tricky problems you may find during application
development.
This user manual cannot cover all the topics relevant to software development
environments, but it demonstrates the first basic steps necessary to get started with the
compilers/debuggers and provides links to the required documents to fully understand every
step.
www.st.com