SPRUJ79 November 2024 F29H850TU
Irrespective of which zone is executing code, trace values are always dumped when there is discontinuity. Only when memory is read back security restrictions apply. In a nutshell if application code is reading the trace memory, only the discontinuities stored for the zone from where code is executing is sent out and other are blocked. If the ZONE for which the discontinuity is stored is enabled for debug, then the trace memory is readable.
For example, if reads are initiated to the trace RAM by code originating from SROOT LINK, then all the entries present in the trace RAM are accessible, irrespective of which zone that discontinuity belonged to. Otherwise based on security permissions, either the discontinuity address is read if allowed or is zeroed out with the blocked status bit set.