<?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: Insane Size of .elf Output in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446154#M2971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Quang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you build the example of "eth_to_serial" , please refer to the "readme.txt" here :..\Freescale\KSDK_1.2.0\middleware\tcpip\rtcs\examples\eth_to_serial\_readme.txt&amp;nbsp; .&lt;/P&gt;&lt;P&gt;And have you build the MQX lib ?&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, 12 Jun 2015 01:57:46 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-06-12T01:57:46Z</dc:date>
    <item>
      <title>Insane Size of .elf Output</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446151#M2968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im working with Kinetis SDK 1.2 and the FRDMK64F Board. I could successfully build the hello sample and flashed onto the board before. Everything were fine.&lt;/P&gt;&lt;P&gt;But since yesterday when I try to build eth_to_serial sample located inside middleware folder.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output .elf gets really huge.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arm-none-eabi-size --format=berkeley "eth_to_serial.elf"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp;&amp;nbsp; filename&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 81620&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1304&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4992&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 87916&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1576c&amp;nbsp;&amp;nbsp;&amp;nbsp; eth_to_serial.elf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Finished building: eth_to_serial.siz&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't figure out what I have changed to cause this. Now everything I build are about 50MB or more, even the hello sample I built before. &lt;/P&gt;&lt;P&gt;Did I accidentally delete some flags of the makefile?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to strip the elf File and flashed onto the board, but it seems to be wrong. The Board return fail.txt "RESERVED BITS".&lt;/P&gt;&lt;P&gt;I also try to build the project fresh.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea that can help me out?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;EM&gt; &lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 16:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446151#M2968</guid>
      <dc:creator>quangkaelannguy</dc:creator>
      <dc:date>2015-06-10T16:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Insane Size of .elf Output</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446152#M2969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Quang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which IDE do you use ? and which version.&lt;/P&gt;&lt;P&gt;Could you screenshot the error when flash the .elf file onto board.thank !&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>Thu, 11 Jun 2015 03:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446152#M2969</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-06-11T03:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Insane Size of .elf Output</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446153#M2970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using the Freescale KDS 3.0.0 IDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot - 06112015 - 10_51_02 AM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24271i980480D2FBD2E52C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 06112015 - 10_51_02 AM.png" alt="Screenshot - 06112015 - 10_51_02 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 08:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446153#M2970</guid>
      <dc:creator>quangkaelannguy</dc:creator>
      <dc:date>2015-06-11T08:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Insane Size of .elf Output</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446154#M2971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Quang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you build the example of "eth_to_serial" , please refer to the "readme.txt" here :..\Freescale\KSDK_1.2.0\middleware\tcpip\rtcs\examples\eth_to_serial\_readme.txt&amp;nbsp; .&lt;/P&gt;&lt;P&gt;And have you build the MQX lib ?&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, 12 Jun 2015 01:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446154#M2971</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-06-12T01:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insane Size of .elf Output</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446155#M2972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I built the sample as the readme told me to do. I actually could build it properly and flashed on board, which means all the libs were build correctly.&lt;/P&gt;&lt;P&gt;Then I added "objcopy" to the build steps under project properties so that I get a .bin file to flash. I also wanted to changed some function to use dhcp instead of staticip. After those changes, I tried to build and get that huge size of .elf. I cant remember what else I've done to cause this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot - 06152015 - 10_03_28 AM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35248i439B23DB8FB7A245/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 06152015 - 10_03_28 AM.png" alt="Screenshot - 06152015 - 10_03_28 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot - 06152015 - 10_37_44 AM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35370iE024A54EDB7FBABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 06152015 - 10_37_44 AM.png" alt="Screenshot - 06152015 - 10_37_44 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Quang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:38:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446155#M2972</guid>
      <dc:creator>quangkaelannguy</dc:creator>
      <dc:date>2015-06-15T08:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Insane Size of .elf Output</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446156#M2973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the beginning was the elf file not that big? I build eth_to_serial with default settings and is also huge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 23:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Insane-Size-of-elf-Output/m-p/446156#M2973</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-07-21T23:57:29Z</dc:date>
    </item>
  </channel>
</rss>

