🎉 TriCore v6.3r1p10 available! We're happy to announce the public patch release of TASKING VX-toolset for TriCore v6.3r1p10. Contact us

SWAT: Period between two events is too long

27-Aug-2025

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.
  • Confirm that Cycle duration in Hardware | CPU Options | Analyzer is configured correctly. If the duration is too low, SWAT will incorrectly detect overflows.
  • 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


Was this answer helpful?