While recording trace using SWAT, the Profiler's Output window displays the
message: SWAT: Period between two events is too long.
This can happen if the application does not generate enough trace messages
or when the streamer does not sample the Target often enough to avoid
timestamp overflows.
Possible solutions
-
Disable SoC status during high priority in Hardware | Options | BlueBox | Services.
-
Disable or close all windows that might perform real-time updates, such as
Watch or SFRs windows.
-
Update one or both of these settings in iTCHI's swat section and then recompile the application with the updated
swat_config.h:
-
polling_interval - Change
from 1 to 0.
-
time_right_shift
- Increase the value to 5.
Increasing time_right_shift will slightly lower the accuracy of the
trace but should resolve the error.
More resources in winIDEA Help