<?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>i.MX ProcessorsのトピックRe: Set SPNIDEN from fuse?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257781#M24994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;I am indeed using the ETB (which by the way is 16KB on the I.MX6Q :smileyhappy: ), and I'm sure I configure all the CoreSight components correctly because I can get meaningful trace output. However, the trace output is limited to P0 (Linux user-space), whereas I also want trace from P1 (Linux kernel) in my buffer. The PTMs "ETMAUTHSTATUS" register informs me that Secure non-invasive debugging is not permitted, which is the reason the kernel trace is not generated and thus does not end up in the ETB. Documentation states that the "secure non-invasive debugging enable" bit is defined as (&lt;SPAN class="bold"&gt;&lt;STRONG&gt;SPNIDEN&lt;/STRONG&gt;&lt;/SPAN&gt; OR &lt;SPAN class="bold"&gt;&lt;STRONG&gt;SPIDEN&lt;/STRONG&gt;&lt;/SPAN&gt;) AND (&lt;SPAN class="bold"&gt;&lt;STRONG&gt;NIDEN&lt;/STRONG&gt;&lt;/SPAN&gt; OR &lt;SPAN class="bold"&gt;&lt;STRONG&gt;DBGEN&lt;/STRONG&gt;&lt;/SPAN&gt;). NIDEN and/or DBGEN are high, because non-secure non-invasive debugging is permitted (verified in the same ETMAUTHSTATUS register), so getting the SPNIDEN signal high should solve my problems.&lt;/P&gt;&lt;P&gt;I was hoping/assuming that SPNIDEN is controlled by a value in one of the fuses, but you claim it is not. Is there any way to control this signal from software?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 09:36:35 GMT</pubDate>
    <dc:creator>rspliet</dc:creator>
    <dc:date>2013-12-19T09:36:35Z</dc:date>
    <item>
      <title>Set SPNIDEN from fuse?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257779#M24992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sir/madam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long story short, on my board I want to trace my Linux kernel using Coresight. Unfortunately, to allow the PTMs to trace through the kernel, SPNIDEN (Secure PL1 Non-Invasive Debug ENable, see ARMv7 ARM p2075) must be set high. I would like to do so from the bootloader (eg. without a JTAG device attached), and I'm only guessing that this is a value controlled by a fuse. Is this true? And if so, what parameters do I need to override this fuse from U-Boot?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257779#M24992</guid>
      <dc:creator>rspliet</dc:creator>
      <dc:date>2013-12-12T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set SPNIDEN from fuse?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257780#M24993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The i.MX6 does not support SPNIDEN-related fuse or register field. &lt;/P&gt;&lt;P&gt;&amp;nbsp; Generally&amp;nbsp; it is recommended to use the ETB. In this mode you don't need to &lt;/P&gt;&lt;P&gt;configure ETM, IO pins and you don't need even special trace hardware: standard &lt;/P&gt;&lt;P&gt;JTAG signals are used. The trace is collected via JTAG. The disadvantage in this mode &lt;/P&gt;&lt;P&gt;is that the trace is not collected in real time and the maximal size of trace buffer is 4K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:52:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257780#M24993</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-12-19T08:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set SPNIDEN from fuse?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257781#M24994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;I am indeed using the ETB (which by the way is 16KB on the I.MX6Q :smileyhappy: ), and I'm sure I configure all the CoreSight components correctly because I can get meaningful trace output. However, the trace output is limited to P0 (Linux user-space), whereas I also want trace from P1 (Linux kernel) in my buffer. The PTMs "ETMAUTHSTATUS" register informs me that Secure non-invasive debugging is not permitted, which is the reason the kernel trace is not generated and thus does not end up in the ETB. Documentation states that the "secure non-invasive debugging enable" bit is defined as (&lt;SPAN class="bold"&gt;&lt;STRONG&gt;SPNIDEN&lt;/STRONG&gt;&lt;/SPAN&gt; OR &lt;SPAN class="bold"&gt;&lt;STRONG&gt;SPIDEN&lt;/STRONG&gt;&lt;/SPAN&gt;) AND (&lt;SPAN class="bold"&gt;&lt;STRONG&gt;NIDEN&lt;/STRONG&gt;&lt;/SPAN&gt; OR &lt;SPAN class="bold"&gt;&lt;STRONG&gt;DBGEN&lt;/STRONG&gt;&lt;/SPAN&gt;). NIDEN and/or DBGEN are high, because non-secure non-invasive debugging is permitted (verified in the same ETMAUTHSTATUS register), so getting the SPNIDEN signal high should solve my problems.&lt;/P&gt;&lt;P&gt;I was hoping/assuming that SPNIDEN is controlled by a value in one of the fuses, but you claim it is not. Is there any way to control this signal from software?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 09:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257781#M24994</guid>
      <dc:creator>rspliet</dc:creator>
      <dc:date>2013-12-19T09:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set SPNIDEN from fuse?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257782#M24995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try to configure security level register bits for ARM DAP in CSU of the i.MX6.&lt;BR /&gt;Please refer to Security Reference Manual for i.MX6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fpsp=1&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product" title="https://www.freescale.com/webapp/Download?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fpsp=1&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product"&gt;https://www.freescale.com/webapp/Download?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fpsp=1&amp;amp;Parent_nodeId=1337637…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Dec 2013 03:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257782#M24995</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-12-24T03:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set SPNIDEN from fuse?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257783#M24996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this pointer. I have tried setting the corresponding CSU bits, but unfortunately to no avail. The PTM-A9 still reports it is not authorised to produce trace when the core is in the "secure" (P1) state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 09:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257783#M24996</guid>
      <dc:creator>rspliet</dc:creator>
      <dc:date>2014-01-06T09:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set SPNIDEN from fuse?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257784#M24997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;The SPIDEN signal is an input to the ARM platform and that SPIDEN is driven by &lt;BR /&gt; the System JTAG Controller (SJC) in secure state. Please look at app note &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;AN4686 (Configuring Secure JTAG for the i.MX 6 Series Family of Applications &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Processors) about Secure JTAG.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/doc/eng_bulletin/AN4686.pdf"&gt;http://cache.freescale.com/files/32bit/doc/eng_bulletin/AN4686.pdf&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 07:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Set-SPNIDEN-from-fuse/m-p/257784#M24997</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-04-14T07:30:45Z</dc:date>
    </item>
  </channel>
</rss>

