<?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 Unused RAM in a MAP file in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941535#M7798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Intro:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Unused RAM is named/identified as RAM_13 by a linker in a map file for release; however,&amp;nbsp;with debug enabled the unused RAM is named RAM_18 and sometimes like RAM_any-number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Is there any way to find how the name/identifier for an unused RAM is generated ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;I mean, I would like to have the same or to know the identifier&amp;nbsp;of&amp;nbsp;unused RAM for release and for development (debug) or how the identifier for unused RAM is generated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;In other words, is it possible to know the identifier&amp;nbsp;of&amp;nbsp;unused RAM before the build process ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10.0pt; "&gt;I appreciate any help in this matter !&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10.0pt; "&gt;Software: CodeWarrior Development Studio for MC9S12ZVML&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 14:29:46 GMT</pubDate>
    <dc:creator>almin_svraka</dc:creator>
    <dc:date>2019-09-18T14:29:46Z</dc:date>
    <item>
      <title>Unused RAM in a MAP file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941535#M7798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Intro:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Unused RAM is named/identified as RAM_13 by a linker in a map file for release; however,&amp;nbsp;with debug enabled the unused RAM is named RAM_18 and sometimes like RAM_any-number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;Is there any way to find how the name/identifier for an unused RAM is generated ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;I mean, I would like to have the same or to know the identifier&amp;nbsp;of&amp;nbsp;unused RAM for release and for development (debug) or how the identifier for unused RAM is generated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt;In other words, is it possible to know the identifier&amp;nbsp;of&amp;nbsp;unused RAM before the build process ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; "&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10.0pt; "&gt;I appreciate any help in this matter !&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10.0pt; "&gt;Software: CodeWarrior Development Studio for MC9S12ZVML&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 14:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941535#M7798</guid>
      <dc:creator>almin_svraka</dc:creator>
      <dc:date>2019-09-18T14:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unused RAM in a MAP file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941536#M7799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;symbol likes&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;RAM_13 is toolchain produced mid-symbol which is used by obj file. I don't think we can get it before build.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;if you want to know a memory section name, please define it manually for each section in prm file,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&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>Thu, 19 Sep 2019 06:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941536#M7799</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-19T06:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unused RAM in a MAP file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941537#M7800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I thank you for your quick reply.&lt;/P&gt;&lt;P&gt;The question was.&lt;/P&gt;&lt;P&gt;Is it possible to have an&amp;nbsp;identifier for unused RAM memory&amp;nbsp;for RELEASE and the same identifier for DEBUG ?&lt;/P&gt;&lt;P&gt;Basically, the linker creates one identifier for unused RAM for RELEASE and one for DEBUG (they have different names ex. RAM_13 and RAM 18), and it is critical&amp;nbsp;for my project that the identifier is identical for RELEASE and for DEBUG.&lt;/P&gt;&lt;P&gt;In addition, the size of unused RAM for release and for debug is different.&lt;/P&gt;&lt;P&gt;The idea is to have the same identifier for unused RAM for both: RELEASE and DEBUG (development).&lt;/P&gt;&lt;P&gt;I attached two images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate any help !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Almin Svraka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 11:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941537#M7800</guid>
      <dc:creator>almin_svraka</dc:creator>
      <dc:date>2019-09-19T11:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unused RAM in a MAP file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941538#M7801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI，&lt;/P&gt;&lt;P&gt;This mid-symbol is controlled by toolchain inside, as I know, CW doesn't have&amp;nbsp;user interface to change this mid-symbol.&lt;/P&gt;&lt;P&gt;Could you please share why the difference symbol name in release/debug mode cause you trouble?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&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, 20 Sep 2019 02:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941538#M7801</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-20T02:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unused RAM in a MAP file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941539#M7802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a function that runs periodically, and its main task is to scan unused RAM. The unused RAM in a build for release has RAM_18 identifier, so I can use it like (a snippet of code below)&amp;nbsp;to test all unused memory locations between _START and _END (to know if anything changed or not during run-time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define UNUSEDRAM_START (__SEG_START_RAM_18)&lt;BR /&gt;#define UNUSEDRAM_END (__SEG_END_RAM_18)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the build type from RELEASE to DEBUG the linker generates an identifier,&amp;nbsp;RAM_13, in a map file for unused RAM.&lt;/P&gt;&lt;P&gt;When I change the build type from DEBUG to RELEASE the linker generates an identifier, RAM_18 or RAM_XX&amp;nbsp; (XX can be any number), in a map file for unused RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, the goal is to have a common identifier for unused RAM (like RAM_UNUSED) independent from the BUILD type and not to change the code every time the build type is changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Almin Svraka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 12:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941539#M7802</guid>
      <dc:creator>almin_svraka</dc:creator>
      <dc:date>2019-09-20T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unused RAM in a MAP file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941540#M7803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can get unused memory with mid-segment name like&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;RAM_18.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We can get start/end used section name with&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;__SEG_START_ and &lt;SPAN&gt;__SEG_END_, the segment followed with it must be defined by users. when you use&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;__SEG_END_ get a used address, the following memory addresses are unused memory in this segment.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 03:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unused-RAM-in-a-MAP-file/m-p/941540#M7803</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-23T03:28:42Z</dc:date>
    </item>
  </channel>
</rss>

