<?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 Re: Trying to build -AsRomLib in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181752#M13276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You was right, your trick fixed the problem.&lt;/P&gt;&lt;P&gt;Now I will try using the lib.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help, I'm sorry for the stupid question, but I missed checking this file.&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Giovanni&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 19:30:05 GMT</pubDate>
    <dc:creator>Giox79</dc:creator>
    <dc:date>2011-02-07T19:30:05Z</dc:date>
    <item>
      <title>Trying to build -AsRomLib</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181750#M13274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I have a problem related to building a ROM library for a HCS08 device.&lt;/P&gt;&lt;P&gt;I modified a code that worked fine as a complete SW (generating an executable).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I commented the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;void main()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;method and selected the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-AsRomLib&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;linker option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Afterwards, I inserted in my code the lines of code:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #include &amp;lt;startup.h&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;struct _tagStartup _startupData; /* for linker */&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Finally, I had to modify the default .prm file specifying the code section that will be used outside of the lib (I had to do this since my lib use the ansi lib and generated many error without this trick).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the prm I wrote:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ENTRIES&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file1.obj:*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file2.obj:*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; file3.obj:*&lt;BR /&gt;END&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I have a problem: while building the lib I get the message:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #FF0000;"&gt;Object _Startup not found&amp;nbsp;&amp;nbsp; &amp;nbsp;Circuito_1_asRomLib&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;line 0&amp;nbsp;&amp;nbsp; &amp;nbsp;C/C++ Problem&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried modifying the ENTRIES adding also the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;_startupData&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm not able to solve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried searching the web and the "HC(S)08/RS08 and HC(S)12 Build Tools Utilities Manual" provided by freescale, but I'm not able to solve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there someone that can help me?&lt;/P&gt;&lt;P&gt;Any idea will be appreciated.&lt;/P&gt;&lt;P&gt;If I forgot to specify some useful info, please le me know.&lt;/P&gt;&lt;P&gt;Giovanni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 01:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181750#M13274</guid>
      <dc:creator>Giox79</dc:creator>
      <dc:date>2011-02-07T01:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to build -AsRomLib</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181751#M13275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should remove the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VECTOR 0 _Startup&lt;/P&gt;&lt;P&gt;from your .prm file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other reference to _Startup in the .prm file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 17:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181751#M13275</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-02-07T17:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to build -AsRomLib</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181752#M13276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You was right, your trick fixed the problem.&lt;/P&gt;&lt;P&gt;Now I will try using the lib.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help, I'm sorry for the stupid question, but I missed checking this file.&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Giovanni&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 19:30:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Trying-to-build-AsRomLib/m-p/181752#M13276</guid>
      <dc:creator>Giox79</dc:creator>
      <dc:date>2011-02-07T19:30:05Z</dc:date>
    </item>
  </channel>
</rss>

