<?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>MQX Software SolutionsのトピックRe: Stop PE from overwriting my (ROM) interrupt Vectors.c?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406548#M13638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can edit the FTM2 component in PE.Please see the following picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31677i9C1865C80D770657/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM2.jpg" alt="FTM2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached an example here .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 06:29:37 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2015-11-17T06:29:37Z</dc:date>
    <item>
      <title>Stop PE from overwriting my (ROM) interrupt Vectors.c?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406547#M13637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I needed a very low overhead Timer interrupt, and I have successfully replaced the ivINT_FTM2 interrupt vector in Vectors.c&lt;/P&gt;&lt;P&gt;Unfortunately, every change to Processor Expert overwrites Vectors.c and loses my kernel interrupt vector hook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a place in Processor Expert where I can enter my interrupt function name so that PE will rewrite Vectors.c as I need it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize that I could enable the feature to move the vector table from ROM to RAM, and then I could call _int_install_kernel_isr() at run time so that Vectors.c would not need to have my function in it. However, moving the vector table to RAM would require that I allocate memory to that, and I'm not sure whether the other developers will need that RAM. It would seem easiest if I could just alter the ROM vector table, since I know the vector will never need to change at run time. I just don't know whether Processor Expert supports this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other answers on this forum have shown other interrupts which allow user override of the default name, but I couldn't find a way to do this for FTM2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints or pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running CodeWarrior 10.6 with MQX and working with the MK20FX512VLQ12 chip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 22:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406547#M13637</guid>
      <dc:creator>brianwilloughby</dc:creator>
      <dc:date>2015-11-12T22:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stop PE from overwriting my (ROM) interrupt Vectors.c?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406548#M13638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can edit the FTM2 component in PE.Please see the following picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31677i9C1865C80D770657/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM2.jpg" alt="FTM2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached an example here .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 06:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406548#M13638</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2015-11-17T06:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stop PE from overwriting my (ROM) interrupt Vectors.c?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406549#M13639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Daniel, but the technique you describe only seems to affect the MQX interrupt, not the kernel interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did use the MQX interrupt, briefly, to test my code. However, the MQX interrupt has too much overhead and is too slow for my needs. I have successfully switched the code from an MQX interrupt to a kernel interrupt, but now that I've done that, PE will overwrite my interrupt vector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping that the PE panel that you are looking at would have some option to select MQX interrupts or kernel interrupts for the FTM2 component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 20:17:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Stop-PE-from-overwriting-my-ROM-interrupt-Vectors-c/m-p/406549#M13639</guid>
      <dc:creator>brianwilloughby</dc:creator>
      <dc:date>2015-11-17T20:17:48Z</dc:date>
    </item>
  </channel>
</rss>

