What is the diffrence between STM trace and ETM trace? please tell me some usecase ?
Hi,
ETM normally refers to some sort instruction/program trace and/or data trace. Different ETM macrocell implementations may offer different combinations of trace data.
STM tends to be used for instrumentation trace (something that the your software pushes into its buffer) or hardware events directly connected to the macrocell. It is meant as low intrusiveness way to get system visibility at higher level than ETM's instruction-level. It is a very versatile channel. Learn more at https://developer.arm.com/products/system-ip/coresight-debug-and-trace/coresight-components/system-trace-macrocell
DSTREAM can program and process both types of CoreSigh trace. You may want to check out https://developer.arm.com/products/software-development-tools/debug-probes-and-adapters/dstream
g