<?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: S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread) in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698932#M25760</link>
    <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;The answers to your questions are summarized below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you, please, be more specific what global variable do you mean?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this variable SCST related or not?&lt;BR /&gt;-&amp;gt;&lt;BR /&gt;No. The declared global variable is not related to the variables below.&lt;BR /&gt;&lt;BR /&gt;m4_scst_accumulated_signature&lt;BR /&gt;m4_scst_last_executed_test_number&lt;BR /&gt;m4_scst_test_was_interrupted&lt;BR /&gt;m4_scst_fault_inject_test_index&lt;BR /&gt;&lt;BR /&gt;I confirmed that all SCST passes, and I declared a global variable while running the user code application, but SCST fails from this point on.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Is this variable used by the same core on which SCST is executed?&lt;BR /&gt;-&amp;gt; No.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A : Could this be related to the manual's customSection guide?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 23:15:07 GMT</pubDate>
    <dc:creator>sungjun</dc:creator>
    <dc:date>2023-08-03T23:15:07Z</dc:date>
    <item>
      <title>S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread)</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1677816#M24524</link>
      <description>&lt;P&gt;Hi. NXP Team.&lt;/P&gt;&lt;P&gt;I am struggling with Index 11(m4_scst_exception_test_handler_thread) of the SCST Test.&lt;/P&gt;&lt;P&gt;The m4_scst_exception_test_handler_thread will throw a hardFault_Handler as shown in Figure 1 when tested with the trace32 debugger attached.&lt;/P&gt;&lt;P&gt;&amp;lt;Figure 1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sungjun_1-1687949493475.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229844iB624D4EC636A663C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sungjun_1-1687949493475.png" alt="sungjun_1-1687949493475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But if I remove the debugger it works fine.&lt;BR /&gt;(The expected Test Reference Signature is output.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sungjun_0-1687949461904.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229843i353FB6D27D272EEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sungjun_0-1687949461904.png" alt="sungjun_0-1687949461904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I removed the debugger and did m4_scst_execute_core_tests(0,43).&lt;BR /&gt;But the test result is failure.&lt;/P&gt;&lt;P&gt;(If core_test is performed one by one without a debugger, normal signatures are output.)&lt;/P&gt;&lt;P&gt;In my opinion, the single test works fine.&lt;BR /&gt;But when I run the tests consecutively, Index 11 of the m4_scst_execute_core_tests seems to fail.&lt;/P&gt;&lt;P&gt;Please refer to Figure 2.&lt;/P&gt;&lt;P&gt;&amp;lt;Firgure 2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sungjun_2-1687949880664.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229847i700098CA7F59E1C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sungjun_2-1687949880664.png" alt="sungjun_2-1687949880664.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sungjun_3-1687949899562.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229848iB397DBF01DB406CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sungjun_3-1687949899562.png" alt="sungjun_3-1687949899562.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to test.&lt;BR /&gt;I would like to ask for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 10:58:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1677816#M24524</guid>
      <dc:creator>sungjun</dc:creator>
      <dc:date>2023-06-28T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread)</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1690523#M25297</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;first, please, what product version do you use? Most probably, it is 1.0.4 version which is relatively old. The newest version is 1.0.10, would it possible to migrate to it?&lt;/P&gt;
&lt;P&gt;The described behavior might be because the FORCED flag is tied down by the debugger. Unfortunately, this feature complicates debugging of M4 SCST Library. The only possibility for debugging is to set the breakpoint just after the HFSR register is read.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 15:28:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1690523#M25297</guid>
      <dc:creator>martinkaspar-r3</dc:creator>
      <dc:date>2023-07-21T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread)</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698107#M25723</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;Currently using the old version, and ordering the new version.&lt;BR /&gt;The debugger issue you described has now been resolved.&lt;/P&gt;&lt;P&gt;But I have another problem.&lt;BR /&gt;Core test fails as global variable is added.&lt;BR /&gt;Can you give me some advice on this?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 01:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698107#M25723</guid>
      <dc:creator>sungjun</dc:creator>
      <dc:date>2023-08-03T01:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread)</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698616#M25749</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you, please, be more specific what global variable do you mean?&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is this variable SCST related or not?&lt;/LI&gt;
&lt;LI&gt;Is this variable used by the same core on which SCST is executed?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note, that SCST provides 4 global variables, please see SCST User Manual for more details:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;m4_scst_accumulated_signature&lt;/LI&gt;
&lt;LI&gt;m4_scst_last_executed_test_number&lt;/LI&gt;
&lt;LI&gt;m4_scst_test_was_interrupted&lt;/LI&gt;
&lt;LI&gt;m4_scst_fault_inject_test_index&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698616#M25749</guid>
      <dc:creator>martinkaspar-r3</dc:creator>
      <dc:date>2023-08-03T12:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread)</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698932#M25760</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;The answers to your questions are summarized below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you, please, be more specific what global variable do you mean?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this variable SCST related or not?&lt;BR /&gt;-&amp;gt;&lt;BR /&gt;No. The declared global variable is not related to the variables below.&lt;BR /&gt;&lt;BR /&gt;m4_scst_accumulated_signature&lt;BR /&gt;m4_scst_last_executed_test_number&lt;BR /&gt;m4_scst_test_was_interrupted&lt;BR /&gt;m4_scst_fault_inject_test_index&lt;BR /&gt;&lt;BR /&gt;I confirmed that all SCST passes, and I declared a global variable while running the user code application, but SCST fails from this point on.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Is this variable used by the same core on which SCST is executed?&lt;BR /&gt;-&amp;gt; No.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A : Could this be related to the manual's customSection guide?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 23:15:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1698932#M25760</guid>
      <dc:creator>sungjun</dc:creator>
      <dc:date>2023-08-03T23:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 SCST(Test Index 11, m4_scst_exception_test_handler_thread)</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1699303#M25777</link>
      <description>&lt;P&gt;Thank you for the additional information.&lt;BR /&gt;Please, provide us more information about how SCST fails:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Does it return a wrong signature?&lt;BR /&gt;- Please provide us signature, which is returned + value of the m4_scst_last_executed_test_number + value of the m4_scst_test_was_interrupted variables.&lt;/LI&gt;
&lt;LI&gt;Or it triggers some unexpected exception?&lt;BR /&gt;- Which exception is triggered?&lt;BR /&gt;- What is the value of system registers R0-R15, configuration registers, data on stack…&lt;/LI&gt;
&lt;LI&gt;Watchdog timeout?&lt;BR /&gt;- Please provide us at which address is SCST stuck.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Could this be related to the manual's customSection guide?&lt;BR /&gt;- Maybe yes. User application shall not place its global variables into SCST custom sections. Please check your .map file for possible conflicts.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 09:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-SCST-Test-Index-11-m4-scst-exception-test-handler-thread/m-p/1699303#M25777</guid>
      <dc:creator>martinkaspar-r3</dc:creator>
      <dc:date>2023-08-04T09:16:04Z</dc:date>
    </item>
  </channel>
</rss>

