<?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 Development Tools中的主题 Re: bad load address in s-record</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903337#M7607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for reply.&lt;BR /&gt;the CW generates two files for me: Project.abs.glo and Project.abs.s19.&lt;BR /&gt;the s-records of .bas.s19 file corresponds with .abs.glo file as you pointed.&lt;BR /&gt;for example: &lt;BR /&gt;this record in .abs.s19: S123FF10C000C000C000C000C000C000C000C000C000C000C000C000C000C000C000C000CD&lt;BR /&gt;corresponds with .abs.glo record: S2247FFF10C000C000C000C000C000C000C000C000C000C000C000C000C000C000C000C0004D &lt;BR /&gt;now i have converted the project.abs.s19 file to OUT.s19 file using SRecCvt as mentioned in AN4258. then i download the OUT.s19 file to uc.&lt;BR /&gt;the attached file is generated by SRecCvt software and it is not generated directly by CW.&lt;BR /&gt;but the problem is something else:&lt;BR /&gt;in Bootloader_S12X\source\main.c we have this block code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (!((ProgSRec.LoadAddr &amp;gt;= 0x7E0000UL) &amp;amp;&amp;amp; (ProgSRec.LoadAddr &amp;lt;= 0x7FEFDFUL)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return(SRecRangeError);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, the record with address of 7FFF00 will be rejected. how can i make the compiler not to generate out of ranged address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2019 07:40:19 GMT</pubDate>
    <dc:creator>ma85_bahar</dc:creator>
    <dc:date>2019-05-23T07:40:19Z</dc:date>
    <item>
      <title>bad load address in s-record</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903335#M7605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every one. I want to download s19 file on s12xs128 using Bootloader_S12. I do the all settings and configurations as mentioned on AN4258.&lt;BR /&gt; the output file (out.S19) is attached. the download error occurs when it comes to this record:&lt;BR /&gt; S2247FFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC000C000C000C000C000C000C000C0006D.&lt;BR /&gt; the 7FFF00 address is invalid . and "S-Record Out Of Range" error message appears.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i fix it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 11:19:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903335#M7605</guid>
      <dc:creator>ma85_bahar</dc:creator>
      <dc:date>2019-05-22T11:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: bad load address in s-record</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903336#M7606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="331836" data-username="ma85.bahar@gmail.com" href="https://community.nxp.com/people/ma85.bahar@gmail.com"&gt;Mohammad Ali Bahar&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;I checked your .s19 file. The burning address(7FC000...) included in this file is global address but not logical address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;Generally after a successful link, CW will generate two burning file. .s19(use logical address) and .glo(use global address) file. your .s19 file should be actually .glo file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;.s19 file uses logical address(Banked addresses). It is the 16bit address from 0-0xffff. The flash page info is from 0x8000 to 0xbfff. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;The .glo uses 23bit global map.&amp;nbsp; global address 0x7FFF00 is corresponding with the logical address 0xFF00.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;In the case you only have global address .glo file, you can convert it to logical address (Banked addresses) with&amp;nbsp; SRECCVTSW. you can find the SRECCVTSW in the application note for bootloader for S12Z&amp;nbsp;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note-software%2FAN12086SW.ZIP" rel="nofollow" target="_blank"&gt;AN12086SW.zip&lt;/A&gt;&lt;BR /&gt;&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, 23 May 2019 06:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903336#M7606</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-05-23T06:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: bad load address in s-record</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903337#M7607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for reply.&lt;BR /&gt;the CW generates two files for me: Project.abs.glo and Project.abs.s19.&lt;BR /&gt;the s-records of .bas.s19 file corresponds with .abs.glo file as you pointed.&lt;BR /&gt;for example: &lt;BR /&gt;this record in .abs.s19: S123FF10C000C000C000C000C000C000C000C000C000C000C000C000C000C000C000C000CD&lt;BR /&gt;corresponds with .abs.glo record: S2247FFF10C000C000C000C000C000C000C000C000C000C000C000C000C000C000C000C0004D &lt;BR /&gt;now i have converted the project.abs.s19 file to OUT.s19 file using SRecCvt as mentioned in AN4258. then i download the OUT.s19 file to uc.&lt;BR /&gt;the attached file is generated by SRecCvt software and it is not generated directly by CW.&lt;BR /&gt;but the problem is something else:&lt;BR /&gt;in Bootloader_S12X\source\main.c we have this block code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (!((ProgSRec.LoadAddr &amp;gt;= 0x7E0000UL) &amp;amp;&amp;amp; (ProgSRec.LoadAddr &amp;lt;= 0x7FEFDFUL)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return(SRecRangeError);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, the record with address of 7FFF00 will be rejected. how can i make the compiler not to generate out of ranged address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2019 07:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903337#M7607</guid>
      <dc:creator>ma85_bahar</dc:creator>
      <dc:date>2019-05-23T07:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: bad load address in s-record</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903338#M7608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="331836" data-username="ma85.bahar@gmail.com" href="https://community.nxp.com/people/ma85.bahar@gmail.com"&gt;Mohammad Ali Bahar&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;We can also Convert&amp;nbsp; between Logical Addresses and Global Addresses with HCS12XAdrMap.exe. you can directly open this application by going to : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files\Freescale\Codewarrior for HC12 V5.1\Prog &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;and clicking on HCS12XAdrMap.exe&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>Fri, 24 May 2019 01:58:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/bad-load-address-in-s-record/m-p/903338#M7608</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-05-24T01:58:45Z</dc:date>
    </item>
  </channel>
</rss>

