Executing and debugging firmware using a software toolchain
If you need to change your project settings (Include and preprocessor defines), simply go
through the project options:
For Include directories
Project>Options for Target > C/C++ > Include Paths
For pre-processor defines
Project>Options for Target > C/C++ > Preprocessor symbols > Define
5.
In the MDK-ARM IDE, from the Debug menu, select Start/Stop Debug Session or,
alternatively, click the Start/Stop Debug Session button the in toolbar, to program the
Flash memory and begin debugging.
6.
The MDK-ARM debugger can be used to debug source code at the C and assembly
levels, to set breakpoints, to monitor individual variables and to watch events during the
code execution.
To run your application, from the Debug menu, select Run. Alternatively, click the Run
button in the toolbar to run your application.
12/19
Figure 10. MDK-ARM Start/Stop Debug Session button
Figure 11. MDK-ARM debugger screen
DocID025194 Rev 1
UM1671
Need help?
Do you have a question about the STM32F401 Discovery and is the answer not in the manual?
Questions and answers