<?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>S32K中的主题 Re: S32K314 Cannot enter interrupt handling function only in debugging state</title>
    <link>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950653#M40746</link>
    <description>&lt;P&gt;&lt;FONT&gt;Hi,&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This is my debug configuration：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298092i5015697C16016E02/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298091iEF216F728B7FB4E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Also, I confirm that I have closed 'Skip all breakpoints'。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;zhuolin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 05:54:00 GMT</pubDate>
    <dc:creator>zhuolin</dc:creator>
    <dc:date>2024-09-10T05:54:00Z</dc:date>
    <item>
      <title>S32K314 Cannot enter interrupt handling function only in debugging state</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950051#M40713</link>
      <description>&lt;P&gt;I am using ADC and STM timer on S32K314 MCU and debugging with jlink connection.&lt;BR /&gt;I found that I couldn't hit breakpoints in the interrupt handling function during debugging, and from the code execution results, it's true that the interrupt handling function wasn't running.&lt;BR /&gt;When I unplugged the jlink and powered on the board again, the interrupt handling function was successfully executed based on the code execution results (I used debug flash).&lt;/P&gt;&lt;P&gt;Additionally, I checked the registers of ADC and TIMER, and found that their interrupt flags and enable bits have been set.&lt;BR /&gt;Then I checked the NVIC register ISER and it has already been set.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RTD version: SW32K3_S32M27x_RTD_R21-11_4.0.0_S2311_DS_uupdatesitezip&lt;BR /&gt;S32DS version: 3.5&lt;BR /&gt;Jlink Firmware: J-Link V11 compiled May 8 2024 15:36:02&lt;BR /&gt;Jlink driver: v9.6&lt;/P&gt;&lt;P&gt;So, what could be the possible reasons for not being able to respond to interrupts in debug mode?&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 11:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950051#M40713</guid>
      <dc:creator>zhuolin</dc:creator>
      <dc:date>2024-09-09T11:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 Cannot enter interrupt handling function only in debugging state</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950219#M40725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240294"&gt;@zhuolin&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you share your debug configuration? It could be that the option "Connect to running target" is enabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1725899303523.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297953iB3F87E06B54DE3A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1725899303523.png" alt="Julin_AragnM_0-1725899303523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, male sure that the option for flash breakpoints is enabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_1-1725899438447.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297954iBC0208B970EB6598/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_1-1725899438447.png" alt="Julin_AragnM_1-1725899438447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;One last configuration oversight could be the "Skip all breakpoints" in S32DS:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_2-1725899466095.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297955iF4C2D959F744E0D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_2-1725899466095.png" alt="Julin_AragnM_2-1725899466095.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950219#M40725</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-09-09T16:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 Cannot enter interrupt handling function only in debugging state</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950653#M40746</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi,&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This is my debug configuration：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298092i5015697C16016E02/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298091iEF216F728B7FB4E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Also, I confirm that I have closed 'Skip all breakpoints'。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;zhuolin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 05:54:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950653#M40746</guid>
      <dc:creator>zhuolin</dc:creator>
      <dc:date>2024-09-10T05:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 Cannot enter interrupt handling function only in debugging state</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950696#M40750</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help. My problem has been resolved.&lt;BR /&gt;The reason is that the SWD interface was incorrectly connected.&lt;BR /&gt;As shown in the figure, JLINK has two signal pins, "nTRST" and "RESET".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JLINK.jpg" style="width: 480px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298122iCEC868123DD8FB3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="JLINK.jpg" alt="JLINK.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;I mistakenly connected the reset pin of the MCU to the "nTRST" pin, but it should actually be connected to the "RESET" pin.&lt;BR /&gt;When I correctly connected the reset signal, the work was interrupted.&lt;/P&gt;&lt;P&gt;Usually, when debugging MCUs using the SWD interface, I am accustomed to not using hardware reset pins and instead using software reset targets. This way, only 3 wires need to be connected to work normally.&lt;BR /&gt;（GND,SWCLK,SWDIO）&lt;BR /&gt;S32K314 is different from the microcontroller I used before. After disconnecting the RESET signal and debugging again, the error continued to occur.&lt;/P&gt;&lt;P&gt;If you are willing, can you describe the underlying reasons for this phenomenon?&lt;/P&gt;&lt;P&gt;Please forgive my English description. I rely on translation software to communicate with you. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 06:33:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-Cannot-enter-interrupt-handling-function-only-in/m-p/1950696#M40750</guid>
      <dc:creator>zhuolin</dc:creator>
      <dc:date>2024-09-10T06:33:35Z</dc:date>
    </item>
  </channel>
</rss>

