🎉 We're happy to announce new public releases 🎉

  • SmartCode v10.4r1 - Take advantage of all the benefits our tools have to offer and build your applications with the latest version
  • TriCore v6.3r1 Inspector v1.0r8 - Save time and detect known issues before they get into your application
Contact us to get access

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?