<?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 Fixing EntryPoint in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fixing-EntryPoint/m-p/139849#M2967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi&lt;BR /&gt;Does anybody know how to fix the _EntryPoint function generated by Codewarrior to a specific address. I have written a bootloader for the MC9S12NE64 and need to be able to fix the application startup point. At the moment I am using a #pragma and placing it in a block of code but am not convinced that every compilation will result in _EntryPoint being at the same address. Any suggestions??&lt;BR /&gt;Thanks&lt;BR /&gt;Morag&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2006 20:52:50 GMT</pubDate>
    <dc:creator>morag</dc:creator>
    <dc:date>2006-12-13T20:52:50Z</dc:date>
    <item>
      <title>Fixing EntryPoint</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fixing-EntryPoint/m-p/139849#M2967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi&lt;BR /&gt;Does anybody know how to fix the _EntryPoint function generated by Codewarrior to a specific address. I have written a bootloader for the MC9S12NE64 and need to be able to fix the application startup point. At the moment I am using a #pragma and placing it in a block of code but am not convinced that every compilation will result in _EntryPoint being at the same address. Any suggestions??&lt;BR /&gt;Thanks&lt;BR /&gt;Morag&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 20:52:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fixing-EntryPoint/m-p/139849#M2967</guid>
      <dc:creator>morag</dc:creator>
      <dc:date>2006-12-13T20:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing EntryPoint</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fixing-EntryPoint/m-p/139850#M2968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;I would recommend placing the function in a specific user defined section and placing the section at first in the section list within a PLACEMENT line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There is one exception to that (as far as I can remember).&lt;/DIV&gt;&lt;DIV&gt;If you have a command INIT _EntryPoint in your .PRM file, then _ENTRY will be allocated in section .init (Which is predefined section for entry point)&amp;nbsp;and then .init must be the first section in the section list.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also make sure _EntryPoint is the&amp;nbsp;only function in the user defined section.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 19:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fixing-EntryPoint/m-p/139850#M2968</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-12-14T19:50:33Z</dc:date>
    </item>
  </channel>
</rss>

