<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: Mismatch between generated S19 file and XMAP file?</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186153#M7807</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;The sections size displayed in the .XMAP file represents the actual section size from output section .text.&lt;/P&gt;&lt;P&gt;In your .lcf file you have the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .data_bss : AT(___DATA_ROM)&lt;BR /&gt;which tells the linker to store initialization value for the output section .data at address __DATA_ROM (i.e. after the section .text).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is why your .srecord file contains data after the address 0003E190.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 17:50:28 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2010-03-25T17:50:28Z</dc:date>
    <item>
      <title>Mismatch between generated S19 file and XMAP file?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186152#M7806</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;My S19 file shows data in address (ROM) where the XMAP file tells me there should not be any data...&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some code for MCF52235 and compiled/linked in CW 6.3.&lt;/P&gt;&lt;P&gt;This code I place from address 0x0001 C000 (se linker file).&lt;/P&gt;&lt;P&gt;Max. internal flash (ROM) is 0x0003 FFFF (256K)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The linker generates an error if i use length 0x00024000 for ROM, so I just use 0x26000 for testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From lcf file&lt;/P&gt;&lt;P&gt;# NB! Should have been LENGTH = 0x00024000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x0001C000,&amp;nbsp; LENGTH = 0x00026000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do program this code anyway and it seems to run fine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the XMAP file the ROM ends at 0003E190:&lt;/P&gt;&lt;P&gt;&amp;gt;0003E190&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___DATA_ROM (linker command file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in the S19 data continues to about&amp;nbsp; 00040B58&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can anyone explain to me what is happening here?&lt;/P&gt;&lt;P&gt;What is this data in S19 that goes beoynd the XMAP last ROM address 0003E190?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peder Olav&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS! I have atteched lcf, s19 and xmap files (the xmap and lcf files are just renamed to txt due some restrictions at this forum)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 16:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186152#M7806</guid>
      <dc:creator>PederOlav</dc:creator>
      <dc:date>2010-03-25T16:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mismatch between generated S19 file and XMAP file?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186153#M7807</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;The sections size displayed in the .XMAP file represents the actual section size from output section .text.&lt;/P&gt;&lt;P&gt;In your .lcf file you have the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .data_bss : AT(___DATA_ROM)&lt;BR /&gt;which tells the linker to store initialization value for the output section .data at address __DATA_ROM (i.e. after the section .text).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is why your .srecord file contains data after the address 0003E190.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 17:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186153#M7807</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-03-25T17:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mismatch between generated S19 file and XMAP file?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186154#M7808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might also be a good idea to splitup&amp;nbsp;&amp;nbsp;.data_bss in the lcf to 2 sections, one for initialized data and one for uninitialized data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When not using the AT for the .bss part, there would be no ROM memory allocated for the 0 initialized data. See the lcf's in the CW samples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 23:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186154#M7808</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-03-25T23:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mismatch between generated S19 file and XMAP file?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186155#M7809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will look more into how the link file works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 03:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Mismatch-between-generated-S19-file-and-XMAP-file/m-p/186155#M7809</guid>
      <dc:creator>PederOlav</dc:creator>
      <dc:date>2010-03-26T03:30:23Z</dc:date>
    </item>
  </channel>
</rss>

