<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: i.MX8QXP debug trace options in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1216990#M168024</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer. However, we will not be using Linux. And when I was mentioning PCIe, I was not talking about sniffing the PCIe traffic but rather use the PCIe bus as a mean to export the tracing information generated inside the i.MX 8X SoC.&lt;/P&gt;&lt;P&gt;My question is not related to tools provided by NXP, but rather to understand the tracing capabilities at HW level of the SoC itself. Can you help on my initial questions?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Étienne&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 15:51:49 GMT</pubDate>
    <dc:creator>EAlepins</dc:creator>
    <dc:date>2021-01-19T15:51:49Z</dc:date>
    <item>
      <title>i.MX8QXP debug trace options</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1213415#M167946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i.MX8QXP (ARM Cortex-A35) has debug trace feature. However, I am a bit confused about:&lt;/P&gt;&lt;P&gt;1) The information tracing provides. Do you have a list? There is at least:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;profiling (functions duration and number of calls)&lt;/LI&gt;&lt;LI&gt;object code coverage&lt;/LI&gt;&lt;LI&gt;But is there other information as well? For example cache misses/hits; PMU data; other interconnect's traffic information; etc.?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;2) I think there are no external ETM pins to the SoC. Hence, I understood there were 2 means to output trace data:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;on-chip: store data to DDR (can it be stored elsewhere?)&lt;/LI&gt;&lt;LI&gt;off-chip: stream data outside of SoC. I saw on the Internet PCIe bus used for that. But does the i.MX 8X is limited to using that bus or any other would work?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;3) Does trace data pass by the central SoC interconnect (DRAM Block + Big Node) or is has a dedicated internal bus? If through the SoC interconnect, then I can't see how ETM tracing can be non-intrusive. There will be application performance degradation when tracing is enabled. Am I right? Do you have examples showing the percentage of interference obtained?&lt;/P&gt;&lt;P&gt;4) PCIe intrusivity: same question, but for off-chip tracing through PCIe. Trace data traffic going through PCIe will collide with applicative's PCIe data. Do you have examples showing interference? Or an applicative PCIe occupation threshold (X% PCIe bandwidth) below which adding PCIe trace has no significant impact?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Étienne&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 14:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1213415#M167946</guid>
      <dc:creator>EAlepins</dc:creator>
      <dc:date>2021-01-18T14:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP debug trace options</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1216791#M168004</link>
      <description>&lt;P&gt;Hi Étienne&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I asked internally and got below :&lt;/P&gt;
&lt;P&gt;------------------------&lt;/P&gt;
&lt;DIV id="bodyDisplay_1" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;For Linux BSP, we support&amp;nbsp;OProfile, which can be found from Linux BSP reference document:&lt;/P&gt;
&lt;P&gt;Chapter&amp;nbsp;2.6 OProfile.&lt;/P&gt;
&lt;P&gt;And in Linux BSP, we can use followed command to track the DDR loading:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;perf stat -I 1000 -a -e ddr0/read-cycles/,ddr0/write-cycles/,ddr0/cycles/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't have tools to track PCIE.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;------------------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 10:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1216791#M168004</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-19T10:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP debug trace options</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1216990#M168024</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer. However, we will not be using Linux. And when I was mentioning PCIe, I was not talking about sniffing the PCIe traffic but rather use the PCIe bus as a mean to export the tracing information generated inside the i.MX 8X SoC.&lt;/P&gt;&lt;P&gt;My question is not related to tools provided by NXP, but rather to understand the tracing capabilities at HW level of the SoC itself. Can you help on my initial questions?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Étienne&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 15:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1216990#M168024</guid>
      <dc:creator>EAlepins</dc:creator>
      <dc:date>2021-01-19T15:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP debug trace options</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1217647#M168059</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------&lt;/P&gt;
&lt;DIV id="bodyDisplay_1" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;DIV id="bodyDisplay_3" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;For the ARM core debug trace, I think the customer can check ARM&amp;nbsp;Technical Reference Manual, the hardware interface is the JTAG interface.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't seen special trace functions on iMX8X soc.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;------------------------&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 06:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1217647#M168059</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-20T06:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP debug trace options</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1217688#M168063</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can get in touch with Lauterbach, they have solutions to perform&amp;nbsp;&lt;SPAN&gt;ETM -&amp;gt; ETR -&amp;gt; PCIe -&amp;gt; external PowerTrace on i.MX8.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 07:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1217688#M168063</guid>
      <dc:creator>Aubineau_FAE</dc:creator>
      <dc:date>2021-01-20T07:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP debug trace options</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1219657#M168246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i.MX 8X trace functionality is described in Reference Manual (IMX8DQXPRM) §Chapter 6 "Debug Architecture" and §6.2.1 ETR and §6.2.2 ETM. So there is trace support in i.MX 8X.&lt;/P&gt;&lt;P&gt;What I am not able to find is the interference that ETM will cause in the i.MX 8X SoC:&lt;/P&gt;&lt;P&gt;- Are the trace information sent on the same interconnect as used by the rest of the SoC? (Cortex-A35, etc.) (i.e. on DB Ram and Big Node)&lt;/P&gt;&lt;P&gt;- Does NXP has experience or projects that showed how much PCIe interference the trace was causing? For example, using PCIe Gen 2,for a full SW running on 4 Cortex-A35 cores, how much % of the PCIe bandwidth is occupied by trace data? Or any other data you have giving me an idea of the order of magnitude of the performance drop caused by the trace.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Étienne&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 14:03:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-debug-trace-options/m-p/1219657#M168246</guid>
      <dc:creator>EAlepins</dc:creator>
      <dc:date>2021-01-22T14:03:41Z</dc:date>
    </item>
  </channel>
</rss>

