<?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>CodeWarrior for MCUのトピックRe: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907033#M15071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; Joe,&lt;/P&gt;&lt;P&gt;The "&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SECTIONS&lt;/SPAN&gt;" part needn't change.&lt;/P&gt;&lt;P&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2019 09:10:01 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-05-13T09:10:01Z</dc:date>
    <item>
      <title>Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907032#M15070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to relocate the interrupt vector table into a different location within nonvolatile memory (ROM)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a Kinetis K64F Freedom board (FRDM-K64F) and loaded a basic MQX 4 example (CodeWarrior 10/gcc) project into it.&amp;nbsp; That works; but when I try to move the interrupt vector table from 0x0 to 0x1000 within the linker file, all I get is immediate interrupts/crashing.&amp;nbsp; Upon loading the code, I&amp;nbsp;see, with the debugger, that the table has moved to 0x1000.&amp;nbsp; Is there more that I need to do other than the changes within my linker file (snippets below)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;MEMORY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX): ORIGIN = 0x00001000, LENGTH = 0x00000400&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (R):&amp;nbsp; ORIGIN = 0x00001400, LENGTH = 0x00000020&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX): ORIGIN = 0x00001420, LENGTH = 0x000FeBE0&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW): ORIGIN = 0x1FFF0000, LENGTH = 0x00040000&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SECTIONS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = 0x1000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .vectors :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __vector_table = .;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __VECTOR_TABLE_ROM_START = __vector_table;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEP(*(.vectors_rom))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN (0x4); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; vectorrom&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 16:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907032#M15070</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2019-05-09T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907033#M15071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; Joe,&lt;/P&gt;&lt;P&gt;The "&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SECTIONS&lt;/SPAN&gt;" part needn't change.&lt;/P&gt;&lt;P&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 09:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907033#M15071</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-05-13T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907034#M15072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if I DON'T modify the SECTIONS portion, it still crashes&amp;nbsp;when&amp;nbsp;I only modify the MEMORY portion.&amp;nbsp; May I ask you to try the attached, empty (MQX 4) example on a Freedom board?&amp;nbsp; (My MQX library is set to MQX_ROM_VECTORS = true within user_config.h.)&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 15:29:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907034#M15072</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2019-05-13T15:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907035#M15073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;Sorry now we don't recommend use MQX, so I haven't install MQX on my PC.&lt;/P&gt;&lt;P&gt;You can first test a simple bare board project, if have problem after remap, I can help to check your code on my side.&lt;/P&gt;&lt;P&gt;And if you just start development, I recommend you use MCUXpresso IDE, and freeRTOS, this is the supported tool&lt;/P&gt;&lt;P&gt;by official, and if there is some problem, we can fix. While if use CW and MQX, there won't any update or patch for kinetis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 09:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907035#M15073</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-05-15T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907036#M15074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;I have no problems executing a relocated table on a bare board project, so the issue must involve MQX 4 (I tried it in both CW and KDS).&amp;nbsp; The project is 1.5 years old; it is too late to change the OS now and I am almost done with the code.&amp;nbsp; Is it possible for me to start an NXP support ticket, or is MQX 4 not supported at all (I only need a work-around, not an MQX patch)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 15:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907036#M15074</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2019-05-16T15:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907037#M15075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;So I think this related how to remap MQX4 project, about the detail configuration for MQX lib such as you mentioned "MQX_ROM_VECTORS = true ", I don't have access help you create new case, so could you please take another ticket in the MQX thread: &lt;A href="https://community.nxp.com/community/mqx"&gt;https://community.nxp.com/community/mqx&lt;/A&gt;&amp;nbsp; there is MQX expert support this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 08:35:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907037#M15075</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-05-17T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Relocating K64 Interrupt Vector Table Within Nonvolatile Memory/ROM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907038#M15076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 12:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Relocating-K64-Interrupt-Vector-Table-Within-Nonvolatile-Memory/m-p/907038#M15076</guid>
      <dc:creator>kackle123</dc:creator>
      <dc:date>2019-05-17T12:38:50Z</dc:date>
    </item>
  </channel>
</rss>

