Configure the device to record the trace information in SRAM. Configure the allocated size for
recording the program trace from this setting. The memory can be allocated in:
- Source code, allocating a global
array
- Linker scripts, reserving an
amount of the memory map
Select the memory size to be allocated for recording the program trace. The copy code snippet
displayed in the configuration window by clicking on the
CopyToClipBoard button and pasting it into your source code.
To enable the tracing capability, follow the instructions given in the dialog.
Figure 1. Trace Settings Window Through
Source Code
Note: If the linker script and the source
code are configured for trace, the linker script settings take higher precedence over
source code settings.
Figure 2. Trace Settings Window Through
Linker Script