<?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>Processor Expert SoftwareのトピックRe: InterruptVector component</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155102#M128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2012 18:39:22 GMT</pubDate>
    <dc:creator>leccy</dc:creator>
    <dc:date>2012-04-20T18:39:22Z</dc:date>
    <item>
      <title>InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155096#M122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CW10.1&lt;/P&gt;&lt;P&gt;Kinetis K20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add an interrupt vector to my code, where the vector table is created by other PE components, but the InterruptVector component is currently disabled for my configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know when this will be resolved, or suggest a work-around in the mean time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to emulate the code produced by PE for the RTC_LDD, but I am unhappy at how PE injects initialisation code into __init_hardware(), which causes a CPU_OnHardFault() exception if there is no power at VBAT.&amp;nbsp; I would like to handle the possibility of VBAT being disabled without getting stuck via the exception in __init_hardware().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;leccy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 20:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155096#M122</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2012-04-17T20:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155097#M123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are sorry for the inconvenience. The InterruptVector compoennt for Kinetis and CFV1+ families would be published in CW V10.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please specify why the CPU_OnHardFault() event from CPU component is not sufficient for you? I think it should provide the same functionality as if the hardfault would be handled by InterruptVector component...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you also please provide more details about your use case? Would be for example for you sufficient to provide hot-fix for you that will allow you to disable generation of RTC init. code in CPU.c and after that move the original RTC code from CPU.c to the user code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RTC init code, that would be moved into user code after applying the patch and disabling its generaiton in CPU.c:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* SIM_SCGC6: RTC=1 */&lt;BR /&gt;&amp;nbsp; SIM_SCGC6 |= (uint32_t)0x20000000UL;&lt;BR /&gt;&amp;nbsp; if ((RTC_CR &amp;amp; RTC_CR_OSCE_MASK) == 0u) { /* Only if the OSCILLATOR is not already enabled */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* RTC_CR: SC2P=0,SC4P=0,SC8P=0,SC16P=0 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTC_CR &amp;amp;= (uint32_t)~0x3C00UL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* RTC_CR: OSCE=1 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTC_CR |= (uint32_t)0x0100UL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* RTC_CR: CLKO=0 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTC_CR &amp;amp;= (uint32_t)~0x0200UL;&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 14:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155097#M123</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-04-19T14:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155098#M124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vojtech&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to be able to catch the hard fault interrupt on the fragment you mention, and set a user flag such that i can display an error message when the code runs on into the main loop.&amp;nbsp; This would inform the user that there was a problem with the coin cell backup, and the unit needed to be returned to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it stands, if VBAT is not available, the hard fault interrupt returns control to PE code, over which I have no control, and continues to interrupt at the same place, so the unit does not finish __init_hardware() and does not switch on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you mention, I would ideally call the fragment in my own code, and use the flag to prevent further attempts at reading RTC_CR, thereby preventing further occurences of the interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an expected release date for CW10.3?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;leccy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 15:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155098#M124</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2012-04-19T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155099#M125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please find the attached hot-fix for the probelm. The hot-fix allows disabling generation of RTC inti. code in CPU.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regaridng CW V10.3. I think that this release should be published in Q3 or Q4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;The steps how to apply the hot-fix are described in the readme in the zip archive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 19:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155099#M125</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-04-19T19:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155100#M126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vojtech&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did as instructed, and the patch did indeed disable the RTC oscillator in the CPU component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I get this error on compilation:&lt;BR /&gt;INTERNAL ERROR: Unexpected status of script: Beans\RTC_LDD\RTC_LDD.chg, please contact Freescale support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I notice that you refer to CW10.2.&amp;nbsp; I am running CW10.1.&amp;nbsp; We are in a critical phase, and I have been reluctant to upgrade to CW10.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;leccy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 20:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155100#M126</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2012-04-19T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155101#M127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for confusion. I have overlooked that you are using CW V10.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached the correct hot-fix for CW V10.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before applying the new patch please do not forget to delete the files of the patch for 10.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_Patch05000501.pak.Index&lt;/P&gt;&lt;P&gt;PACKAGE_Patch05000501.pak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from {CodeWarrior}/MCU/ProcessorExpert/Beans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 15:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155101#M127</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-04-20T15:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: InterruptVector component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155102#M128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/InterruptVector-component/m-p/155102#M128</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2012-04-20T18:39:22Z</dc:date>
    </item>
  </channel>
</rss>

