Developing your STM32VLDISCOVERY application using the MDK-ARM.pdf
(
692 KB
)
Pobierz
Developing your STM32VLDISCOVERY application using the MDK-ARM software
UM0986
User manual
Developing your STM32VLDISCOVERY application
using the MDK-ARM software
Introduction
This document provides an introduction on how to use the MDK-ARM
TM
software
development toolchain (version 4.11 and later) with the STM32VLDiscovery board.
It provides novice users of the MDK-ARM tool-chain with some guidelines to build and run
the sample program provided with this document. This should provide them with the skills
required to create and build their own applications.
The DISCOVER project, referenced in this document, corresponds to the demo Flashed into
the STM32VLDISCOVERY board during production. The project is available within the
STM32VLDISCOVERY firmware package available at http://www.st.com/stm32vldiscovery.
Although this application note cannot show all the topics relevant to the MDK-ARM tool, it
demonstrates the first basic steps necessary to get started with the compiler/debugger.
September 2010
Doc ID 17877 Rev 1
1/18
www.st.com
Contents
UM0986
Contents
1
About MDK-ARM toolchain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2
Starting an existing MDK-ARM project . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3
Creating your first application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1
Source file management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2
Project options configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/18
Doc ID 17877 Rev 1
UM0986
About MDK-ARM toolchain
1
About MDK-ARM toolchain
The MDK-ARM is a window-based software development platform that combines a robust
and modern editor with a project manager and make facility tool. It integrates all the tools
needed to develop embedded applications including C/C++ compiler, macro assembler,
linker/locator, and an AXF file generator. MDK-ARM helps expedite the development
process of embedded applications by providing the following:
●
Full-featured source code editor.
●
Device Database
®
for configuring the development tool.
●
Project manager for creating and maintaining your projects.
●
Integrated Make Utility for assembling, compiling, and linking your embedded
applications.
●
Dialogs for all development environment settings.
●
True integrated source-level and assembler-level debugger with high-speed CPU and
peripheral simulator.
●
Advanced GDI interface for software debugging on target hardware and for connecting
to a Keil™ ULINK™ Debug adapter.
●
Flash programming utility for downloading the application program into Flash ROM.
●
Links to manuals, on-line help, device datasheets, and user guides.
Note:
For generic descriptions, please refer to the Getting Started Guide of uVision4 available
from Keil web site at the following link: http://www.keil.com/product/brochures/uv4.pdf
Doc ID 17877 Rev 1
3/18
Starting an existing MDK-ARM project
UM0986
2
Starting an existing MDK-ARM project
Installing the MDK-ARM toolchain (using the default settings) results in the toolchain being
installed in
C:\Keil
on the PC’s local hard disk. The installer creates a start menu uVision4
shortcut.
1. Open uVision4
TM
from the Start menu.
Figure 1
shows the names of the windows
referred to in this document.
Figure 1. MDK-ARM windows
Files window
Project window
Output window
4/18
Doc ID 17877 Rev 1
UM0986
Starting an existing MDK-ARM project
2. Select
Open Project...
from the Project menu.
Figure 2. Open project
3. Usingthe
Select Project File
dialog box, browse
and find the
DISCOVER.uvproj
Figure 3. Select the project
Doc ID 17877 Rev 1
5/18
Plik z chomika:
phill2k
Inne pliki z tego folderu:
stm32vldiscovery_package.zip
(1629 KB)
STM32VLDISCOVERY - User manual.pdf
(667 KB)
STM32VLDISCOVERY - Application note.pdf
(195 KB)
Developing your STM32VLDISCOVERY application using the MDK-ARM.pdf
(692 KB)
Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench.pdf
(526 KB)
Inne foldery tego chomika:
iNEMO
PRIMER1
PRIMER2
STM32Butterfly
STM32Butterfly 2
Zgłoś jeśli
naruszono regulamin