<?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: possible bug in debugger? in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214339#M8416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For ram, RPAGE == 0 maps the registers to the 0x1000 block.&lt;/P&gt;&lt;P&gt;For EEPROM, there are devices like the EP100 which have different types of eeprom, the EPAGE values for one start at 0 (0,1,2,...) and for the other they start at 0xFF and then count downwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For S08's with PPAGE (QE128 and others) PPAGE value 0,1,2,3, and so fourth are used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the S12(X) I'm unaware that PPAGE==0 would be legal, but as the EPAGE shows this can change with new devices.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyhow, the &amp;nbsp;debugger uses logical addresses even for addresses &amp;lt; 0x10000, so 0x8000 means PPAGE == 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 05:21:52 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2010-07-29T05:21:52Z</dc:date>
    <item>
      <title>possible bug in debugger?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214336#M8413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using "&lt;SPAN style="font-size: 1;"&gt;CodeWarrior_for_S12X_V5_0&lt;/SPAN&gt;" with True-Time Debugger ver 6.1, build 9061 to develop/debug software for the 9S12XE384.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understand it, If PPAGE is set to 0xFD, then at 0x8000'L I should see the same memory as I would see viewing 0x7F4000'G. This appears to be a correct understanding. With PPAGE = 0xFF, the views for 0x8000'L and 0x7FC000'G are the same. Likewise for several other pages of FLASH ROM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, with PPAGE = 0xFD, I see different memory content depending on whether I am viewing 0x8000'L or 0x7F8000'G.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug in the debugger?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a ZIP file with screen pictures of what I am seeing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 02:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214336#M8413</guid>
      <dc:creator>rlw</dc:creator>
      <dc:date>2010-07-22T02:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: possible bug in debugger?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214337#M8414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you see at 0xFE8000'L?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One issue here is that the debugger might be using logical (24 bit) addresses, not local (16 bit) addresses.&lt;/P&gt;&lt;P&gt;So 0x8000 may mean (not sure in your setup) PPAGE==0 and local address 0x8000. As I see it, 0x8000 is not a valid logical address. (It is a valid local address, but there is no Local address space).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 05:41:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214337#M8414</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-07-22T05:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: possible bug in debugger?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214338#M8415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I said, for every (valid) setting of PPAGE, the view at 0x8000 matched the corresponding view at 7Fx000 (or 7Ex000, etc), except for that one, as shown in the screen pics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for Logical vs Local addresses. since there is yet to be a part with enough FLASH ROM to have a page 0x00, it is not unreasonable to treat Logical Addresses less then 0x10000 as Local Addresses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This rational appears to apply to paged RAM and EEPROM as well. However, I have never tested that since I have not yet needed more RAM and EEPROM than appears by default in the Local Address space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 00:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214338#M8415</guid>
      <dc:creator>rlw</dc:creator>
      <dc:date>2010-07-29T00:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: possible bug in debugger?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214339#M8416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For ram, RPAGE == 0 maps the registers to the 0x1000 block.&lt;/P&gt;&lt;P&gt;For EEPROM, there are devices like the EP100 which have different types of eeprom, the EPAGE values for one start at 0 (0,1,2,...) and for the other they start at 0xFF and then count downwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For S08's with PPAGE (QE128 and others) PPAGE value 0,1,2,3, and so fourth are used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the S12(X) I'm unaware that PPAGE==0 would be legal, but as the EPAGE shows this can change with new devices.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyhow, the &amp;nbsp;debugger uses logical addresses even for addresses &amp;lt; 0x10000, so 0x8000 means PPAGE == 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 05:21:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/possible-bug-in-debugger/m-p/214339#M8416</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-07-29T05:21:52Z</dc:date>
    </item>
  </channel>
</rss>

