Developing your STM32VLDISCOVERY application using the Atollic TrueSTUDIO.pdf

(544 KB) Pobierz
Developing your STM32VLDISCOVERY application using the Atollic TrueSTUDIO® software
UM0987
User manual
Developing your STM32VLDISCOVERY application
using the Atollic TrueSTUDIO® software
Introduction
This document provides an introduction on how to use the Atollic TrueSTUDIO ® software
development toolchain (version 1.4.0 and later) with the STM32VLDiscovery board.
It provides novice users of the Atollic TrueSTUDIO ® tool-chain some guidelines to build and
run the sample program provided with this document which demonstrates how 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 Atollic
TrueSTUDIO ® tool, it demonstrates the first basic steps necessary to get started with the
compiler/debugger.
October 2010
Doc ID 17878 Rev 2
1/22
www.st.com
434519256.002.png
Contents
UM0987
Contents
1
About Atollic TrueSTUDIO® toolchain . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2
Starting an existing Atollic TrueSTUDIO project . . . . . . . . . . . . . . . . . . 4
3
Creating your first application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2/22
Doc ID 17878 Rev 2
434519256.003.png
UM0987
About Atollic TrueSTUDIO® toolchain
1
About Atollic TrueSTUDIO® toolchain
It integrates all the tools needed to develop embedded applications and helps expedite the
development process of embedded applications by providing many features such as:
Powerful source code editor with many features like spell checking of C/C++
comments, word and code completion, content assist, parameter hints and code
templates.
Project manager that automates the task of creating a working project for an electronic
board or microcontroller device.
Integrated Make Utility functionality for assembling, compiling, and linking your
embedded applications.
True integrated source-level and assembler-level debugger with high-speed CPU.
Flash programming utility for downloading the application program into Flash ROM.
Productivity features such as a graphical file difference viewer, a programmer’s
calculator, an integrated MS/DOS console window and a batch file execution window.
Links to manuals, on-line help and user guides.
Atollic TrueANALYZER TM /STM32 product is available for professional code quality
analyzis of STM32 applications.
Note:
Atollic TrueSTUDIO ® /STM32 Professional version is available with a lot more capabilities.
Further information about Atollic TrueSTUDIO ® toolchain can be found at: www.atollic.com.
Doc ID 17878 Rev 2
3/22
Atollic TrueSTUDIO ® is an Eclipse based software development platform that includes a
highly optimizing C/C++ compiler, a state-of-the-art editor, and a professional debugger.
434519256.004.png
Starting an existing Atollic TrueSTUDIO project
UM0987
2
Starting an existing Atollic TrueSTUDIO project
After installing Atollic TrueSTUDIO®/STM32 on your computer, start the program by
performing the following steps:
1. Open the Microsoft Windows Start menu .
2. Clickon Programs .
3. Openthe Atollic folder.
4. Openthe TrueSTUDIO® STM32 product folder.
5. Click on the Atollic TrueSTUDIO® STM32 product name.
6. The programs starts and asks for the Workspace location. Browse to the folder that
contains the Value Line Discovery Demonstration TrueSTUDIO workspace located at
stm32vldiscovery_package\Project\Demo\TrueSTUDIO and click on OK .
Figure 1. Open workspace
4/22
Doc ID 17878 Rev 2
434519256.005.png
UM0987
Starting an existing Atollic TrueSTUDIO project
7. A Welcome window is then displayed. To start using Atollic TrueSTUDIO®, click on
Start using TrueSTUDIO .
Figure 2. Start using TrueStudio
Click here to continue
Doc ID 17878 Rev 2
5/22
434519256.001.png
Zgłoś jeśli naruszono regulamin