| |||
| Home > Tracing Dynamically-loaded Images > Hardware support for context ID | |||
ETM10 outputs the variable-length context ID value whenever trace is enabled, and as part of the periodic synchronization packet. This enables the current context ID value to be passed to the debugger. You can also filter out unwanted trace based on the current context ID using programmable trigger resources (see the Embedded Trace Macrocell Specification).
To support tracing when only a partial binary image is available, the ETM10 compression protocol maintains synchronization even as the ETM branches into unknown code regions. Trace is decompressable again immediately after jumping back into a region for which the code image is available.