<?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: How to enable to generated ISR OnHardFault Code using PE in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795726#M6974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;Thank you for the answer. That explains. As I have said I have manually installed the ISR, it is not a problem for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2018 13:07:30 GMT</pubDate>
    <dc:creator>davidzhou</dc:creator>
    <dc:date>2018-09-07T13:07:30Z</dc:date>
    <item>
      <title>How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795719#M6967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have K60 tower board. I have MQX 4.2 and Code Warrior 10.6.4. &lt;/P&gt;&lt;P&gt;I want to generate code for Cpu_OnHardFault ISR using PE, but it is disabled. I am not sure there is any way to enable it for generate code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68199i6D9049E09B63D81C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 18:06:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795719#M6967</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2018-09-05T18:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795720#M6968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;This feature is automatically enabled when the hard fault property is set to "Enabled". see below screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68172iF943CAC0377D2F9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 04:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795720#M6968</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-09-06T04:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795721#M6969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie,&lt;/P&gt;&lt;P&gt;Thank you for your reply. In my PE, all the interrupts are disabled, and I cannot find a way to enable them. See the screen pasted below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68214i0D6121AB1464026B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I left-click the OnHardFault, there is a popup menu to toggle Enable/Disable, but it is GRAYED.&lt;/P&gt;&lt;P&gt;it must have another level of enabling it. I don't know the small green icon with a little cross on it. Enabled ones are blue with a check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 12:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795721#M6969</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2018-09-06T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795722#M6970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I agree that this might be confusing. But the it means that the *property' is disabled and cannot be changed, as the HardFault cannot be disabled. So it is turned on anyway by the hardware as it is a non-maskable interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 07:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795722#M6970</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-09-07T07:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795723#M6971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, Jennie, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for explanation. But I still don't know how to enable it as Jennie's saved screen with ENABLE to generated code for the HardFault ISR. From my screen pasted, all those functions are disabled, AND I have a no way to ENABLE them. That results in preventing me from generating code for them. I understand they are non-maskable interrupts, currently are all tied into _int_kernel_isr. Do you mean non-maskable interrupts can not generated code from PE? But then why Jennie's screen shows enable and be able to generate code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 12:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795723#M6971</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2018-09-07T12:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795724#M6972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I have created&amp;nbsp; a function CW_InstallIsrHardFault and manually installed ISR for the OnHardFault as follows:&lt;/P&gt;&lt;P&gt;uint32_t CW_InstallIsrHardFault(INT_ISR_FPTR isr) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;INT_ISR_FPTR fpISR;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpISR = _int_install_isr(3, isr, (void *)NULL);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ( fpISR == (INT_ISR_FPTR) NULL ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return 1;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 12:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795724#M6972</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2018-09-07T12:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795725#M6973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I think the reason that you cannot enable it the usual way is because you have MQX in your project: MQX takes ownership of all interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 13:03:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795725#M6973</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-09-07T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable to generated ISR OnHardFault Code using PE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795726#M6974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;Thank you for the answer. That explains. As I have said I have manually installed the ISR, it is not a problem for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 13:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-enable-to-generated-ISR-OnHardFault-Code-using-PE/m-p/795726#M6974</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2018-09-07T13:07:30Z</dc:date>
    </item>
  </channel>
</rss>

