<?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: question about size of hex file in flash in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884978#M7509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You get the size with the GNU size utility, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/" title="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/"&gt;text, data and bss: Code and Data Size Explained | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 10:13:56 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2019-03-12T10:13:56Z</dc:date>
    <item>
      <title>question about size of hex file in flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884977#M7508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to know how many bytes the hex file would take in flash after burning down? I use codewarrior10.6.4.&lt;/P&gt;&lt;P&gt;Thank you for your attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884977#M7508</guid>
      <dc:creator>vegetarian1</dc:creator>
      <dc:date>2019-03-12T09:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: question about size of hex file in flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884978#M7509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You get the size with the GNU size utility, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/" title="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/"&gt;text, data and bss: Code and Data Size Explained | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 10:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884978#M7509</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-03-12T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: question about size of hex file in flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884979#M7510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. The direction of link is detailed. It is useful.&lt;/P&gt;&lt;P&gt;I want to have a further more discussion. In my project,&amp;nbsp;size format is 'SysV' in eclipse panel, the compiling result is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.interrupts &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0xc0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;BR /&gt;.cfmprotect &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x10 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x400&lt;BR /&gt;.text &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x2834 &amp;nbsp;&amp;nbsp;&amp;nbsp;0x800&lt;BR /&gt;.data &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x4 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x1ffff000&lt;BR /&gt;.bss &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x144 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x1ffff004&lt;BR /&gt;.romp &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x18 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x1ffff148&lt;BR /&gt;._user_heap_stack 0x200 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x1ffff160&lt;BR /&gt;.ARM.attributes &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x31 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0x0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;size format is 'Berkeley' in eclipse panel, the result is as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;text &amp;nbsp;&amp;nbsp;&amp;nbsp;data &amp;nbsp;&amp;nbsp;&amp;nbsp;bss &amp;nbsp;&amp;nbsp;&amp;nbsp;dec &amp;nbsp;&amp;nbsp;&amp;nbsp;hex&lt;BR /&gt; 0x2904 0x1c 0x344 11364 2c64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems &lt;STRONG&gt;.romp&lt;/STRONG&gt; is count as data by gcc compiler, it is in RAM, but not in flash.&lt;/P&gt;&lt;P&gt;I think all the text and data should be save in flash at the beginning, because everything will disappear in RAM after power down.&lt;/P&gt;&lt;P&gt;The real space used in flash is 11364.&amp;nbsp;Is there anything wrong with me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 07:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884979#M7510</guid>
      <dc:creator>vegetarian1</dc:creator>
      <dc:date>2019-03-13T07:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: question about size of hex file in flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884980#M7511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike,&lt;/P&gt;&lt;P&gt;"I think all the text and data should be save in flash at the beginning, "&lt;/P&gt;&lt;P&gt;-&amp;gt; YES, the "text +data" will be download into flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The real space used in flash is 11364."&lt;/P&gt;&lt;P&gt;-&amp;gt;Exactly, the size in flash is 0x2920 (0x2904+0x1c), not includes bss. As&amp;nbsp; the blog of Erich said"As bss ends up in RAM". Also you can check your hex file to calculate the flash size used, the data in hex file is all the data will be download into flash.&lt;/P&gt;&lt;P&gt;How to generate S-record or hex file , you can refer to Erich another bolg:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2012/09/13/s-record-generation-with-gcc-for-armkinetis/" title="https://mcuoneclipse.com/2012/09/13/s-record-generation-with-gcc-for-armkinetis/"&gt;S-Record Generation with gcc for ARM/Kinetis | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 06:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/question-about-size-of-hex-file-in-flash/m-p/884980#M7511</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-03-29T06:00:00Z</dc:date>
    </item>
  </channel>
</rss>

