<?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: usb BDM. How to program flash &amp; leave Eeprom as is in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128821#M796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are using CW HC12 V4.5. AM I right?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There is a command AEFSKIPERASING available allowing you to do that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Extract from {Install}\Release_Notes\HC12\Notes_debugger_icd12.txt:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"&amp;nbsp;The new command AEFSKIPERASING has been created to specify non volatile memory blocks&lt;BR /&gt;&amp;nbsp;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&lt;BR /&gt;&amp;nbsp;&amp;nbsp;typing the FLASH command in the Command window. Also the Flash/Non Volatile Memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;dialog list displays all modules starting from block number 0."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So basically do the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Start the debugger&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Enter command FLASH&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Check which is the block number associated with the EEPROM block.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Edit your startup.cmd file and add the AEFSKIPERASING command there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2006 22:13:27 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2006-03-15T22:13:27Z</dc:date>
    <item>
      <title>usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128820#M795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;I am working on a MC9S12DG128B. We are in the developement phase of the project so we program constanly the chip with the USB multilink from PE.. The problem I have is that we need to keep some information on the chip EEProm. This information is generated buy the code itself so we can not have a S19 file to program each time . It is crutial for the debuging of the code that the memory of the EEprom is not erase each time we program the Chip with the USB multilink.&lt;/DIV&gt;&lt;DIV&gt;Is there a setting in codewarrior that can tell the USB multilink BDM not to erase the EEprom memory space when reprogramming the chip.&lt;/DIV&gt;&lt;DIV&gt;Thank's for the Help&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;David&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 00:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128820#M795</guid>
      <dc:creator>mDavid</dc:creator>
      <dc:date>2006-03-15T00:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128821#M796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are using CW HC12 V4.5. AM I right?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There is a command AEFSKIPERASING available allowing you to do that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Extract from {Install}\Release_Notes\HC12\Notes_debugger_icd12.txt:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"&amp;nbsp;The new command AEFSKIPERASING has been created to specify non volatile memory blocks&lt;BR /&gt;&amp;nbsp;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&lt;BR /&gt;&amp;nbsp;&amp;nbsp;typing the FLASH command in the Command window. Also the Flash/Non Volatile Memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;dialog list displays all modules starting from block number 0."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So basically do the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Start the debugger&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Enter command FLASH&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Check which is the block number associated with the EEPROM block.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- Edit your startup.cmd file and add the AEFSKIPERASING command there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 22:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128821#M796</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-03-15T22:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128822#M797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thank you for the vital information, It did the job. Im using CWH12 3.1 buy the way.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yours truly,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;David&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 23:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128822#M797</guid>
      <dc:creator>mDavid</dc:creator>
      <dc:date>2006-03-15T23:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128823#M798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I need to do the same thing as David, but I'm&amp;nbsp;developing for the MC9S08DZ32&amp;nbsp;using CW HC(S)08 v5.1.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What can I do?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you,&lt;/DIV&gt;&lt;P&gt;Message Edited by Gonzalo Victorio on &lt;SPAN class="date_text"&gt;2006-12-14&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:01 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 23:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128823#M798</guid>
      <dc:creator>GonzaloVictorio</dc:creator>
      <dc:date>2006-12-14T23:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128824#M799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are using a Multilink or Cyclone Pro Connection. Am I right?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For HC08, you have to use the Expert mode programming.&lt;/DIV&gt;&lt;DIV&gt;To start Expert mode programming select MultilinkCyclonePro -&amp;gt; "Start Expert Mode Programmer".&lt;/DIV&gt;&lt;DIV&gt;There are commands available to fine tune the programming steps there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;From the manual:&lt;/DIV&gt;&lt;DIV&gt;"Start Expert Mode Programmer grants the user access to P&amp;amp;E’s graphical flash&lt;BR /&gt;programming utility, PROG08SZ. PROG08SZ lets an advanced user control the step-by step&lt;BR /&gt;execution of the flash erase/programming procedure. See Figure 13.16 on page 361.&lt;BR /&gt;More information on how to use PROG08SZ can be found on P&amp;amp;E Microcomputer&lt;BR /&gt;Systems website at: &lt;A href="http://www.pemicro.com" rel="nofollow" target="_blank"&gt;www.pemicro.com&lt;/A&gt;."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 16:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128824#M799</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-12-15T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128825#M800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello CrasyCat,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Isn't there a problem using PROG08SZ program with a 9S08 device - I thought this utility was applicable to HC08 devices only.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 19:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128825#M800</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-12-15T19:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128826#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello CrasyCat,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Correct... I'm using Multilink.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Using expert mode would be like something to do once you're in the debugging session, isn't?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm trying to achieve the same thing as the original post... Being able to work on the development compiling and debugging over and over again and keep the contents of the EEPROM. Is&amp;nbsp;it possible to customize that?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you,&lt;/DIV&gt;&lt;DIV&gt;Gonzalo&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2006 06:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128826#M801</guid>
      <dc:creator>GonzaloVictorio</dc:creator>
      <dc:date>2006-12-16T06:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128827#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Gonzalo,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I presume CrasyCat meant PROGHCS08 and not PROG08SZ.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you don't want to use this from within the Hiwave debugger of CW then you can purchase a standalone version of it from P&amp;amp;E Micro.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Peg&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2006 11:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128827#M802</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-12-16T11:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128828#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If this is possible you have to use the Expert mode programming and find the appropriate set of command.&lt;/DIV&gt;&lt;DIV&gt;I am not an expert in P&amp;amp;E flash programming tool and commands.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would suggest you to get more info about that on the P&amp;amp;E forum:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.pemicro.com/support/forums_index.cfm" rel="nofollow" target="_blank"&gt;http://www.pemicro.com/support/forums_index.cfm&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 17:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128828#M803</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-12-19T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128829#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;pemicro seems to have a problem with their website... it would crash when I try to register with them so I cannot search their forums...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've been messing around with the Expert Programmer and it does allow you to do many things but it doesn't look like it would be a very user-friendly way to acomplish what I want... you can either erase the whole module (EEPROM included) or in a sector-by-sector basis.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just imagine you're working on a project where you need to keep the EEPROM contents (which by the way I would think is a &lt;STRONG&gt;very&lt;/STRONG&gt; common need) and everytime you recompile/build your code you have to enter into this mode and erase every sector 1-by-1 and then load your&amp;nbsp;code just built.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This seems to uggly to be true... I hope there's some help in the pemicro website and a way to create a script for doing this or something. I was hoping there was some help in the actual PROGHCS08 but the only thing under the Help menu is "About"...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help either on the freescale's CW or pemicro side will be greatly appretiated...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 02:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128829#M804</guid>
      <dc:creator>GonzaloVictorio</dc:creator>
      <dc:date>2006-12-20T02:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128830#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm also having a similar problem. I'm using a HCS12DP256B, CW 3.1 and a P&amp;amp;E BDM-Multilink (Parallel version)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want to program the flash with my code, but not erase the EEPROM each time I do.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I tried changing the 'Startup' file to include 'FLASH AEFSKIPERASING 0'&amp;nbsp;- made no differance.&lt;/DIV&gt;&lt;DIV&gt;I tried changing the 'Preload' file to include 'FLASH SELECT 1-8' - also made no differance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the reply I get after the FLASH command, so you can see which block is which.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;!FLASH SELECT 1-8&lt;BR /&gt;!&lt;BR /&gt;!FLASH&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MCU clock speed: 7994000 Hz&lt;BR /&gt;Block Module Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address Range&amp;nbsp;&amp;nbsp; Status&lt;BR /&gt;&amp;nbsp;&amp;nbsp;0&amp;nbsp; EEPROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400 -&amp;nbsp;&amp;nbsp; FFF&amp;nbsp;&amp;nbsp; Enabled/Programmed/Unprotected - Unselected&lt;BR /&gt;&amp;nbsp;&amp;nbsp;1&amp;nbsp; FLASH_4000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4000 -&amp;nbsp; 7FFF&amp;nbsp;&amp;nbsp; Enabled/Programmed/Unprotected - Selected&lt;BR /&gt;&amp;nbsp;&amp;nbsp;2&amp;nbsp; FLASH_C000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C000 -&amp;nbsp; FFFF&amp;nbsp;&amp;nbsp; Enabled/Programmed/Unprotected - Selected&lt;BR /&gt;&amp;nbsp;&amp;nbsp;3&amp;nbsp; FLASH_3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 308000 -33BFFF&amp;nbsp;&amp;nbsp; Enabled/Blank/Unprotected - Selected&lt;BR /&gt;&amp;nbsp;&amp;nbsp;4&amp;nbsp; FLASH_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 348000 -37BFFF&amp;nbsp;&amp;nbsp; Enabled/Blank/Unprotected - Selected&lt;BR /&gt;&amp;nbsp;&amp;nbsp;5&amp;nbsp; FLASH_1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 388000 -3BBFFF&amp;nbsp;&amp;nbsp; Enabled/Blank/Unprotected - Selected&lt;BR /&gt;&amp;nbsp;&amp;nbsp;6&amp;nbsp; FLASH_0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3C8000 -3FBFFF&amp;nbsp;&amp;nbsp; Enabled/Programmed/Unprotected - Selected&lt;BR /&gt;!// erase the flash modules&lt;BR /&gt;!FLASH ERASE&lt;BR /&gt;executing .\cmd\p&amp;amp;e_vppon.cmd&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Anyone got any more ideas ? I'm stuck !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Andy&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 17:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128830#M805</guid>
      <dc:creator>AndyUK</dc:creator>
      <dc:date>2007-02-19T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128831#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;AEFSKIPERASE was not available in CodeWarrior for HC12 V3.1 (as far as I remember).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;can you give it a try with V4.5 or V4.6. The command is available there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 17:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128831#M806</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-02-19T17:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128832#M807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it a painless upgrade from 3.1 to 4.5 / 4.6 ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Only when I went from 2.something to 3.1 it took my ages to get things to work correctly again. I can't remember what was wrong - I only recall it being a real pain !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 18:02:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128832#M807</guid>
      <dc:creator>AndyUK</dc:creator>
      <dc:date>2007-02-19T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128833#M808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Andy,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For all my projects, I did not have any problem whatsoever.&lt;/DIV&gt;&lt;DIV&gt;I use my own definition files.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You might have some errors if definition files were updated.&lt;/DIV&gt;&lt;DIV&gt;But other than that I don't forsee any trouble.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 18:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128833#M808</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-02-19T18:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128834#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;After several weeks... at the end my problem was fixed by modifying the S8P file that the debugger uses to load the code. Freescale support couldn't give me this answer though... which makes me wonder how much they know how their things work?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The original S8P file begins like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000" face="Courier New"&gt;;version 1.02, 10/04/2006, Copyright P&amp;amp;E Microcomputer Systems,&lt;/FONT&gt; &lt;A href="http://www.pemicro.com" rel="nofollow" target="_blank"&gt;&lt;FONT color="#000000" face="Courier New"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt;&lt;BR /&gt;&lt;FONT color="#000000" face="Courier New"&gt;;device Freescale, 9S08DZ32, All&lt;BR /&gt;;begin_cs&lt;BR /&gt;REQUIRES_PROG_VERSION=1.43/&lt;BR /&gt;WRITE_BYTE=03/00001802/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;Clear COP Watchdog&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;WRITE_BYTE=FF/00001824/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;Disable Flash Protection&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;DZ_EEPROM_PAGING=40/00001823/&lt;BR /&gt;BLANK_MODULE_ONLY&lt;BR /&gt;WRITE_BYTE_AND_SYNC=C0/00000049/&amp;nbsp; ;Bus Freq ~ 2MHZ&lt;BR /&gt;09BIT_TRIM=004A/004B/01/FFAF/FFAE/001E8840/&lt;BR /&gt;WRITE_BYTE_AND_SYNC=00/00000049/&amp;nbsp; ;Bus Freq ~ 16MHZ&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The line in red was replace with:&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" face="Courier New"&gt;WRITE_BYTE=3F/00001824/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;Leave the eeprom protected&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you're in the same situation, you might want to try editing the S8P file of the device you're working on.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 03:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128834#M809</guid>
      <dc:creator>GonzaloVictorio</dc:creator>
      <dc:date>2007-02-21T03:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128835#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Gonzalo,&lt;/DIV&gt;&lt;DIV&gt;As you demonstrate by showing the file content, this is not Freescale things but&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000" face="Courier New"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000" face="Courier New"&gt;Copyright P&amp;amp;E Microcomputer Systems,&lt;/FONT&gt; &lt;A href="http://www.pemicro.com" rel="nofollow" target="_blank"&gt;&lt;FONT color="#000000" face="Courier New"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Freescale does not design P&amp;amp;E Micro software.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 17:06:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128835#M810</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-02-21T17:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128836#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Yes Alban, that file is P&amp;amp;E Micro stuff, but Hiwave.exe&amp;nbsp;&lt;STRONG&gt;is&lt;/STRONG&gt; from Freescale and&amp;nbsp;I would've though that Freescale support people can figure out stuff like this because they should know (in my opinion) how their things work. I mean... didn't they know that the debugger calls the&amp;nbsp;FLASH Programming Algorithms from files within the CodeWarrior&amp;nbsp;folder?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 23:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128836#M811</guid>
      <dc:creator>GonzaloVictorio</dc:creator>
      <dc:date>2007-02-21T23:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128837#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Well....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've updated to 4.6, and I have to say that I had no problems installing it or getting it to work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But......&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I STILL can't get the Flash to program without it erasing the EEPROM as well !!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is driving me up the wall. How hard can it be I ask myself ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've tried the AEFSKIPERASING command, and the FLASH SELECT 1-8, thereby hoping it would leave block 0 (EEPROM) alone - but oh no, it just goes and erases the lot !&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please.... someone help me&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Andy&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 22:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128837#M812</guid>
      <dc:creator>AndyUK</dc:creator>
      <dc:date>2007-03-09T22:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128838#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Where did you place the AEFSKIPERASE Command?&lt;/DIV&gt;&lt;DIV&gt;If should be placed in the preload command file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 18:53:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128838#M813</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-03-12T18:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: usb BDM. How to program flash &amp; leave Eeprom as is</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128839#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;The second post in this thread states.....&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;The new command AEFSKIPERASING has been created to specify non volatile memory blocks&lt;BR /&gt;&amp;nbsp;to protect from mass erasing at application loading.&lt;BR /&gt;&amp;nbsp;The command should be placed in a "Startup" command file&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;But now you say it goes in the preload file ??&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;I am confused !&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;I think i've tried it in both anyway - but i'am not sure. If it does go in the preload file, does it need to go in any order ?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;This is what is in my preload file now..&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3300FF"&gt;// Before load the commands written below will be executed&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3300FF"&gt;// The following commands must be enabled to load in flash with the ICD12.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3300FF"&gt;// reset the device to get default settings&lt;BR /&gt;RESET&lt;BR /&gt;// initialize flash programming process&lt;BR /&gt;FLASH&lt;BR /&gt;// select the flash modules&lt;BR /&gt;FLASH SELECT 1-8&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3300FF"&gt;FLASH&lt;BR /&gt;// erase the flash modules&lt;BR /&gt;FLASH ERASE&lt;BR /&gt;// arm the flash for programming&lt;BR /&gt;FLASH ARM&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3300FF"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;I changed the 'FLASH SELECT' to be 'FLASH SELECT 1-8' in the hope that this would stop the erasing of the EEPROM&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;Thanks&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#330000"&gt;Andy&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3300FF"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 20:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/usb-BDM-How-to-program-flash-leave-Eeprom-as-is/m-p/128839#M814</guid>
      <dc:creator>AndyUK</dc:creator>
      <dc:date>2007-03-12T20:17:38Z</dc:date>
    </item>
  </channel>
</rss>

