<?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>Other NXP ProductsのトピックRe: S-record issue</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/S-record-issue/m-p/140814#M252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are looking for building a stand alone application for your MPC55xx project. Am I right?&lt;/DIV&gt;&lt;DIV&gt;If this is the case you need to create a ROM image for your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I checked your .lcf file and it seems it is set up for ROM image creation. All you need is to add the options -romaddr and -rambuffer to your linker command line.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The address specified in romaddr and rambuffer must be the start address of the flash memory area.&lt;/DIV&gt;&lt;DIV&gt;In your case "-romaddr 0x00002000 -rambuffer 0x00002000"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 15:21:57 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2007-07-23T15:21:57Z</dc:date>
    <item>
      <title>S-record issue</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S-record-issue/m-p/140813#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666" size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#666666" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;I am using CodeWarrior for MPC5500 v2.1 and have&amp;nbsp;a problem for output file.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;Please find attached the output file, the linker file and the .MAP file.&amp;nbsp;&amp;nbsp;RAM section (0x40000000) is generated as part of the .s3 record but&amp;nbsp;RAM section should not appear in the .s3 record.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;S319400000000000000000000000000000000000000000000000A6&lt;BR /&gt;S319400000180000249C000024C8000024F4000025200000254C14&lt;BR /&gt;S3194000002C00002578000025A4000025D0000025FC00002628B0&lt;BR /&gt;S31940000040000027A000002838000028D0000028E800002914FA&lt;BR /&gt;S31140000054000029AC00002A4400002A5C91&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;Also, find&amp;nbsp;below the compiler and linker options that&amp;nbsp;I have used.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;**&amp;nbsp;Compiler&amp;nbsp;option **&lt;BR /&gt;CFLAGS=&amp;nbsp; -w on -opt all -char unsigned -sdatathreshold 0 -sdata2threshold 0 -c -use_isel on -proc Zen -use_lmw_stmw on -gdwarf-2 -cpp_exceptions off&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;** Linker option **&lt;BR /&gt;LFLAGS= -char unsigned -map -gdwarf-2 -srec -l "$(MPC55XX_LIBPATH)\Runtime\Lib" -lRuntime.PPCEABI.E.UC.a&amp;nbsp; -l "$(MPC55XX_LIBPATH)\MSL\MSL_C\PPC_EABI\Lib" -lMSL_C.PPCEABI.bare.E.UC.a -lcf&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;Would you please advice me?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;Best regards,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="449591115-18072007"&gt;&lt;FONT color="#666666" size="2"&gt;&lt;SPAN class="843513306-23072007"&gt;James&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 14:10:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S-record-issue/m-p/140813#M251</guid>
      <dc:creator>james-lee</dc:creator>
      <dc:date>2007-07-23T14:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: S-record issue</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/S-record-issue/m-p/140814#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are looking for building a stand alone application for your MPC55xx project. Am I right?&lt;/DIV&gt;&lt;DIV&gt;If this is the case you need to create a ROM image for your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I checked your .lcf file and it seems it is set up for ROM image creation. All you need is to add the options -romaddr and -rambuffer to your linker command line.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The address specified in romaddr and rambuffer must be the start address of the flash memory area.&lt;/DIV&gt;&lt;DIV&gt;In your case "-romaddr 0x00002000 -rambuffer 0x00002000"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 15:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/S-record-issue/m-p/140814#M252</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-07-23T15:21:57Z</dc:date>
    </item>
  </channel>
</rss>

