-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracing with different TPIU baudrates yields different timestamps #137
Comments
Do we see this because state transitions between tracing instances? That is, are we supposed to power cycle the device each time? |
This is defenitely the case when using the system clock as the local timestamp clock. Timestamps of an initial exception trace packet wildly differ between resets. This should perhaps be expected? Iteratively tracing (not powercycling) when using the asynchronous TPIU clock is much more determined: I get the same |
4Mbps:
|
With a smaller prescaler more events are then considered to be back-to-back (no idle time) and insight into the exact timestamps of singular events are lost, but a higher throughput increased timestamp qualities are obtained. |
With the current implementation reported timestamps are different when
tpiu_baud
changes.With
tpiu_freq = 120000000
andtpiu_baud = 1000000
:With same
tpiu_freq
andtpiu_baud = 4000000
:One would expect timestamps to be the same. On the target, the only difference between the above is the prescaler register:
119
and29
, respectively.The text was updated successfully, but these errors were encountered: