<?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: Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177121#M5774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Exact command is&lt;/P&gt;&lt;P&gt;FLASH AEFSKIPERASING n&lt;/P&gt;&lt;P&gt;, where n is NV memory block number, which you should see via Flash... menu somewhere under Multilink/Cyclone menu. I think n=0 must be EEPROM block, but you should verify that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What cmd file did you put AEF... line to? There can be several xxxxx_startup.cmd files. Make sure xxxx matches the the name of your connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Nov 2012 11:08:56 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2012-11-15T11:08:56Z</dc:date>
    <item>
      <title>Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177120#M5773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning.&lt;/P&gt;&lt;P&gt;I have already seen this topic&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2028" data-containertype="14" data-objectid="11588" data-objecttype="1" href="https://community.nxp.com/thread/11588"&gt;usb BDM. How to program flash &amp;amp; leave Eeprom as is&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in my casse it doesn't work.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to debug my firmware with Cyclone Pro and I use Codewarrior 5.9.0. I want to preserve my EEPROM data&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I deleted this entry in Mcu03CB. fpp file :&amp;nbsp; MODULEIMPORT MC9S12_EEPROM_EETS2K_W_HIDDEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; EEPROM is blanked and debugger doesn't work correctly = program doesn't run&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I deleted Mass erase EEPROM section in erase_unsecure_hcs12 -&amp;gt; debugger doesn't work: it seems to program the micro but debugging is impossible and program doesn't run&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In debugging Memory map, in CyclonePro Menu (Truetime simulator) I set EEPROM entry active = NO&amp;nbsp;&amp;nbsp; -&amp;gt; there is no effect&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Cyclone PRO I load SAP Image but the algorithm for MC9S12A128B hasn't got "Protect EEPROM " command&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I inserted in Startup script AEFSKIPERASING command but it doesn't work&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 09:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177120#M5773</guid>
      <dc:creator>gb3</dc:creator>
      <dc:date>2012-11-15T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177121#M5774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Exact command is&lt;/P&gt;&lt;P&gt;FLASH AEFSKIPERASING n&lt;/P&gt;&lt;P&gt;, where n is NV memory block number, which you should see via Flash... menu somewhere under Multilink/Cyclone menu. I think n=0 must be EEPROM block, but you should verify that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What cmd file did you put AEF... line to? There can be several xxxxx_startup.cmd files. Make sure xxxx matches the the name of your connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177121#M5774</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-11-15T11:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177122#M5775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"What cmd file did you put AEF... line to? There can be several xxxxx_startup.cmd files. Make sure xxxx matches the the name of your connection."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I refer to startup.cmd that is inserted in Debugger\P&amp;amp;E BDM folder.&lt;/P&gt;&lt;P&gt;Here there are STARTUP, RESET PRELOAD and so on...&lt;/P&gt;&lt;P&gt;I have no xxx_startup.cmd but only startup.cmd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my last test, I see that EEPROM doesn't erase in one of my project while in another one EEPROM is blanked, even if the debugger configurations and the micro controller (MC9SA128B) are the same . At the beginning of the main I control if EEPROM is corrupted and if so I load EEPROM with defaults. So in one case when I launch debugging session I find EEPROM corrupted while in the other case I don't loss my EEPROM parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanl you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 13:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177122#M5775</guid>
      <dc:creator>gb3</dc:creator>
      <dc:date>2012-11-15T13:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177123#M5776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your project folders should contain cmd subfolder, in which you should find xxx_startup.cmd. Of course it might be that one, who created your project, did some smart changed to debugger settings of your project...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 17:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177123#M5776</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-11-15T17:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177124#M5777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but with my last tests I found different approach to this problem.&lt;/P&gt;&lt;P&gt;The situation is the following: when I launch debugging in Codewarrior 5.1 and Cyclone PRO. I don't receive any warning message so I think that programming is ok, but actually program isn't loaded correctly. In particular debug is impossible ( I click on Run or Halt button, but micro doesn't work, i.e. in halt micro restart automatically for example) and my data stored in EEPROM are lost.&lt;/P&gt;&lt;P&gt;It's for this reason that I ask if there is a method in order to preserve EEPROM. Actually for MC9s12A128B EEPROM isn't deleted during debugging: in fact if create a SAP Image you must specify a particular algorithm for erase EEPROM.&lt;/P&gt;&lt;P&gt;So why Cyclone PRO doesn't work in debugging with Codewarrior? Softec indart works perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 16:07:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177124#M5777</guid>
      <dc:creator>gb3</dc:creator>
      <dc:date>2012-11-19T16:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Preserve EEPROM with Codewarrior and Cyclone Pro MC9S12A128B AEFSKIPERASING doesn't work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177125#M5778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a way to avoid erasing EEPROM while programming the Flash module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In True-Time Simulator &amp;amp; Real-Time Debugger window of CodeWarrior, go to main menu and then File -&amp;gt; Configuration...&lt;/P&gt;&lt;P&gt;&amp;nbsp; Select Load tab, click on Advanced and select the modules you do not want to erase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print screen is attached for any case.&lt;span class="lia-inline-image-display-wrapper" image-alt="DFLASH.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118975i86A816B4A54E508E/image-size/large?v=v2&amp;amp;px=999" role="button" title="DFLASH.PNG" alt="DFLASH.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note: Picture show different MCU, but principle is the same.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 13:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Preserve-EEPROM-with-Codewarrior-and-Cyclone-Pro-MC9S12A128B/m-p/177125#M5778</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2012-11-23T13:52:19Z</dc:date>
    </item>
  </channel>
</rss>

