Hi!
I am using Ozone 3.10b and a STM32H743 @ 480MHz.
1)
I've set up ETF trace according to wiki.segger.com/STM32H7#Tracing_on_ST_STM32H743
In the trace settings dialog, I set the source to Trace Buffer, and CPU Frequency to 480000000.
When I do a for()-loop based delay of 4.54 microseconds (measured with an Oscilloscope), the timeline shows this as only 2 us.
When I hover over the delay function, it says "991 Instructions executed, 2064 ns".
2)
When I repeat the same test with my J-Trace and 4-Bit parallel trace, the timeline says "991 Instructions executed, 7312 ns" -- which is also wrong, and does not match the scope measurements.
What is the expected accuracy of the time measurements?
Is time measurement possible in ETF mode at all?
If not, I think the timeline should show instruction count on the X-Axis instead of time in ETF mode.
best regards,
Thomas
I am using Ozone 3.10b and a STM32H743 @ 480MHz.
1)
I've set up ETF trace according to wiki.segger.com/STM32H7#Tracing_on_ST_STM32H743
In the trace settings dialog, I set the source to Trace Buffer, and CPU Frequency to 480000000.
When I do a for()-loop based delay of 4.54 microseconds (measured with an Oscilloscope), the timeline shows this as only 2 us.
When I hover over the delay function, it says "991 Instructions executed, 2064 ns".
2)
When I repeat the same test with my J-Trace and 4-Bit parallel trace, the timeline says "991 Instructions executed, 7312 ns" -- which is also wrong, and does not match the scope measurements.
What is the expected accuracy of the time measurements?
Is time measurement possible in ETF mode at all?
If not, I think the timeline should show instruction count on the X-Axis instead of time in ETF mode.
best regards,
Thomas