<?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: Cosmic compiler for s12 producing RAM section in S19 file. in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Cosmic-compiler-for-s12-producing-RAM-section-in-S19-file/m-p/263315#M9792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nandu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check your map-file (Test.map). It says there is 40 bytes of global data declared in main.o which has initial values assigned.&lt;/P&gt;&lt;P&gt;If you comment this (or remove the assignment) in main.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volatile unsigned char data_global[20]={0x01};&lt;/P&gt;&lt;P&gt;volatile unsigned char data_static[20]={0x02};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;then the RAM entries in the s-record file should be gone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;MJW&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 11:46:40 GMT</pubDate>
    <dc:creator>MJW</dc:creator>
    <dc:date>2013-07-10T11:46:40Z</dc:date>
    <item>
      <title>Cosmic compiler for s12 producing RAM section in S19 file.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Cosmic-compiler-for-s12-producing-RAM-section-in-S19-file/m-p/263314#M9791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the Cosmic compiler 4.8.9 for S12G128 freesclae micro.I have my own linker script and batch file to build the s19 record.&lt;/P&gt;&lt;P&gt;The problem i am having is RAM addresses are generated in the s19 file generated though i dont have any RAM data auto intialization enabled..&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using possible options in chex utility to suppress RAM address but i&amp;nbsp; just cant't stop it in s19 file.&lt;/P&gt;&lt;P&gt;How can i suppress this? Why is the linker populating RAM address section in s19 file?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the linker file and batch file for reference.Please clarify it.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shown below is the s19 record.Highlighted in RED is the RAM address!!!!. But why?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S00B0000546573742E7831324B&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;S2240020000100000000000000000000000000000000000000020000000000000000000000B8&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;S20C0020200000000000000000B3&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S21B00C00087C7CE202820026C318E202825F9CF400016C01720FE0BE8&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S21700C0171BF1EC1980CEC02AC60A180231710431F920FEF0&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S21800C02A0300000000000000000000000000000000000000FA&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S22400FF80C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016FC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S22400FFA0C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016DC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S22400FFC0C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016BC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S22400FFE0C016C016C016C016C016C016C016C016C016C016C016C016C016C016C016C000B2&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S804FFFFFFFE&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nandu&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338478"&gt;Test.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 10:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Cosmic-compiler-for-s12-producing-RAM-section-in-S19-file/m-p/263314#M9791</guid>
      <dc:creator>sreedharannandu</dc:creator>
      <dc:date>2013-07-10T10:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cosmic compiler for s12 producing RAM section in S19 file.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Cosmic-compiler-for-s12-producing-RAM-section-in-S19-file/m-p/263315#M9792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nandu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check your map-file (Test.map). It says there is 40 bytes of global data declared in main.o which has initial values assigned.&lt;/P&gt;&lt;P&gt;If you comment this (or remove the assignment) in main.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volatile unsigned char data_global[20]={0x01};&lt;/P&gt;&lt;P&gt;volatile unsigned char data_static[20]={0x02};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;then the RAM entries in the s-record file should be gone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;MJW&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 11:46:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Cosmic-compiler-for-s12-producing-RAM-section-in-S19-file/m-p/263315#M9792</guid>
      <dc:creator>MJW</dc:creator>
      <dc:date>2013-07-10T11:46:40Z</dc:date>
    </item>
  </channel>
</rss>

