<?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: M52235EVB and GNU project in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52235EVB-and-GNU-project/m-p/134813#M1500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Mark,&lt;/DIV&gt;&lt;DIV&gt;You need a linker file to go along with the linker command that will define the memory map (i.e. tell the linker where your valid memory space is) of your system.&lt;/DIV&gt;&lt;DIV&gt;There are multiple step for compiling, assembling, linking to get an executeable and then even for utilities used to make sure the executeable is in the right format for you to download and use.&amp;nbsp; Most people create makefile or make.bat files to simplify all the steps.&lt;/DIV&gt;&lt;DIV&gt;Good reference for makefile: &lt;A href="http://www.gnu.org/software/make/manual/make.html#Introduction" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/make/manual/make.html#Introduction&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Good reference for linker file: &lt;A href="http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_16.html#SEC16" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_16.html#SEC16&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've attached an example project that has a makefile as well.&amp;nbsp; Since I used it to run on uClinux it doesn't use a linker file.&lt;/DIV&gt;&lt;DIV&gt;Regards, DavidS&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2006 21:02:19 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2006-05-18T21:02:19Z</dc:date>
    <item>
      <title>M52235EVB and GNU project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52235EVB-and-GNU-project/m-p/134812#M1499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi All&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Has any one out there started using the M52235EVB? the new Coldfire with on-board Ethernet.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is supplied with a CD with the GNU compiler for the Coldfire. I would like to make a GNU project (as well as CodeWarrior) but am having difficulties.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1. I can compile my source code&amp;nbsp;but I can't work out how to control it when linking. With the HCS12 I used a file called memory.x to control this but it seems as though this is not used with the Coldfire.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2. The linker always complains that it can't find the entry symbol _start. My HCS12 project has this defined in the vector table but I assume it is missing from some start up code since I also have a similar vector table - although I don't yet know whether it is used in the same manor&amp;nbsp;(?).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3. I have read in the GCC docs that one should define mcpu=5200 for the coldfire but this just results in an error. I have found that mcpu=5208 works but don't know whether this is correct for this Coldfire type.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;4. I don't seem to be able to find any documentation about linking for the Coldfire.&lt;/DIV&gt;&lt;DIV&gt;Is there any example project somewhere which could help?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Many thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mark Butcher&lt;/DIV&gt;&lt;DIV&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.mjbc.ch" rel="nofollow" target="_blank"&gt;www.mjbc.ch&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 07:23:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52235EVB-and-GNU-project/m-p/134812#M1499</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2006-05-05T07:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: M52235EVB and GNU project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52235EVB-and-GNU-project/m-p/134813#M1500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Mark,&lt;/DIV&gt;&lt;DIV&gt;You need a linker file to go along with the linker command that will define the memory map (i.e. tell the linker where your valid memory space is) of your system.&lt;/DIV&gt;&lt;DIV&gt;There are multiple step for compiling, assembling, linking to get an executeable and then even for utilities used to make sure the executeable is in the right format for you to download and use.&amp;nbsp; Most people create makefile or make.bat files to simplify all the steps.&lt;/DIV&gt;&lt;DIV&gt;Good reference for makefile: &lt;A href="http://www.gnu.org/software/make/manual/make.html#Introduction" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/make/manual/make.html#Introduction&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Good reference for linker file: &lt;A href="http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_16.html#SEC16" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_16.html#SEC16&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've attached an example project that has a makefile as well.&amp;nbsp; Since I used it to run on uClinux it doesn't use a linker file.&lt;/DIV&gt;&lt;DIV&gt;Regards, DavidS&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 21:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52235EVB-and-GNU-project/m-p/134813#M1500</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2006-05-18T21:02:19Z</dc:date>
    </item>
  </channel>
</rss>

