<?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 Problem with Linker after changing Memory model to Banked. in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139844#M2341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently using CodeWarrior 3.1 for HCS12 with MC9S12C128CFU16. I changed my memory model to Banked instead of Short and now I get the following Error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Different memory models are set in the linker setting....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know what I would need to do to correct this so I can use the Banked memory model? I don't see any settings that I should need to change in the Linker Properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2006 00:17:16 GMT</pubDate>
    <dc:creator>bhubert</dc:creator>
    <dc:date>2006-06-16T00:17:16Z</dc:date>
    <item>
      <title>Problem with Linker after changing Memory model to Banked.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139844#M2341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently using CodeWarrior 3.1 for HCS12 with MC9S12C128CFU16. I changed my memory model to Banked instead of Short and now I get the following Error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Different memory models are set in the linker setting....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know what I would need to do to correct this so I can use the Banked memory model? I don't see any settings that I should need to change in the Linker Properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 00:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139844#M2341</guid>
      <dc:creator>bhubert</dc:creator>
      <dc:date>2006-06-16T00:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Linker after changing Memory model to Banked.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139845#M2342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Actually I got that problem sovled now but I get this different Linker Error.&lt;BR /&gt;&lt;BR /&gt;L1907: Fixup overflow in _vect, to gCan_TxIntHandler type 1, at offset 0x30&lt;BR /&gt;&lt;BR /&gt;same error on all 4 CAN Ints...&lt;BR /&gt;&lt;BR /&gt;anyone have any ideas on how to correct this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 01:25:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139845#M2342</guid>
      <dc:creator>bhubert</dc:creator>
      <dc:date>2006-06-16T01:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Linker after changing Memory model to Banked.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139846#M2343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;The message is generated because the function gCan_TxIntHandler, which is an interrupt function is not allocated in non banked memory.&lt;/P&gt;&lt;P&gt;In Banked memory model all&amp;nbsp;interrupt functions should be allocated in a __NEAR_SEG code Section.&lt;/P&gt;&lt;P&gt;Place following pragma prior to your interrupt function implementation:&lt;/P&gt;&lt;P&gt;#ifndef __SMALL__&lt;BR /&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Place following pragma after the function implementation&lt;/P&gt;&lt;P&gt;#ifndef __SMALL__&lt;BR /&gt;#pragma CODE_SEG DEFAULT&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 17:58:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139846#M2343</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-06-16T17:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Linker after changing Memory model to Banked.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139847#M2344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;CrasyCat,&lt;BR /&gt;&lt;BR /&gt;I thought that is what that problem is suppose to mean but in the .h file there is this:&lt;BR /&gt;&lt;BR /&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED /* Interrupt section for this module. Placement will be in NON_BANKED area. */&lt;BR /&gt;__interrupt void gCan_TxIntHandler(void);&lt;BR /&gt;&lt;BR /&gt;#pragma CODE_SEG DEFAULT /* Change code section to DEFAULT. &lt;BR /&gt;&lt;BR /&gt;I thought this should take care of all of that. Any suggestions, it just doesn't seem to make sense to me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 19:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139847#M2344</guid>
      <dc:creator>bhubert</dc:creator>
      <dc:date>2006-06-16T19:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Linker after changing Memory model to Banked.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139848#M2345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In fact you have to&amp;nbsp;specify that pragma in front of both the implementation and prototype of the function.&lt;/P&gt;&lt;P&gt;Can you please try.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 15:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-Linker-after-changing-Memory-model-to-Banked/m-p/139848#M2345</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-06-22T15:38:51Z</dc:date>
    </item>
  </channel>
</rss>

