<?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>S12 / MagniV MicrocontrollersのトピックRe: Debugging Memory Map Changes Lead to NVM Error</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183009#M6788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not change Registers and RAM settings in debugger memory map. Warning "This is a debugger predefined module. Deleting or changing this module might lead to debugging missing information" should&amp;nbsp;not be ignored!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugger is smart enough to detect you changed INITRM, INITRG or INITEE registers settings.You shouldn't remap them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugging flash or EEPROM write/erase routines you may need to check "referesh memory when halting" checkbox in corresponding flash/EEPROM memory. Most likely everything else should be kept not touched.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check if registers are visible @0x7000 after INITRG=0x70. It seems debugger has a bug and doesn't refresh registers at 0x7000&amp;nbsp;while nonpaged flash @0x4000 is not refreshed. You need to check "refresh memory when halting" for nonpaged flash 0x4000-0x7FFF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Mar 2010 14:30:21 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2010-03-15T14:30:21Z</dc:date>
    <item>
      <title>Debugging Memory Map Changes Lead to NVM Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183008#M6787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to debug memory locations in an MC9S12A32 using CodeWarrior and a PE Micro USB Multilink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I change the debugging memory map locations from default, I get the following error on the next debugging session:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Error while loading diagnostics algorithm for target..."&amp;nbsp; in a Non Volatile Memory error box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The device still programs, and the RAM contents do seem to update properly, but I'm not able to launch the "Flash..." dialog box from the toolbar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are my updated memory map locations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Registers $7000 - $73FF&lt;/P&gt;&lt;P&gt;RAM $0000 - $07FF&lt;/P&gt;&lt;P&gt;EEPROM $2000 - $27FF&lt;/P&gt;&lt;P&gt;Unbanked Flash 4000 $4000 - $7FFF&lt;/P&gt;&lt;P&gt;Flash Window $8000 - $BFFF&lt;/P&gt;&lt;P&gt;Unbanked Flash C000 $C000 - $FFFF&lt;/P&gt;&lt;P&gt;Banked Flash $3E8000 - $3FBFFF&lt;/P&gt;&lt;P&gt;Banked Memory $18000 - $3DBFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm only using Registers, RAM, and EEPROM, and I'm not sure if the fact that Registers overlap Unbanked Flash 4000 might cause a problem.&amp;nbsp;&amp;nbsp; I tried disabling the Unbanked Flash 4000, but that didn't seem to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on what to change in the memory map to make the error go away?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 04:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183008#M6787</guid>
      <dc:creator>drewrainwater</dc:creator>
      <dc:date>2010-03-15T04:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Memory Map Changes Lead to NVM Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183009#M6788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not change Registers and RAM settings in debugger memory map. Warning "This is a debugger predefined module. Deleting or changing this module might lead to debugging missing information" should&amp;nbsp;not be ignored!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugger is smart enough to detect you changed INITRM, INITRG or INITEE registers settings.You shouldn't remap them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugging flash or EEPROM write/erase routines you may need to check "referesh memory when halting" checkbox in corresponding flash/EEPROM memory. Most likely everything else should be kept not touched.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check if registers are visible @0x7000 after INITRG=0x70. It seems debugger has a bug and doesn't refresh registers at 0x7000&amp;nbsp;while nonpaged flash @0x4000 is not refreshed. You need to check "refresh memory when halting" for nonpaged flash 0x4000-0x7FFF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 14:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183009#M6788</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-03-15T14:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Memory Map Changes Lead to NVM Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183010#M6789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Kef.&amp;nbsp; That bug was what caused me to think I needed to update the Debugging Memory Mapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything seems to update correctly now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 09:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugging-Memory-Map-Changes-Lead-to-NVM-Error/m-p/183010#M6789</guid>
      <dc:creator>drewrainwater</dc:creator>
      <dc:date>2010-03-16T09:09:09Z</dc:date>
    </item>
  </channel>
</rss>

