<?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 MC13224 flash memory lost in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211003#M2348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with using the serial falsh memory of MC13224. I use to store some values and sometimes it is like the memory has been erased and reinitialized. The values I get are nonsense but always the same.&lt;/P&gt;&lt;P&gt;I checked in debug mode, the program never access the NVM_Erase functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have an idea about this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Houarcheneger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jul 2010 19:59:33 GMT</pubDate>
    <dc:creator>Houarcheneger</dc:creator>
    <dc:date>2010-07-05T19:59:33Z</dc:date>
    <item>
      <title>MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211003#M2348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with using the serial falsh memory of MC13224. I use to store some values and sometimes it is like the memory has been erased and reinitialized. The values I get are nonsense but always the same.&lt;/P&gt;&lt;P&gt;I checked in debug mode, the program never access the NVM_Erase functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have an idea about this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Houarcheneger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 19:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211003#M2348</guid>
      <dc:creator>Houarcheneger</dc:creator>
      <dc:date>2010-07-05T19:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211004#M2349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you are not writing/reading&amp;nbsp;a location in your flash where your&amp;nbsp;executable data is stored.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 21:56:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211004#M2349</guid>
      <dc:creator>Gruitbox</dc:creator>
      <dc:date>2010-07-05T21:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211005#M2350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked in my project.map file where the executable is stored. It seems I never access to the data sector...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 22:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211005#M2350</guid>
      <dc:creator>Houarcheneger</dc:creator>
      <dc:date>2010-07-05T22:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211006#M2351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flash memory addresses are mapped to RAM memory addresses when your application is loaded from flash memory into RAM memory.&lt;/P&gt;&lt;P&gt;The map file shows the RAM memory locations where your application will be loaded into.&lt;/P&gt;&lt;P&gt;The flash memory contents are loaded into RAM starting from address 0x00000008.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the address of the data you are trying to&amp;nbsp;read from flash memory and what is the total binary size of your application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 14:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211006#M2351</guid>
      <dc:creator>Gruitbox</dc:creator>
      <dc:date>2010-07-06T14:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211007#M2352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file Project.bin is 60Ko and the adress of first data in flash is 0X19000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 16:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211007#M2352</guid>
      <dc:creator>Houarcheneger</dc:creator>
      <dc:date>2010-07-06T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211008#M2353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The location you are writing to should be good.&lt;/P&gt;&lt;P&gt;Do you erase that sector of the flash before you write any data to it.&lt;/P&gt;&lt;P&gt;Also your JTAG programmer settings may be set to -erase all of the flash data before loading a new application into flash.&lt;/P&gt;&lt;P&gt;Do you initialise the NVM correctly (voltage regulators)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 17:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211008#M2353</guid>
      <dc:creator>Gruitbox</dc:creator>
      <dc:date>2010-07-06T17:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211009#M2354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for trying to help me !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every time I have to write some datas in my flash, I erase the concerned sector.&lt;/P&gt;&lt;P&gt;What do you mean about initializing the NVM (voltage regulators) because there is a function that checks if the NVM has been initialized ?&lt;/P&gt;&lt;P&gt;The JTAG programmer should not be concerned since the problem also appears when the programm runs in release mode after several days.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 13:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211009#M2354</guid>
      <dc:creator>Houarcheneger</dc:creator>
      <dc:date>2010-07-07T13:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: MC13224 flash memory lost</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211010#M2355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should set the voltage regulator to 1.8V.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void NVMSetup(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; crmVRegCntl_t VRegCntl;&lt;BR /&gt;&amp;nbsp; nvmType_t NvmType;&lt;BR /&gt;&amp;nbsp; VRegCntl.vReg = g1P8VReg_c;&lt;BR /&gt;&amp;nbsp; VRegCntl.cntl.vReg1P8VEn = TRUE;&lt;BR /&gt;&amp;nbsp; CRM_VRegCntl(&amp;amp;VRegCntl);&lt;BR /&gt;&amp;nbsp; DelayMs(1);&lt;BR /&gt;&amp;nbsp; NVM_Detect(gNvmInternalInterface_c, &amp;amp;NvmType);&lt;/P&gt;&lt;P&gt;&amp;nbsp; CRM_VREG_CNTL.vReg1P8VEn = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; while(!CRM_VRegIsReady(V_REG_MASK_1P8V)); //wait ready&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is necessary to enable read/write flash memory according to the documentation. It has something to do with powersaving when the flash memory is not needed anymore it shuts down the regulators.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 14:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MC13224-flash-memory-lost/m-p/211010#M2355</guid>
      <dc:creator>Gruitbox</dc:creator>
      <dc:date>2010-07-08T14:10:01Z</dc:date>
    </item>
  </channel>
</rss>

