<?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>S12 / MagniV MicrocontrollersのトピックRe: XEP100 - Partition DFlash vs Full Partition DFlash</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/166001#M5384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James, thants for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be aware however that the 0x20 Partition Command does not erase the D-Flash. This commands only does an Erase Verify to check all blocks have been erased.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing to consider is a note in AN3490:&lt;/P&gt;&lt;FONT face="Times New Roman"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;"The standard shipping condition for the D-flash and P-flash memory is&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;erased with security disabled; however, it is recommended that each block&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;or sector is erased before factory programming to ensure that the full data&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;retention capability is achieved."&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;What I have (seems to work fine) even with security enabled is a routine that is capable of erasing every D-Flash sector and&amp;nbsp;perform a partition. The routine is erased afterwards to avoid any failures in the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 15:26:22 GMT</pubDate>
    <dc:creator>Pedro_</dc:creator>
    <dc:date>2009-04-02T15:26:22Z</dc:date>
    <item>
      <title>XEP100 - Partition DFlash vs Full Partition DFlash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/165999#M5382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I wonder if you could help me out with the following problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flash loader I have needs to be capable of partitioning the D-Flash memory. The software will be running in Secured Normal Single Chip mode therefore it is not possible to execute a Full Partition D-Flash command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that even though parts are shipped in erase state, it is recommended to run a Full Partition command during production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to know if the Full Partition command could be replaced with a sequence that erases the 32k D-Flash using FTM command 0x12 - Erase D-Flash sector, followed by a Partition D-Flash 0x20 command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this something you would recommended?&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;&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 Pedro_ on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-03-23&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;11:07 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 17:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/165999#M5382</guid>
      <dc:creator>Pedro_</dc:creator>
      <dc:date>2009-03-23T17:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: XEP100 - Partition DFlash vs Full Partition DFlash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/166000#M5383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done something similar.&lt;/P&gt;&lt;P&gt;My code checks to see if the flash is partitioned&amp;nbsp; and if it isn't then it uses the 0x20 command.&amp;nbsp; I do not believe that you need to erase the flash as well, the partition command does that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 23:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/166000#M5383</guid>
      <dc:creator>jsmcortina</dc:creator>
      <dc:date>2009-03-27T23:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: XEP100 - Partition DFlash vs Full Partition DFlash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/166001#M5384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James, thants for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be aware however that the 0x20 Partition Command does not erase the D-Flash. This commands only does an Erase Verify to check all blocks have been erased.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing to consider is a note in AN3490:&lt;/P&gt;&lt;FONT face="Times New Roman"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;"The standard shipping condition for the D-flash and P-flash memory is&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;erased with security disabled; however, it is recommended that each block&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;or sector is erased before factory programming to ensure that the full data&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman"&gt;&lt;EM&gt;retention capability is achieved."&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;What I have (seems to work fine) even with security enabled is a routine that is capable of erasing every D-Flash sector and&amp;nbsp;perform a partition. The routine is erased afterwards to avoid any failures in the field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pedro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 15:26:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XEP100-Partition-DFlash-vs-Full-Partition-DFlash/m-p/166001#M5384</guid>
      <dc:creator>Pedro_</dc:creator>
      <dc:date>2009-04-02T15:26:22Z</dc:date>
    </item>
  </channel>
</rss>

