<?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: ColdFire MCF5213 Flash page size in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249964#M11559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seem to remember a great deal of confusion regarding sizes of various flash blocks in Coldfire devices. There was a long thread in this forum on this subject, but I can't seem to find it. There is a rock-solid method of establishing the size of a sector (i.e. minimum erasable unit): pre-program flash and erase one sector, then see how much was actually erased.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 09:17:25 GMT</pubDate>
    <dc:creator>scifi</dc:creator>
    <dc:date>2013-04-03T09:17:25Z</dc:date>
    <item>
      <title>ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249963#M11558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reference manual (MCF5213RM.pdf Rev. 5 of 4/2011) reads&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"Flash logical blocks are divided into multiple -kByte logical pages that can be erased separately." &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on page 15-1 (223).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How big is a a logical page?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To what extent can I make use of the user manual of MCF5216 (MCF5282UM.pdf) regarding the flash module documentation?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 08:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249963#M11558</guid>
      <dc:creator>benjaminkeller</dc:creator>
      <dc:date>2013-04-03T08:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249964#M11559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seem to remember a great deal of confusion regarding sizes of various flash blocks in Coldfire devices. There was a long thread in this forum on this subject, but I can't seem to find it. There is a rock-solid method of establishing the size of a sector (i.e. minimum erasable unit): pre-program flash and erase one sector, then see how much was actually erased.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 09:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249964#M11559</guid>
      <dc:creator>scifi</dc:creator>
      <dc:date>2013-04-03T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249965#M11560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the hint. I nevertheless would like to see Freescale engineers act their part and bring some clarity to the reference manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 09:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249965#M11560</guid>
      <dc:creator>benjaminkeller</dc:creator>
      <dc:date>2013-04-03T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249966#M11561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Searching for "flash block size" in this group finds 28 articles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Google managed to find the following post from 2007(!) which puts a strong case for 2k erase sectors, I suggest you read it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/13789"&gt;Incircuit FLASH programming - M5223X&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching the MCF5213 Data Sheet for "Flash" finds:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;1.2.5.2 Flash Memory&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;The ColdFire flash module (CFM) is a non-volatile memory (NVM) module that connects to the processor’s high-speed local&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;bus. The CFM is constructed with four banks of 32-Kbyte×16-bit flash memory arrays to generate 256 Kbytes of 32-bit flash&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;The Reference Manual echoes the above with multiple instances of "&lt;/SPAN&gt;The CFM is constructed with four banks of 32-Kbyte 16-bit flash memory arrays to generate 256 Kbytes of 32-bit flash memory." The more interesting quote is at the front in the "Organisation" section where it says where they bought the FLASH module from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Chapter 15, “ColdFire Flash Module (CFM),” describes implementation of the SuperFlash (R) technology licensed from SST used on this device. The ColdFire Flash Module (CFM) is constructed with four banks of 32K x 16-bit flash to generate a 256-Kbyte, 32-bit wide electrically erasable and programmable read-only memory array.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Nothing says how big the pages are though. Maybe you have to ask SST?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I see what you mean. Section "15.1.1 Overview" contains "Flash logical blocks are divided into &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;multiple -kByte logical pages&lt;/STRONG&gt;&lt;/SPAN&gt; that can be erased separately". That's not a "lack of clarity", that's a pure copy-and-paste editing bug. That chapter has been copied from another manual and the block size has been deleted with the intention of filling it in later, but "later" didn't happen. This is Revision 5 of the manual, so they've missed 4 chances to fix this. The Reference Manual Errata doesn't catch this either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the standard way to handle this is to perform some Archaeology. Search EVERY Freescale Manual for sentences like the above, download and compare them all. Reverse-engineer their design and editing mistakes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MCF5213 manual is the only one that has the "&lt;STRONG style="color: #ff0000;"&gt;multiple -kByte&lt;/STRONG&gt;" line. Searching reveals the line is present (with something other than " -kByte") in the following manuals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCF52110&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "multiple 2-kByte logical pages"&lt;/P&gt;&lt;P&gt;MCF52211&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "multiple logical pages"&lt;/P&gt;&lt;P&gt;MCF52223&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "multiple 2-kByte logical pages"&lt;/P&gt;&lt;P&gt;MCF52235&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "multiple logical pages"&lt;/P&gt;&lt;P&gt;MCF52259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "multiple 4-kByte logical pages"&lt;/P&gt;&lt;P&gt;MAC7100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "multiple &lt;SPAN class="selected highlight"&gt;logical pages ... Diagram showing 1k Data pages and 4k Program pages"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the MCF5213 manual is a "Missing Link" between the ones that deliberately tell you nothing about the page sizes (at least in the Reference Manual) and the ones that do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should submit a proper report of this bug in the manual. I've only been able to get one severely broken manual (with multiple missing pages!) fixed, but then it was never released. You might get lucky and score a Reference Manual Addendum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 01:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249966#M11561</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2013-04-04T01:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249967#M11562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the following answer from Freescale as a response to a service request:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;Regarding the issue, the basic definition is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;Internally, the flash is divided in the following ways:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;• Logical block — there is one block, (256 KBytes in 5212 and 5213, 128 KBytes in 5211). It is not possible to read from any block while the same block is being erased, programmed, or verified.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;• Physical block — there are two physical blocks inside each logical block&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;• Sector — portion of a logical block. There are 32 sectors in an entire logical block, each one 8 Kbytes, also known as a logical sector)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;• Logical Page — each page is 2 Kbytes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;You may would like to make reference from the attached application note on the MCF521X CFM.&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 21:54:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249967#M11562</guid>
      <dc:creator>benjaminkeller</dc:creator>
      <dc:date>2013-04-11T21:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249968#M11563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;You may would like to make reference from the attached application note on the MCF521X CFM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;Which App Note did they send you?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;Is this App Note available on Freescale's web site?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;If not, please respond to the Service Request and request it be made available to the rest of us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 00:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249968#M11563</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2013-04-12T00:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: ColdFire MCF5213 Flash page size</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249969#M11564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They attached this documuent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Using the ColdFire Flash Module with the MCF521x ColdFire Microcontroller"&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Document Number: AN3521&lt;/P&gt;&lt;P&gt;Rev. 0, 09/2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;available here: &lt;A href="http://www.freescale.com/files/32bit/doc/app_note/AN3521.pdf"&gt;http://www.freescale.com/files/32bit/doc/app_note/AN3521.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 06:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/ColdFire-MCF5213-Flash-page-size/m-p/249969#M11564</guid>
      <dc:creator>benjaminkeller</dc:creator>
      <dc:date>2013-04-12T06:03:20Z</dc:date>
    </item>
  </channel>
</rss>

