<?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 MPC5777C STCU2 Offline BIST Result Cannot be Read in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546369#M22262</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have coded the STCU2 unit to offline test my MCU, however I am having issues with testing/understanding what is happening.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the records in the following excel picture.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DCF_RECORD_EXCEL.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198641iA80281B7AE2B7F35/image-size/large?v=v2&amp;amp;px=999" role="button" title="DCF_RECORD_EXCEL.PNG" alt="DCF_RECORD_EXCEL.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I can see that the desired values are written into the correct locations, such as :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicrosoftTeams-image.png" style="width: 406px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198642i90737EAD39E1E05B/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicrosoftTeams-image.png" alt="MicrosoftTeams-image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, when I check the EmbSys Registers tab on my S32DS ide, I found the following pictures, during pause and during run, respectively:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="During pause" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198643i8B88087A15C6296C/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicrosoftTeams-image (1).png" alt="During pause" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;During pause&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="During run" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198644iF0AE5F6E80296B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicrosoftTeams-image (2).png" alt="During run" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;During run&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As I stated, how can I test if this is working properly? Why do I get register values as zero during pause? As far as I understand from the reference manual, 0 mean an unrecoverable fault. How does MCU work if all tests return faults?&lt;/P&gt;&lt;P&gt;I must add that during DCF records, I have declared all faults as recoverable.&lt;/P&gt;&lt;P&gt;Thank you in advance for all your helps.&lt;/P&gt;&lt;P&gt;Best regards.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2022 14:58:19 GMT</pubDate>
    <dc:creator>marv_marsian</dc:creator>
    <dc:date>2022-10-31T14:58:19Z</dc:date>
    <item>
      <title>MPC5777C STCU2 Offline BIST Result Cannot be Read</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546369#M22262</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have coded the STCU2 unit to offline test my MCU, however I am having issues with testing/understanding what is happening.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the records in the following excel picture.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DCF_RECORD_EXCEL.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198641iA80281B7AE2B7F35/image-size/large?v=v2&amp;amp;px=999" role="button" title="DCF_RECORD_EXCEL.PNG" alt="DCF_RECORD_EXCEL.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I can see that the desired values are written into the correct locations, such as :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicrosoftTeams-image.png" style="width: 406px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198642i90737EAD39E1E05B/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicrosoftTeams-image.png" alt="MicrosoftTeams-image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, when I check the EmbSys Registers tab on my S32DS ide, I found the following pictures, during pause and during run, respectively:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="During pause" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198643i8B88087A15C6296C/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicrosoftTeams-image (1).png" alt="During pause" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;During pause&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="During run" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198644iF0AE5F6E80296B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicrosoftTeams-image (2).png" alt="During run" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;During run&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As I stated, how can I test if this is working properly? Why do I get register values as zero during pause? As far as I understand from the reference manual, 0 mean an unrecoverable fault. How does MCU work if all tests return faults?&lt;/P&gt;&lt;P&gt;I must add that during DCF records, I have declared all faults as recoverable.&lt;/P&gt;&lt;P&gt;Thank you in advance for all your helps.&lt;/P&gt;&lt;P&gt;Best regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546369#M22262</guid>
      <dc:creator>marv_marsian</dc:creator>
      <dc:date>2022-10-31T14:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C STCU2 Offline BIST Result Cannot be Read</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546704#M22264</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;As I stated, how can I test if this is working properly?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;BIST results are always present in STCU2 Error Register (STCU2_ERR_STAT)&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Why do I get register values as zero during pause?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not sure, this is debugger dependent. In other words, it depends on how it reads registers.&lt;/P&gt;
&lt;P&gt;But since STCU is accessible during debug mode, I see no reason for access to be denied.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;As far as I understand from the reference manual, 0 mean an unrecoverable fault. How does MCU work if all tests return faults?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;BIST will fail in such case. STCU will report to FCCU that faults happen and micro will react based on FCCU configuration.&lt;/P&gt;
&lt;P&gt;Or SW usually analyzes results of BIST and if BIST fails, SW will go into safe state (could be reset).&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:30:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546704#M22264</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2022-11-01T07:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C STCU2 Offline BIST Result Cannot be Read</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546723#M22265</link>
      <description>&lt;P&gt;Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13836"&gt;@petervlna&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, is there a debugger that you would recommend?&lt;/P&gt;&lt;P&gt;Also, is there a way to corrupt the device without breaking it, such as STCU2 will detect errors during offline test?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:55:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546723#M22265</guid>
      <dc:creator>marv_marsian</dc:creator>
      <dc:date>2022-11-01T07:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C STCU2 Offline BIST Result Cannot be Read</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546731#M22266</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using Lauterbach debugger.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Also, is there a way to corrupt the device without breaking it, such as STCU2 will detect errors during offline test?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not sure what is the purpose of this, as STCU was validated and tested in NXP factory for each chip.&lt;/P&gt;
&lt;P&gt;But you can inject faults when you play with voltage levels on your power supply during the test.&lt;/P&gt;
&lt;P&gt;In case you want to test only reaction path, then FCCU [NCFF] can can inject faults into ERR_STAT register of STCU.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 08:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-STCU2-Offline-BIST-Result-Cannot-be-Read/m-p/1546731#M22266</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2022-11-01T08:01:26Z</dc:date>
    </item>
  </channel>
</rss>

