.. _AT.JetsonLinuxDevelopmentTools.DebuggingOnJetsonPlatforms: .. include:: /content/swdocs.rsts .. spelling:: CoreSight Perfmon uncore Uncore debuggable Debugging on Jetson Platforms !!!!!!!!!!!!!!!!!!!!!!!!!!!!! |NVIDIA(r)| |Jetson(tm)| devices support debugging tools that allow Jetson application developers to put the processor into known states and trace its behavior while running. Use these tools to debug software you have developed using NVIDIA Jetson Board Support Package (BSP). The Jetson architecture’s debugging support provides: * Reduced power leakage * Enhanced security * Availability of standard interfaces This topic describes the debuggable blocks, their debugging strategies, and the software implementation of the hardware and software features in the Technical Reference Manuals (TRMs) for Jetson processors. Use the appropriate TRM as your primary source for information and debugging. .. todo:: Orin tbd. - For |NVIDIA(r)| |Jetson Xavier(tm) NX| series and |NVIDIA(r)| |Jetson AGX Xavier(tm)| series processors: `Xavier Series (SoC) Technical Reference Manual `_ Debugging Improvements @@@@@@@@@@@@@@@@@@@@@@ The following table describes improvements in debugging features for Jetson devices. .. raw:: html :file: DebuggingOnJetsonPlatforms/DebuggingImprovements.htm CoreSight Trace Sinks ETF and ETR @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ The following table describes ARM\ |reg| CoreSight\ |tm| trace sink characteristics for Jetson processors. These characteristics include the corresponding Embedded Trace FIFO (ETF), ETR, and USB limits. .. raw:: html :file: DebuggingOnJetsonPlatforms/CoreSightTraceSinks.htm AMBA Trace ID (ATID) Mapping @@@@@@@@@@@@@@@@@@@@@@@@@@@@ The following tables describe mapping for ARM AMBA Trace ID (ATID). When collecting trace from multiple sources, the trace sinks (ETF and ETR) use ATIDs to segregate trace data. .. todo:: Orin tbd .. raw:: html :file: DebuggingOnJetsonPlatforms/AmbaXavier.htm Uncore: Performance Monitor Unit @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ **Applies to**: Jetson AGX Xavier series and Jetson NX series only Several functional units on the T194 CCPLEX (e.g., the SCF and the L2) are outside the cores. These units are collectively referred to as the uncore. Some of them report uncore performance events and event counters, which are not counted by the core performance counters of the core’s Performance Monitor Unit (PMU). The NVIDIA Uncore Perfmon Extension to the ARM\ |reg| Performance Monitor Extension (also called “Uncore Perfmon”) allows ARM software to access its performance counters. The Uncore Perfmon Extension is designed to resemble the standard ARM Performance Monitor Extension as much as possible. You can download `ARM PMU documentation `_ from the Linux Kernel Archives. Device-Specific Features and Limitations ######################################## This section describes features and limitations of Uncore Perfmon on specific NVIDIA Jetson systems on chip (SoCs). .. todo:: Orin tbd - For T194 modules (Jetson Xavier NX series and Jetson AGX Xavier series): - Uncore Perfmon events are supported for all cores and clusters. - For more information about using the counters, see the kernel documentation within source code at:: /Documentation/devicetree/bindings/platform/tegra/nvidia,carmel-pmu.txt