<?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: How can I understand the FLASH occupation? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412855#M11167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3845 is your used flash size. Size of S19 (SX) file is more than 2x bigger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/SREC_(file_format"&gt;https://en.wikipedia.org/wiki/SREC_(file_format&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 08:03:30 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2015-11-17T08:03:30Z</dc:date>
    <item>
      <title>How can I understand the FLASH occupation?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412854#M11166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Good afternoon,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I am trying to understand how much FLASH memory is occupied by the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I have found some informations in the .map file but they are not in agreement with the .sx size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;.sx size: 9,616 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;.map informations: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summary of section sizes per section type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_ONLY (R):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F05 (dec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3845)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ_WRITE (R/W):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 142 (dec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 322)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO_INIT (N/I):&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; 161 (dec:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 353)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total size of all blocks to be downloaded: 3845&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is the right FLASH occupation? Which is the size of the downloaded code?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Fabrizio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 13:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412854#M11166</guid>
      <dc:creator>fabrizioimpinna</dc:creator>
      <dc:date>2015-11-16T13:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I understand the FLASH occupation?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412855#M11167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3845 is your used flash size. Size of S19 (SX) file is more than 2x bigger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/SREC_(file_format"&gt;https://en.wikipedia.org/wiki/SREC_(file_format&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 08:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412855#M11167</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2015-11-17T08:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I understand the FLASH occupation?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412856#M11168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed, you are right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Fabrizio, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just explanation of “Size of S19 (SX) file is more than 2x bigger”&lt;/P&gt;&lt;P&gt;In SREC file, every byte is interpreted as hexadecimal number – by two chars. For example 0b11111111=255=0xFF (in file it is just FF)&lt;/P&gt;&lt;P&gt;Additionally, SREC lines always contain type of record, number of bytes, address and CRC checksum.&lt;/P&gt;&lt;P&gt;SREC files may contain also quite unimportant header and debugger records…&lt;/P&gt;&lt;P&gt;Therefore size of SREC file does not fit with occupied flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 15:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412856#M11168</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2015-11-19T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I understand the FLASH occupation?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412857#M11169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice evening&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrizio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:13:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-can-I-understand-the-FLASH-occupation/m-p/412857#M11169</guid>
      <dc:creator>fabrizioimpinna</dc:creator>
      <dc:date>2015-11-19T16:13:15Z</dc:date>
    </item>
  </channel>
</rss>

