Hello!
I have a few questions about using ETM trace on the STM32H743ZI.
I'm using Ozone v2.60g with a J-Trace PRO Cortex V2.0 connected over USB 3.
It took me several hours to get the ETM trace working at all.
After a lot of trial and error, I found the "ST_STM32H743_Traceconfig.pex" file in a .zip File linked on wiki.segger.com/Tracing_on_ST_…H7_Trace_Reference_Board))
1) What does the "pex" file do?
I didn't find this documented anywhere in the Ozone or J-Trace manual.
Can I have the source code for the file?
Will this be integrated in a future Ozone release?
(STM32F4 worked out-of-the box as expected, will this be possible for H7, too?)
1b) What is the license? Can I include and distribute it in my project?
2) My application needs to run at 400 MHz core clock.
Will I be able to trace at full speed?
3) What is the maximum trace speed?
According to wiki.segger.com/Tracing_on_ST_STM32H743, the trace clock can be set to "400/6 MHz".
Where can I make this setting in Ozone?
Or is this hardcoded in the pex File?
4) What are the implications of using a Trace clock < Core clock?
Will the CPU stall while waiting for the ETM?
Will performance analysis and code coverage work?
5) What are the layout guidelines for maximum ETM speed?
Length matching and short-as-possible is obvious.
Do I need series resistors?
6) As I understand, the STM32H7 SEGGER demo board only achieves 133 MHz ETM clock?
Is this a limit of the JTrace, the STM32H7 or the Board layout?
It would be nice if these points could be addressed more clearly in the documentation.
best regards,
Thomas Kindler
I have a few questions about using ETM trace on the STM32H743ZI.
I'm using Ozone v2.60g with a J-Trace PRO Cortex V2.0 connected over USB 3.
It took me several hours to get the ETM trace working at all.
After a lot of trial and error, I found the "ST_STM32H743_Traceconfig.pex" file in a .zip File linked on wiki.segger.com/Tracing_on_ST_…H7_Trace_Reference_Board))
1) What does the "pex" file do?
I didn't find this documented anywhere in the Ozone or J-Trace manual.
Can I have the source code for the file?
Will this be integrated in a future Ozone release?
(STM32F4 worked out-of-the box as expected, will this be possible for H7, too?)
1b) What is the license? Can I include and distribute it in my project?
2) My application needs to run at 400 MHz core clock.
Will I be able to trace at full speed?
3) What is the maximum trace speed?
According to wiki.segger.com/Tracing_on_ST_STM32H743, the trace clock can be set to "400/6 MHz".
Where can I make this setting in Ozone?
Or is this hardcoded in the pex File?
4) What are the implications of using a Trace clock < Core clock?
Will the CPU stall while waiting for the ETM?
Will performance analysis and code coverage work?
5) What are the layout guidelines for maximum ETM speed?
Length matching and short-as-possible is obvious.
Do I need series resistors?
6) As I understand, the STM32H7 SEGGER demo board only achieves 133 MHz ETM clock?
Is this a limit of the JTrace, the STM32H7 or the Board layout?
It would be nice if these points could be addressed more clearly in the documentation.
best regards,
Thomas Kindler
The post was edited 3 times, last by thomask77 ().