<?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 J-link PRO: Interrupt setup problem?? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/J-link-PRO-Interrupt-setup-problem/m-p/1557796#M19023</link>
    <description>&lt;P&gt;​I am using an NXP S32K344EVB-Q172 for firmware development, using primarily NXP RTD firmware plus my application code with IAR Embedded Workbench and configuration using Tresos. I can flash the code and run / debug using the on-board PEmicro debugger.&lt;/P&gt;&lt;P&gt;I am trying to switch over to the J-link PRO debugger we will use with our target board. I can connect the J-link PRO and download the code with no problems, but when the interrupt setup code is executed and I attempt to write to the NVIC to enable an interrupt (the first one is PIT_0) with the following line of code:&lt;/P&gt;&lt;P&gt;S32_NVIC-&amp;gt;ISER[(uint32)(eIrqNumber) &amp;gt;&amp;gt; 5U] = (uint32)(1UL &amp;lt;&amp;lt; ((uint32)(eIrqNumber) &amp;amp; (uint32)0x1FU));​&lt;/P&gt;&lt;P&gt;The processor goes to an undefined_handler routine:&lt;/P&gt;&lt;P&gt;void undefined_handler(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;while(TRUE){};&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;This behavior occurs on the SDK I'm using, and I have also observed it with my target board.&lt;/P&gt;&lt;P&gt;​This does NOT occur when I use the on-board PEmicro debugger, so I suspect I've got something improperly set.​ The J-link PRO seems to be unable to properly set interrupts.&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated. Thank you in advance. ​&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 11:55:19 GMT</pubDate>
    <dc:creator>Andy_B</dc:creator>
    <dc:date>2022-11-22T11:55:19Z</dc:date>
    <item>
      <title>J-link PRO: Interrupt setup problem??</title>
      <link>https://community.nxp.com/t5/S32K/J-link-PRO-Interrupt-setup-problem/m-p/1557796#M19023</link>
      <description>&lt;P&gt;​I am using an NXP S32K344EVB-Q172 for firmware development, using primarily NXP RTD firmware plus my application code with IAR Embedded Workbench and configuration using Tresos. I can flash the code and run / debug using the on-board PEmicro debugger.&lt;/P&gt;&lt;P&gt;I am trying to switch over to the J-link PRO debugger we will use with our target board. I can connect the J-link PRO and download the code with no problems, but when the interrupt setup code is executed and I attempt to write to the NVIC to enable an interrupt (the first one is PIT_0) with the following line of code:&lt;/P&gt;&lt;P&gt;S32_NVIC-&amp;gt;ISER[(uint32)(eIrqNumber) &amp;gt;&amp;gt; 5U] = (uint32)(1UL &amp;lt;&amp;lt; ((uint32)(eIrqNumber) &amp;amp; (uint32)0x1FU));​&lt;/P&gt;&lt;P&gt;The processor goes to an undefined_handler routine:&lt;/P&gt;&lt;P&gt;void undefined_handler(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;while(TRUE){};&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;This behavior occurs on the SDK I'm using, and I have also observed it with my target board.&lt;/P&gt;&lt;P&gt;​This does NOT occur when I use the on-board PEmicro debugger, so I suspect I've got something improperly set.​ The J-link PRO seems to be unable to properly set interrupts.&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated. Thank you in advance. ​&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 11:55:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/J-link-PRO-Interrupt-setup-problem/m-p/1557796#M19023</guid>
      <dc:creator>Andy_B</dc:creator>
      <dc:date>2022-11-22T11:55:19Z</dc:date>
    </item>
  </channel>
</rss>

