<?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: Program size exploded; errors prevent map file generation in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188709#M4652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's possible (I don't use PE, so I'm not sure) that the PE routine for UART include some function to print messages to a console (like printf for example).&lt;/P&gt;&lt;P&gt;You can check the files generated by PE to see what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye Jack&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 21:18:31 GMT</pubDate>
    <dc:creator>jag</dc:creator>
    <dc:date>2009-06-24T21:18:31Z</dc:date>
    <item>
      <title>Program size exploded; errors prevent map file generation</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188707#M4650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last week, I had a nice program of about&amp;nbsp;7KB or thereabouts.&amp;nbsp; I added a serial port (via PE), and some code to go with it, and fixed some other stuff.&amp;nbsp; Today, the program had exploded to over 88K!!&amp;nbsp; It still compiles, but I get "segment overflow" errors from the linker.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming that something added a library, or something.&amp;nbsp; But since the linker won't make a map until it links, there isn't any obvious way to debug it.&amp;nbsp; Is there some way to force the linker to make a map, even for a corrupted file?&amp;nbsp; If not, is there some other way to figure what the memory is being allocated to?&amp;nbsp; Unfortunately, I&amp;nbsp; can't go back to Friday's code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gary Olmstead&lt;/P&gt;&lt;P&gt;Toucan Technology&lt;/P&gt;&lt;P&gt;Ventura CA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 09:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188707#M4650</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2009-06-09T09:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Program size exploded; errors prevent map file generation</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188708#M4651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gary,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the moment there are no way to generate the map file with this type of problem.&lt;/P&gt;&lt;P&gt;The linker should generate an error with some infomation about the overflow like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Link Error&amp;nbsp;&amp;nbsp; : Segment overflow: .p_interrupts_RAM&lt;BR /&gt;&amp;nbsp; Reserved size is 0x00000010 -- Overflow 0x000000f4&lt;/P&gt;&lt;P&gt;&amp;nbsp;Link failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want get the map file you can increase the memory.&lt;/P&gt;&lt;P&gt;The linker doesn't check if the memory size commits the real memory.&lt;/P&gt;&lt;P&gt;So you can increase it or change the memory definition in order to get the map file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188708#M4651</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2009-06-09T17:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Program size exploded; errors prevent map file generation</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188709#M4652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's possible (I don't use PE, so I'm not sure) that the PE routine for UART include some function to print messages to a console (like printf for example).&lt;/P&gt;&lt;P&gt;You can check the files generated by PE to see what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye Jack&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 21:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Program-size-exploded-errors-prevent-map-file-generation/m-p/188709#M4652</guid>
      <dc:creator>jag</dc:creator>
      <dc:date>2009-06-24T21:18:31Z</dc:date>
    </item>
  </channel>
</rss>

