<?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のトピックi.MX 6 Solo CPU software self-test.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-6-Solo-CPU-software-self-test/m-p/357100#M50028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I am working in a project with the i.MX 6 Solo and would like to implement software self-tests on the CPU that are specified by IEC 61508. &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Now IEC 61508 states that self-tests can be performed by writing/reading a walking-bit pattern to the registers of the CPU. The specific registers that are mentioned are:&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;data, address, instruction decoder.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;The problem is that I only have basic knowledge when it comes to CPU architecture, so would like to know how a test like this would be implemented. How do I know which registers that I need to write/read, and I guess that the tests need to be written i asm?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I know that some of the smaller and less advanced MCU’s have software libraries for these kinds of tests, but I have not found any for the i.MX 6 family. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;So any help is really appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Here's an excerpt from &lt;SPAN style="font-family: Calibri;"&gt;IEC 61508:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;“&lt;/SPAN&gt;&lt;EM style="color: #000000; font-size: 12pt;"&gt;&lt;STRONG&gt;Self-test by software&lt;/STRONG&gt;: walking bit (one-channel)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Aim&lt;/STRONG&gt;: To detect, as early as possible, failures in the physical storage (for example registers) &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;and instruction decoder of the processing unit.&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;: The failure detection is realised entirely by additional software functions which &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;perform self-tests using a data pattern (for example walking-bit pattern) which tests the &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;physical storage (data and address registers) and the instruction decoder. &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;However, the &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;diagnostic coverage is only 90 %.”&lt;/EM&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;/Daniel&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 08:54:18 GMT</pubDate>
    <dc:creator>danielwatson</dc:creator>
    <dc:date>2015-03-27T08:54:18Z</dc:date>
    <item>
      <title>i.MX 6 Solo CPU software self-test.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-6-Solo-CPU-software-self-test/m-p/357100#M50028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I am working in a project with the i.MX 6 Solo and would like to implement software self-tests on the CPU that are specified by IEC 61508. &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Now IEC 61508 states that self-tests can be performed by writing/reading a walking-bit pattern to the registers of the CPU. The specific registers that are mentioned are:&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;data, address, instruction decoder.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;The problem is that I only have basic knowledge when it comes to CPU architecture, so would like to know how a test like this would be implemented. How do I know which registers that I need to write/read, and I guess that the tests need to be written i asm?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I know that some of the smaller and less advanced MCU’s have software libraries for these kinds of tests, but I have not found any for the i.MX 6 family. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;So any help is really appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Here's an excerpt from &lt;SPAN style="font-family: Calibri;"&gt;IEC 61508:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;“&lt;/SPAN&gt;&lt;EM style="color: #000000; font-size: 12pt;"&gt;&lt;STRONG&gt;Self-test by software&lt;/STRONG&gt;: walking bit (one-channel)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Aim&lt;/STRONG&gt;: To detect, as early as possible, failures in the physical storage (for example registers) &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;and instruction decoder of the processing unit.&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;: The failure detection is realised entirely by additional software functions which &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;perform self-tests using a data pattern (for example walking-bit pattern) which tests the &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;physical storage (data and address registers) and the instruction decoder. &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;However, the &lt;/EM&gt;&lt;EM style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;diagnostic coverage is only 90 %.”&lt;/EM&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 8pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;/Daniel&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 08:54:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-6-Solo-CPU-software-self-test/m-p/357100#M50028</guid>
      <dc:creator>danielwatson</dc:creator>
      <dc:date>2015-03-27T08:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 6 Solo CPU software self-test.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-6-Solo-CPU-software-self-test/m-p/357101#M50029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.MX6 use Cortex-A9 core from arm (www.arm.com), regarding IEC 61508&lt;/P&gt;&lt;P&gt;seems Cortex-M3 is certified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arm.com/about/newsroom/20537.php" title="http://www.arm.com/about/newsroom/20537.php"&gt;ARM Enhances Feature Set of Popular Cortex-M3 Processor for&amp;#133; - ARM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not find similar info about Cortex-A9, probably it makes sense to contact&lt;/P&gt;&lt;P&gt;arm support &lt;A href="http://www.arm.com/support/index.php" title="http://www.arm.com/support/index.php"&gt;Support - ARM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding basic i.MX6 tests, such as read/write patterns to registers, one can&lt;/P&gt;&lt;P&gt;look at SDK &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;i.MX 6Series Platform SDK&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-6-Solo-CPU-software-self-test/m-p/357101#M50029</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-04-02T14:38:51Z</dc:date>
    </item>
  </channel>
</rss>

