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:
–
–
–
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.
October 2013
Getting started with STM32F401 Discovery
IAR Embedded Workbench
Microcontroller Development Kit for ARM (MDK-ARM) by Keil™,
®
TrueSTUDIO
by Atollic;
DocID025194 Rev 1
software development tools
®
for ARM (EWARM) by IAR Systems,
UM1671
User manual
www.st.com
1/19
Need help?
Do you have a question about the STM32F401 Discovery and is the answer not in the manual?
Questions and answers