<?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: Flash used as EEPROM for hardware calibration data. in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134045#M3605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi BR Peg!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the info.&amp;nbsp; I guess reading flash into an s-record is all it may be able to do at this time.&amp;nbsp; I have asked for some tech support on this and we will see what the explanation may be.&amp;nbsp; Thanks a lot for your info.&amp;nbsp; I'll let you know if they have a solution to this.&amp;nbsp; Right now it's just some extra steps&amp;nbsp;to keep my cal data from being erased while developing and reprogramming the part frequently.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Foreigner&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 May 2006 19:03:15 GMT</pubDate>
    <dc:creator>foreigner</dc:creator>
    <dc:date>2006-05-01T19:03:15Z</dc:date>
    <item>
      <title>Flash used as EEPROM for hardware calibration data.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134043#M3603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Using CW HCS08 special edition on a HCS08AW60 with P&amp;amp;E USB Multilink.&lt;BR /&gt;I am trying to store some calibration data that is located in flash from the debugger command line.&amp;nbsp; I save the data to a s-record using the "save" command, which works.&amp;nbsp; I then proceed to erase the part and reprogram.&amp;nbsp; After that I want to use the "srec" command from the command line to program cal data back to flash but it never gets there even though the message on the command line claims to perform the operation successfully.&lt;BR /&gt;I put the following command in the "BDM_P&amp;amp;E_Multilink_Cyclone_Pro_Preload.cmd": SAVE 0xF000..0xF7FF CAL_FLASH_DATA.S19.&amp;nbsp; I put the following command in the "BDM_P&amp;amp;E_Multilink_Cyclone_Pro_Postload.cmd": SREC CAL_FLASH_DATA.S19.&lt;BR /&gt;The save works but the srec will not work.&amp;nbsp; If I then enter "Expert Mode Programmer" from the debugger window (PROGHCS08 programmer), I can store the data from the saved s-record just fine.&amp;nbsp; The problem is that I want to automate this using the preload and postload command files so it automatically does this for me.&lt;BR /&gt;What's the solution?? Why does the "srec" command not work but "save" does??&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2006 00:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134043#M3603</guid>
      <dc:creator>foreigner</dc:creator>
      <dc:date>2006-04-29T00:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flash used as EEPROM for hardware calibration data.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134044#M3604</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;P&gt;Hi Foreigner,&lt;/P&gt;&lt;P&gt;Commands like SREC, COPYMEM etc don't seem to know that most of the memory is FLASH and expect it to be RAM. SREC works to RAM areas and COPYMEM will copy a block of RAM or FLASH to RAM only. The commands give no hint of a failure when you try to write to FLASH.&lt;/P&gt;&lt;P&gt;When you use a P&amp;amp;E BDM from CW the FLASH commands from the command line seem to be disabled as they work with the hiwave stuff.&lt;/P&gt;&lt;P&gt;If for instance you use the OSBDM which uses hiwave for flashing now you can use FLASH commands from the command line to acheive what you are trying to do.&lt;/P&gt;&lt;P&gt;This is not expert commentary, but only what I have discovered for myself by experimentation. I&amp;nbsp;think you should&amp;nbsp;post another question in the Codewarrior forum if you want to persue this further.&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;04-30-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;08:29 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Apr 2006 09:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134044#M3604</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-30T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flash used as EEPROM for hardware calibration data.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134045#M3605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi BR Peg!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the info.&amp;nbsp; I guess reading flash into an s-record is all it may be able to do at this time.&amp;nbsp; I have asked for some tech support on this and we will see what the explanation may be.&amp;nbsp; Thanks a lot for your info.&amp;nbsp; I'll let you know if they have a solution to this.&amp;nbsp; Right now it's just some extra steps&amp;nbsp;to keep my cal data from being erased while developing and reprogramming the part frequently.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Foreigner&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2006 19:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-used-as-EEPROM-for-hardware-calibration-data/m-p/134045#M3605</guid>
      <dc:creator>foreigner</dc:creator>
      <dc:date>2006-05-01T19:03:15Z</dc:date>
    </item>
  </channel>
</rss>

