<?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: No Reset Vector Value in glo file? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911920#M16505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ROMHM affects what is mapped to non banked 0x4000-0x7FFF, either flash page 0xFD or EEPROM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your glo file is correct. Global 0x7FFFFA corresponds to non banked 0xFFFA. The math for S12X flash is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global_address = page_offset + page_size * PPAGE + 0x400000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page_size = 0x4000&lt;/P&gt;&lt;P&gt;page_offset = 0xFFFA % page_size = 0xFFFA &amp;amp; (page_size-1) = 0x3FFA&lt;/P&gt;&lt;P&gt;PPAGE = 0xFF&lt;/P&gt;&lt;P&gt;For details, as well for what 0x400000 comes from look at Figure 3-12. PPAGE Address mapping. 0x400000 corresponds to bit22=1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2019 12:11:18 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2019-05-28T12:11:18Z</dc:date>
    <item>
      <title>No Reset Vector Value in glo file?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911918#M16503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCU is MC9S12XEQ512,compile the offical bootloader project and get one glo and one s19 file in the directory 'bin'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the project's prm file,I get source codes like:&lt;/P&gt;&lt;P&gt;VECTOR 0 _BootStart&lt;/P&gt;&lt;P&gt;VECTOR 1 _BootStart&lt;/P&gt;&lt;P&gt;VECTOR 2 _BootStart&lt;/P&gt;&lt;P&gt;In s19 file,i get the expected code:&lt;/P&gt;&lt;P&gt;S109&lt;STRONG&gt;FFFA&lt;/STRONG&gt;F000F000F0002D&lt;/P&gt;&lt;P&gt;But in glo file,i get the unexpected code:&lt;/P&gt;&lt;P&gt;S20A&lt;STRONG&gt;7FFFFA&lt;/STRONG&gt;F000F000F000AD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description of&amp;nbsp;PPAGE&amp;nbsp;register in the datasheet,i get following words:&lt;/P&gt;&lt;P&gt;The fixed 16KB page from 0x4000~0x7FFF is the page number 0xFD;&lt;/P&gt;&lt;P&gt;The fixed 16KB page from 0xC000~0xFFFF is the page number 0xFF;&lt;/P&gt;&lt;P&gt;The 16KB page from 0x8000~0xBFFF mapped&amp;nbsp;range is&amp;nbsp;0x780000~0x&lt;STRONG&gt;7F&lt;/STRONG&gt;FFFF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upgrade processing use the glo file,but there is no Reset Vector Value(0xFFFA~0xFFFE) in glo file,how does this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 03:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911918#M16503</guid>
      <dc:creator>everkimage</dc:creator>
      <dc:date>2019-05-28T03:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: No Reset Vector Value in glo file?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911919#M16504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;0x7FFFFA is Global Address.If ROMHM is 0,0xC000~0xFFFF will be mapped to 0x7FC000~0x7FFFFF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Is it right?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 09:46:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911919#M16504</guid>
      <dc:creator>everkimage</dc:creator>
      <dc:date>2019-05-28T09:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: No Reset Vector Value in glo file?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911920#M16505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ROMHM affects what is mapped to non banked 0x4000-0x7FFF, either flash page 0xFD or EEPROM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your glo file is correct. Global 0x7FFFFA corresponds to non banked 0xFFFA. The math for S12X flash is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global_address = page_offset + page_size * PPAGE + 0x400000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page_size = 0x4000&lt;/P&gt;&lt;P&gt;page_offset = 0xFFFA % page_size = 0xFFFA &amp;amp; (page_size-1) = 0x3FFA&lt;/P&gt;&lt;P&gt;PPAGE = 0xFF&lt;/P&gt;&lt;P&gt;For details, as well for what 0x400000 comes from look at Figure 3-12. PPAGE Address mapping. 0x400000 corresponds to bit22=1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 12:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/No-Reset-Vector-Value-in-glo-file/m-p/911920#M16505</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-05-28T12:11:18Z</dc:date>
    </item>
  </channel>
</rss>

