<?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: DataFlash erased in debug in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/DataFlash-erased-in-debug/m-p/164360#M2925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try checking out &lt;A href="http://www.freescale.com/webapp/sps/utils/SingleFaq.jsp?FAQ-28898.xml" rel="nofollow" target="_self"&gt;FAQ-28898&lt;/A&gt;. While it covers ColdFire parts, some of the techniques may be applicable to what you are trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jan 2010 22:19:51 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2010-01-04T22:19:51Z</dc:date>
    <item>
      <title>DataFlash erased in debug</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/DataFlash-erased-in-debug/m-p/164359#M2924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to know if it is possible to avoid CW erasing the whole Memory Flash&amp;nbsp;when downloading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to use the internal data flash to save some parameters changed by the final user, so I have defined the bean IntFlash as Data_Flash, with Destructive write.&lt;/P&gt;&lt;P&gt;I'm using a 56f8365, and my parameters start from address 0x6000, with length 0x1000.&lt;/P&gt;&lt;P&gt;CW ver. 8.2.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to write these parameters, and their values are kept if I switch off, but when I download a new software version with CW, the flash memory is entirely erased from 0x4000 to 0x7fff and I loose the saved values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to change the length of x_internal_ROM from 0x4000 to 0x2000 inside ldm_pROM_xRAM.cmd, keeping ORIGIN at 0x4000, but without results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something to suggest ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by killermax on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-12-29&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;12:50 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 20:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/DataFlash-erased-in-debug/m-p/164359#M2924</guid>
      <dc:creator>killermax</dc:creator>
      <dc:date>2009-12-29T20:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlash erased in debug</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/DataFlash-erased-in-debug/m-p/164360#M2925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try checking out &lt;A href="http://www.freescale.com/webapp/sps/utils/SingleFaq.jsp?FAQ-28898.xml" rel="nofollow" target="_self"&gt;FAQ-28898&lt;/A&gt;. While it covers ColdFire parts, some of the techniques may be applicable to what you are trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 22:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/DataFlash-erased-in-debug/m-p/164360#M2925</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-01-04T22:19:51Z</dc:date>
    </item>
  </channel>
</rss>

