Atollic_TrueSTUDIO_STM32_QuickstartGuide.pdf
(
1151 KB
)
Pobierz
417225818 UNPDF
Quickstart Guide
for STM32
Copyright Notice
C
OPYRIGHT
N
OTICE
© Copyright 2009-2010 Atollic AB. All rights reserved. No part of this document may be reproduced
or distributed without the prior written consent of Atollic AB. The software product described in this
document is furnished under a license and may only be used or copied according to the terms of
such a license.
T
RADEMARK
Atollic and
Atollic TrueSTUDIO
and the Atollic logotype are trademarks or registered trademarks
owned by Atollic. ECLIPSE™ is a registered trademark of the Eclipse foundation. All other product
names are trademarks or registered trademarks of their respective owners.
D
ISCLAIMER
The information in this document is subject to change without notice and does not represent a
commitment of Atollic AB. The information contained in this document is assumed to be accurate,
but Atollic assumes no responsibility for any errors or omissions. In no event shall Atollic AB, its
employees, its contractors, or the authors of this document be liable for any type of damage, losses,
costs, charges, claims, demands, claim for lost profits, fees, or expenses of any nature or kind.
D
OCUMENT
I
DENTIFICATION
TS-QSG-STM32
June 2010
R
EVISION
First version
October 2009
Second version
January 2010 - Updated the “Starting the debugger”section
Third revision
April 2010 – Revised debug configuration & launch system
Fourth revision
June 2010 – Updated“Configuringtheproject”sectionwith“Targetsettings”
Fifth revision
September 2010 – TrueANALYZER added
Atollic AB
Science Park
Gjuterigatan 9
SE- 553 18 Jönköping
Sweden
+46 (0) 36 19 60 50
www.atollic.com
ii |
P a g e
List of Contents
Contents
Introduction ............................................................................... 6
Who Should Read This Guide................................................................... 6
Document Conventions ........................................................................... 6
Typographic Conventions ........................................................................ 6
Section 1.
Getting started ........................................................ 7
Before you start....................................................................................... 8
Workspaces & projects ................................................................................. 8
Perspectives & views..................................................................................... 9
Starting the program ............................................................................. 12
Creating a new project .......................................................................... 14
Configuring the project.......................................................................... 18
Building the project ............................................................................... 22
Build ............................................................................................................22
Rebuild all ....................................................................................................22
Debugging ............................................................................................. 24
Starting the debugger ..................................................................................24
Debugging....................................................................................................28
Stopping the debugger.................................................................................29
Section 2.
Code coverage analysis ......................................... 32
Introduction .......................................................................................... 33
Why perform Code coverage analysis?.........................................................33
Different types of analysis ............................................................................33
Statement coverage ...................................................................... 33
Function coverage ......................................................................... 34
Function call coverage ................................................................... 34
Decision coverage ......................................................................... 34
iii |
P a g e
List of Contents
Condition coverage ....................................................................... 34
Condition/Decision coverage......................................................... 34
Modified Condition/Decision coverage.......................................... 34
Tool support ................................................................................................35
Performing code coverage analysis........................................................ 37
Preparations ................................................................................................37
Starting code coverage analysis....................................................................38
iv |
P a g e
List of Figures
Figures
Figure 1 - Workspaces and projects............................................................. 9
Figure 2 - Switch to another perspective ................................................... 10
Figure 3 - Switch to another perspective ................................................... 10
Figure 4 - Show View menu command ...................................................... 11
Figure 5 - Show View dialog box ................................................................ 11
Figure 6 - Workspace launcher .................................................................. 12
Figure 7- Welcome .................................................................................... 13
Figure 8 - Welcome menu command......................................................... 13
Figure 9 - Starting the project wizard ........................................................ 14
Figure 10 - C project .................................................................................. 14
Figure 11 - TrueSTUDIO® Build Settings ..................................................... 15
Figure 12 - TrueSTUDIO® Debug Settings................................................... 15
Figure 13 - Select Configurations ............................................................... 16
Figure 14 - Project Explorer view ............................................................... 16
Figure 15 - Editing ..................................................................................... 17
Figure 16 - Project properties menu command ......................................... 18
Figure 17 - Project properties dialog box ................................................... 19
Figure 18 - Project properties dialog box ................................................... 19
Figure 19 - Project properties dialog box ................................................... 20
Figure 20 - Project properties dialog box ................................................... 21
Figure 21 - Build automatically menu command........................................ 22
Figure 22 - Build toolbar button ................................................................ 22
Figure 23 - Build console ........................................................................... 22
Figure 24 - Clean project ........................................................................... 23
Figure 25 - Clean project dialog box .......................................................... 23
Figure 26 - Build console ........................................................................... 23
Figure 27 - Start the debug session............................................................ 24
Figure 28 - Debug configuration dialog box ............................................... 25
Figure 29 - Debug configuration dialog box ............................................... 26
Figure 30 - Debug configuration dialog box ............................................... 26
Figure 31 – Debug perspective .................................................................. 27
Figure 32 - Run menu ................................................................................ 28
Figure 33 - Run control toolbar.................................................................. 28
Figure 34 - Toggle breakpoint.................................................................... 29
iv |
P a g e
Plik z chomika:
phill2k
Inne pliki z tego folderu:
TrueSTUDIO_for_STMicroelectronics_STM32_Lite_win32_v2.2.0_20110927-1133.exe
(259806 KB)
TrueSTUDIO_STM32_Lite_win32_v2.1.0_20110503-1026.exe
(250594 KB)
TrueSTUDIO_STM32_Lite_win32_v2.0.1_20110128-1032.exe
(226972 KB)
TrueSTUDIO_STM32_Lite_win32_v1.4.0_20100624-1315.exe
(178973 KB)
Atollic_TrueSTUDIO_STM32_QuickstartGuide.pdf
(1151 KB)
Inne foldery tego chomika:
CooCox
Keil
Ride 7
STM Studio Debugger
System Workbench for STM32 (AC6)
Zgłoś jeśli
naruszono regulamin