Trace Configuration
QT
RACE
-
U
SER
M
ANUAL
© 2018 PDQLogic Ltd.
QTrace User Manual Rev 1.01
Page 36
6.1.4
ROM size
Each manufacturer offers different ROM sizes and because the device definition files do not detail every
single device, ROM size has to be entered manually. The ROM start address and size are used by the
QTrace Analyser to determine if an address decoded from trace data is valid.
6.1.5
Trace clock divider
This is a value used by the target processor to divide its main clock to derive the trace clock. It is usually
fixed at /2 but a number of manufacturers allow the trace clock frequency to be reduced further. This
relieves the burden on the trace decoding hardware but risks causing in internal buffer overflow in the
target trace hardware module. It is recommended to use /2 where possible.
6.1.6
C++ project
If the ELF file was compiled from a C++ project then the resulting functions will be decorated. Select this
option to make function names more readable (i.e. to demangle them).
6.1.7
Save paths relative to configuration file
Select this option to save file paths relative to the configuration file folder. This will avoid the need for
modifying the configuration file if the IDE project location is changed.
6.1.8
Vector table address
This is the base address of the interrupt vector table and will be pre-populated with the default value
for the selected processor part. The ARM Cortex-M parts allow the vector table to be relocated which is
helpful for custom bootloaders. Having the correct vector table address allows the QTrace Analyser to
determine the address of interrupt handlers used by the profiling view, see section 5.
6.1.9
ELF file
The ELF file is key to debugging an application. It contains both the binary image and a range of
debugging information including the source files used, function names, address to source line mapping,
etc. It is recommended to build the ELF file with maximum debug information to give the most accurate
source level tracing information.
If the selected ELF file does not contain debug information then the following message will be displayed:
Figure 41 No debug information in ELF file
The above message details GCC compiler switches that can be used to build the project to include debug
information. Similar settings are available for other compilers.
Figure 42 below shows how to specify the debug switches in an Eclipse based IDE.