Contents
1.
INTRODUCTION ............................................................................................................................................ 5
1.1
T
RACE OVERVIEW
............................................................................................................................................. 5
1.2
QT
RACE SYSTEM CONNECTIONS
.......................................................................................................................... 5
1.3
S
UPPORTED
IDE
S
............................................................................................................................................. 6
1.4
S
UPPORTED TARGET DEVICES
.............................................................................................................................. 6
1.5
S
YSTEM REQUIREMENTS
.................................................................................................................................... 7
1.6
QT
RACE HARDWARE SPECIFICATION
..................................................................................................................... 7
1.7
T
ARGET CONNECTION
........................................................................................................................................ 8
1.8
R
ECOMMENDATIONS FOR
PCB
LAYOUT OF
T
RACE
S
IGNALS
...................................................................................... 8
1.9
F
RONT PANEL STATUS
LED ................................................................................................................................. 9
1.10
P
RECAUTIONS
.................................................................................................................................................. 9
2.
QTRACE ANALYSER OVERVIEW .................................................................................................................... 10
2.1
I
NSTALLATION
................................................................................................................................................ 10
2.2
QT
RACE
A
NALYSER LAYOUT
............................................................................................................................. 10
2.2.1
Drop-down menu and toolbar .............................................................................................................. 11
2.2.2
Status bar .............................................................................................................................................. 12
2.2.2.1
Taskbar icon .................................................................................................................................................. 12
2.2.3
Trace views ........................................................................................................................................... 12
3.
SOURCE VIEWER .......................................................................................................................................... 13
3.1
F
UNCTION TREE
-
VIEW
..................................................................................................................................... 13
3.2
S
OURCE FILE VIEW
.......................................................................................................................................... 13
3.2.1
Code coverage....................................................................................................................................... 14
3.2.2
Code coverage pause and clear ............................................................................................................ 16
3.2.3
Single stepping and execution count latency ........................................................................................ 16
3.2.4
Loop timing ........................................................................................................................................... 16
3.2.5
Execution heat map .............................................................................................................................. 16
3.2.6
Navigating to function implementations .............................................................................................. 17
3.2.7
Find text ................................................................................................................................................ 17
3.2.8
Find function from clipboard ................................................................................................................. 18
3.2.9
Source view bookmarks ........................................................................................................................ 18
3.3
ITM
DEBUGGING
........................................................................................................................................... 19
3.4
G
ENERAL
S
ETTINGS
........................................................................................................................................ 21
4.
TRACE CAPTURE .......................................................................................................................................... 22
4.1
T
RACE
C
APTURE
T
RIGGER
................................................................................................................................ 22
4.1.1
Trace Point ............................................................................................................................................ 23
4.2
T
RACE CAPTURE VIEW
..................................................................................................................................... 23
4.2.1
CPU instruction list view ....................................................................................................................... 24
4.2.2
Simple source view ................................................................................................................................ 24
4.2.3
Function timeline .................................................................................................................................. 25
4.2.3.1
Timeline controls .......................................................................................................................................... 25
4.2.3.2
Function pinning ........................................................................................................................................... 26
4.2.3.3
Timeline function search ............................................................................................................................... 26
4.2.3.4
Measuring timeline intervals ........................................................................................................................ 26
4.2.4
Find trace record ................................................................................................................................... 27
4.2.5
Go to source .......................................................................................................................................... 28
4.2.6
Trace record bookmarks ....................................................................................................................... 28
4.2.7
Instruction list-view context menu ........................................................................................................ 28
4.3
E
XCEPTION TRACE CAPTURE
.............................................................................................................................. 29
4.3.1
Problems setting exception handler trigger .......................................................................................... 30
5.
PROFILING ................................................................................................................................................... 31
5.1
CPU
TIMING
................................................................................................................................................. 33
6.
TRACE CONFIGURATION .............................................................................................................................. 34