<?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>CodeWarrior for MCUのトピックRe: ERROR L1102 when migrating source code built by CW 6.3 to CW 10.2 project</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150259#M3569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hong, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would seem that your compiled code size&amp;nbsp; has reached the limit&amp;nbsp;for the combined ROM and ROM_HWTEST sections.&amp;nbsp; However, the memory range 0xE000 to 0xE1FF is currently unused by the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could gain an extra 512 bytes of flash by altering the PRM file so that ROM_HWTEST section covers the range 0xE000 to 0xE1FF, and the ROM section from 0xE200 to 0xFDBF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible that the later compiler may generate a different code size from the earlier compiler, perhaps because of different optimization settings.&amp;nbsp;&amp;nbsp;Compare the map files for the project, to see where compiled size&amp;nbsp;differences may have occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 22:59:48 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2012-04-02T22:59:48Z</dc:date>
    <item>
      <title>ERROR L1102 when migrating source code built by CW 6.3 to CW 10.2 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150257#M3567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chip is MC9S08QG8. I'm a newbie of CW and try to build a bunch of C code files with CW10.2.&lt;/P&gt;&lt;P&gt;The like error message is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;ERROR L1102: Out of allocation space in segment ROM_HWTEST at address 0xE3E1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The content of *.prm file is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;NAMES&lt;/P&gt;&lt;P align="left"&gt;END&lt;/P&gt;&lt;P align="left"&gt;SECTIONS&lt;/P&gt;&lt;P align="left"&gt;Z_RAM =&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;READ_WRITE&lt;/STRONG&gt; &lt;SPAN style="font-size: 2;"&gt;0x0060&lt;/SPAN&gt; &lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;TO&lt;/STRONG&gt;&lt;SPAN style=": ; font-size: 2;"&gt;0x00FF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;RAM =&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;READ_WRITE&lt;/STRONG&gt; &lt;SPAN style="font-size: 2;"&gt;0x0100&lt;/SPAN&gt; &lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;TO&lt;/STRONG&gt;&lt;SPAN style=": ; font-size: 2;"&gt;0x025F;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;ROM =&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;READ_ONLY&lt;/STRONG&gt; &lt;SPAN style="font-size: 2;"&gt;0xE400&lt;/SPAN&gt; &lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;TO&lt;/STRONG&gt;&lt;SPAN style=": ; font-size: 2;"&gt;0xFDBF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;ROM_HWTEST =&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;READ_ONLY&lt;/STRONG&gt; &lt;SPAN style="font-size: 2;"&gt;0xE200&lt;/SPAN&gt; &lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;TO&lt;/STRONG&gt; &lt;SPAN style="font-size: 2;"&gt;0xE3FF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;END&lt;/P&gt;&lt;P align="left"&gt;PLACEMENT&lt;/P&gt;&lt;P align="left"&gt;DEFAULT_RAM,&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #CC0000; font-size: 2;"&gt;/* non-zero page variables */&lt;/SPAN&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;INTO&lt;/STRONG&gt;&lt;SPAN style=": ; font-size: 2;"&gt;RAM;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;DEFAULT_ROM, ROM_VAR, STRINGS&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;INTO&lt;/STRONG&gt;&lt;SPAN style=": ; font-size: 2;"&gt;ROM,ROM_HWTEST;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;_DATA_ZEROPAGE,&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #CC0000; font-size: 2;"&gt;/* zero page variables */&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;MY_ZEROPAGE&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #006699; font-size: 2;"&gt;INTO&lt;/STRONG&gt; &lt;SPAN style="font-size: 2;"&gt;Z_RAM;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;END&lt;/P&gt;&lt;P align="left"&gt;INIT&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;_EntryPoint&lt;/SPAN&gt; &lt;SPAN style=": ; color: #CC0000; font-size: 2;"&gt;/* The entry point of the application. This function is generated into the CPU module. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;STACKSIZE&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;0x0040&lt;/SPAN&gt; &lt;SPAN style=": ; color: #CC0000; font-size: 2;"&gt;/* Size of the system stack. Value can be changed on the "Build options" tab */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anybody have any clue about this problem, or how can I compare the configurations, arguments, etc. of the new project and old project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;-Hong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2012 03:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150257#M3567</guid>
      <dc:creator>JohnHomer</dc:creator>
      <dc:date>2012-03-31T03:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR L1102 when migrating source code built by CW 6.3 to CW 10.2 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150258#M3568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, did you use the Project Importer feature to migrate your CW 6.2 project to 10.2? If not, you shold consider using it. In order to do so, go to: File &amp;gt; Import &amp;gt; CodeWarrior &amp;gt; CodeWarrior Classic Project Importer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things should work as expected if you use the importer _and_ the project used to build successfully on 6.3. If it still does not build, we can take it from there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;theo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 15:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150258#M3568</guid>
      <dc:creator>theo</dc:creator>
      <dc:date>2012-04-02T15:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR L1102 when migrating source code built by CW 6.3 to CW 10.2 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150259#M3569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hong, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would seem that your compiled code size&amp;nbsp; has reached the limit&amp;nbsp;for the combined ROM and ROM_HWTEST sections.&amp;nbsp; However, the memory range 0xE000 to 0xE1FF is currently unused by the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could gain an extra 512 bytes of flash by altering the PRM file so that ROM_HWTEST section covers the range 0xE000 to 0xE1FF, and the ROM section from 0xE200 to 0xFDBF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible that the later compiler may generate a different code size from the earlier compiler, perhaps because of different optimization settings.&amp;nbsp;&amp;nbsp;Compare the map files for the project, to see where compiled size&amp;nbsp;differences may have occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 22:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150259#M3569</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-04-02T22:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR L1102 when migrating source code built by CW 6.3 to CW 10.2 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150260#M3570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your answers. Finally, I figured out the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. As theo said, the project was built in 6.2, and then built in 6.3 without any probklem. Now when I use the importer for classic CodeWarrior project, the code can be imported, but the ProcessorExpert files were not imported.&amp;nbsp;Because I have several configurations in the project, some worked and some not, I can't switch to another configurations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I solved this problem by generate a new PE file in the 10.2 project, and use the PE file in the old 6.3 project to overwrite it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Mac, Although I didn't try your idea, I belive your are right!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I found, if I set -OnB=b in Compiler settings, the problem can also be solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Another method is changing the PLACEMENT in prm file to:&lt;/P&gt;&lt;P&gt;PLACEMENT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT_RAM&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;&amp;nbsp; /* non-zero page variables */&lt;BR /&gt;&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;&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; INTO&amp;nbsp; RAM;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFAULT_ROM, ROM_VAR, STRINGS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO&amp;nbsp; ROM;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _DATA_ZEROPAGE,&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; /* zero page variables */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MY_ZEROPAGE&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;&amp;nbsp; INTO&amp;nbsp; Z_RAM;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST_ROM&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO&amp;nbsp; ROM_HWTEST;&lt;BR /&gt;END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now the problem is: each time I run "Generate Processor Expert Code", this change is overwritten.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does anyone know how to configure in CW10 GUI so that the generated prm file looks like above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;--Hong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 04:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ERROR-L1102-when-migrating-source-code-built-by-CW-6-3-to-CW-10/m-p/150260#M3570</guid>
      <dc:creator>JohnHomer</dc:creator>
      <dc:date>2012-04-27T04:57:29Z</dc:date>
    </item>
  </channel>
</rss>

