In some cases, CPU is not able to stream the trace data quickly enough which results in overflow errors. Errors are displayed in the Analyzer Output window and indicated in the Trace window with brown colored lines.
Configure Code Areas/Data Areas in the Analyzer Configuration / Profiler.
Set the options:
Make sure:
Enable the option Upload while sampling via View | Analyzer | Analyzer Configuration | Recorder.
Uncheck in the Analyzer Configuration dialog:
Increase Lane link speed in Hardware | CPU Options | Aurora.
If possible in Hardware | CPU Options | SoC:
An idle loop in the code constantly calls a function which returns immediately. Such programming generates excessive amounts of messages and prevents long recordings.
For example, instead of:
void Idle()
{
}
…
while(true)
{
Idle();
}
write:
while(true) { }
Limitations inside the CPUs also exist (e.g. on some CPU architectures only 1-bit Aurora is supported). Generated data can fill the internal buffer even before BlueBox is able to fetch the data from the CPU. It is necessary to find a balance between the accuracy of recorded data and how much information to record.
Refer to Trace overflows.