<?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 moving vector table to ram in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/moving-vector-table-to-ram/m-p/162274#M1343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I though by default MQX would have to have the vectors in ram. However, I was reading a note about bootloaders and it talked about setting an option in user_config.h to move the vectors from rom to ram. Could not find this option in user_config.h. So are vectors moved by default or what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;I have an application that needs a short 1ms timers and so I need to directly access a timer ISR. It works now but I am woried about after bootload process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2011 09:43:41 GMT</pubDate>
    <dc:creator>barbercolman</dc:creator>
    <dc:date>2011-08-26T09:43:41Z</dc:date>
    <item>
      <title>moving vector table to ram</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/moving-vector-table-to-ram/m-p/162274#M1343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I though by default MQX would have to have the vectors in ram. However, I was reading a note about bootloaders and it talked about setting an option in user_config.h to move the vectors from rom to ram. Could not find this option in user_config.h. So are vectors moved by default or what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;I have an application that needs a short 1ms timers and so I need to directly access a timer ISR. It works now but I am woried about after bootload process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 09:43:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/moving-vector-table-to-ram/m-p/162274#M1343</guid>
      <dc:creator>barbercolman</dc:creator>
      <dc:date>2011-08-26T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: moving vector table to ram</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/moving-vector-table-to-ram/m-p/162275#M1344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barber,&lt;/P&gt;&lt;P&gt;The MQX_ROM_VECTOR definition by default has been set to 1 to have the vector table in ROM/Flash.&amp;nbsp; Setting it to 1 in the user_config.h will over ride the default setting in the twrk60n512.h header in the BSP (this example is for Tower K60 but each BSP has a unigue header in the BSP--&amp;gt;BSP Files folder).&lt;/P&gt;&lt;P&gt;Another thread speaks on this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/91476#91476" title="https://community.freescale.com/message/91476#91476"&gt;https://community.freescale.com/message/91476#91476&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For having a direct interrupt, you need to stick your timer vector in the table (in the same folder listed above and in the vectors.c file).&amp;nbsp; Then have your ISR have the prefixed&amp;nbsp;__declspec(interrupt).&amp;nbsp; This case is for running vector table from ROM/Flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If setting up the vector table for RAM, then your code can insert the vector directly in to the vector table...reference this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/60097#60097" title="https://community.freescale.com/message/60097#60097"&gt;https://community.freescale.com/message/60097#60097&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 20:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/moving-vector-table-to-ram/m-p/162275#M1344</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2011-08-26T20:43:39Z</dc:date>
    </item>
  </channel>
</rss>

