<?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: EEPROM is erased while reprogramming.</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134309#M2037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;What happens if you comment out the EEPROM segment in the .prm file?&amp;nbsp; Since you can use that file to force code segments into specific memory locations, it seems reasonable that if a segment is defined there but not used, the&amp;nbsp;loader&amp;nbsp;should assume that you want it to be blank.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2006 23:21:21 GMT</pubDate>
    <dc:creator>rhinoceroshead</dc:creator>
    <dc:date>2006-05-05T23:21:21Z</dc:date>
    <item>
      <title>EEPROM is erased while reprogramming.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134307#M2035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Is there anyway to preserve EEPROM while reprograming with the BDM?&amp;nbsp; I have tried commenting out the mass erase EEPROM commands in the CMD file, but EEPROM still seems to get erased.&amp;nbsp; Any ideas?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Ben&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 00:15:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134307#M2035</guid>
      <dc:creator>benstickrod</dc:creator>
      <dc:date>2006-05-02T00:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM is erased while reprogramming.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134308#M2036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;My FPP file says that EEPROM is mapped to 2000 - 2FFF, In code, the EEPROM is mapped to 800 - FFF.&amp;nbsp; Could this be the problem?&amp;nbsp; I am using a MC9S12DG128B.&amp;nbsp; Is there a way to change the FPP file?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Ben&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 01:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134308#M2036</guid>
      <dc:creator>benstickrod</dc:creator>
      <dc:date>2006-05-02T01:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM is erased while reprogramming.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134309#M2037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;What happens if you comment out the EEPROM segment in the .prm file?&amp;nbsp; Since you can use that file to force code segments into specific memory locations, it seems reasonable that if a segment is defined there but not used, the&amp;nbsp;loader&amp;nbsp;should assume that you want it to be blank.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 23:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134309#M2037</guid>
      <dc:creator>rhinoceroshead</dc:creator>
      <dc:date>2006-05-05T23:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM is erased while reprogramming.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134310#M2038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I assume you are using a Multilink or Cyclone Pro cable for debugging.&lt;BR /&gt;If you are using CodeWarrior for HC12 V4.5&lt;/P&gt;&lt;P&gt;Am I right?&lt;/P&gt;&lt;P&gt;If this is the case you can use the command AEFSKIPERASING to prevent EEPROM to be erased when you download your application to FLASH.&lt;/P&gt;&lt;P&gt;Extract from Notes_debugger_icd12.txt:&lt;BR /&gt;"The new command AEFSKIPERASING has been created to specify non volatile memory blocks to protect from mass erasing at application loading.&lt;BR /&gt;&amp;nbsp;The command should be placed in a "Startup" command file.&lt;BR /&gt;&amp;nbsp;The command syntax is:&lt;BR /&gt;&amp;nbsp;FLASH AEFSKIPERASING &amp;lt;blockNo&amp;gt;&lt;BR /&gt;&amp;nbsp;with blockNo = {number["-"number][","]}&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;For example, "FLASH AEFSKIPERASING 0,2-4" avoids erasing flash blocks 0,2,3,4.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Reminder: Flash (and non volatile memory) modules and numbers can be displayed when typing the FLASH command in the Command window. Also the Flash/Non Volatile Memory&amp;nbsp;dialog list displays all modules starting from block number 0."&lt;/P&gt;&lt;P&gt;If you are using an earlier version of the tools, check the release notes for ICD12 to make sure the command is supported there.&lt;/P&gt;&lt;P&gt;The release notes can be found in {Install}\Release_Notes\HC12\CW_Tools\HC12\Notes_debugger_icd12.txt.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 19:39:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134310#M2038</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-05-08T19:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM is erased while reprogramming.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134311#M2039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, did anyone get this to work?&lt;BR /&gt;&lt;BR /&gt;I know I don't.&lt;BR /&gt;&lt;BR /&gt;After setting "FLASH AEFSKIPERASING 3,5" I get :&lt;BR /&gt;&lt;BR /&gt;FP: The ERASE command is not performed for the EEPROM_C00 flash module (AEFSKIPERASING) =&amp;gt; Skipped.&lt;BR /&gt;FP: The ERASE command is not performed for the EEPROM_800 flash module (AEFSKIPERASING) =&amp;gt; Skipped.&lt;BR /&gt;&lt;BR /&gt;Look OK, But the blocks are erased anyway.&lt;BR /&gt;&lt;BR /&gt;Data written stays for a reset but not a reload.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My Command line output: ( Using EEPROM_800 )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;!// Before programming the flash, the commands written below will be executed&lt;BR /&gt;!flash&lt;BR /&gt;&lt;BR /&gt;MCU clock speed: 1994000 Hz&lt;BR /&gt;Block Module Name Address Range Status&lt;BR /&gt;0 FLASH_4000 4000 - 7FFF Blank - Selected&lt;BR /&gt;1 FLASH_C000 C000 - FFFF Programmed - Selected&lt;BR /&gt;2 ALL_PPAGES E08000 -FFBFFF Programmed - Selected&lt;BR /&gt;3 EEPROM_C00 C00 - FFF Blank - Selected&lt;BR /&gt;4 ALL_EPAGES FC0800 -FF0BFF Programmed - Selected&lt;BR /&gt;5 EEPROM_800 800 - BFF Programmed - Selected&lt;BR /&gt;6 FLASH_8000 8000 - BFFF Programmed - Selected&lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppon.cmd&lt;BR /&gt;&lt;BR /&gt;Vppon command file correctly executed.&lt;BR /&gt;&lt;BR /&gt;FP: The ERASE command is not performed for the EEPROM_C00 flash module (AEFSKIPERASING) =&amp;gt; Skipped.&lt;BR /&gt;&lt;BR /&gt;FP: The ERASE command is not performed for the EEPROM_800 flash module (AEFSKIPERASING) =&amp;gt; Skipped.&lt;BR /&gt;executing .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;BR /&gt;&lt;BR /&gt;!// After programming the flash, the commands written below will be executed&lt;BR /&gt;!flash&lt;BR /&gt;&lt;BR /&gt;MCU clock speed: 1994000 Hz&lt;BR /&gt;Block Module Name Address Range Status&lt;BR /&gt;0 FLASH_4000 4000 - 7FFF Blank - Selected&lt;BR /&gt;1 FLASH_C000 C000 - FFFF Blank - Selected&lt;BR /&gt;2 ALL_PPAGES E08000 -FFBFFF Blank - Selected&lt;BR /&gt;3 EEPROM_C00 C00 - FFF Blank - Selected&lt;BR /&gt;4 ALL_EPAGES FC0800 -FF0BFF Blank - Selected&lt;BR /&gt;5 EEPROM_800 800 - BFF Blank - Selected&lt;BR /&gt;6 FLASH_8000 8000 - BFFF Blank - Selected&lt;BR /&gt;done .\cmd\P&amp;amp;E_Multilink_CyclonePro_vppoff.cmd&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 00:13:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134311#M2039</guid>
      <dc:creator>falken</dc:creator>
      <dc:date>2006-11-16T00:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM is erased while reprogramming.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134312#M2040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;My fault! Forgot to skip erasing module "4 ALL_EPAGES FC0800 -FF0BFF"&lt;BR /&gt;&lt;BR /&gt;Setting "FLASH AEFSKIPERASING 3,4,5" makes life a bit easier.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 22:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-is-erased-while-reprogramming/m-p/134312#M2040</guid>
      <dc:creator>falken</dc:creator>
      <dc:date>2007-01-02T22:22:10Z</dc:date>
    </item>
  </channel>
</rss>

