<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックProblem with Sector Erase via EzPort.</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135308#M1601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;Hey,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have some problem with Sector Erase, My code is working well with Bulk Erase.. but when i tried to implement my code with sector erase and page program any specific sector, its not writing to the Flash...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;I tried all that is given in the MCF52235 manual but i am not able to get to the specific point why i am not able to sector erase and verify it.......&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;Replies are really appreciated.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;Thanks.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2007 03:34:49 GMT</pubDate>
    <dc:creator>daks</dc:creator>
    <dc:date>2007-07-12T03:34:49Z</dc:date>
    <item>
      <title>Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135300#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Good day.&lt;/DIV&gt;&lt;DIV&gt;I need to programm flash memory of mcf5211 via EzPort. Writing to configuration register, reading status, bulk erase&amp;nbsp;and page program are seemed to complete correctly, because the propper flags in status register are set. The problem is to read out programmed data from flash, all data read is 0xFF.&lt;/DIV&gt;&lt;DIV&gt;May you give comment how to solve this problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Programming is implemented with byte-blaster on LPT-port. I tryed to use READ and FAST_READ commands.The cristal is running at 8Mhz(internal). I did not find the signal waveforms in the documentation. May be the problem is that data on EZPQ is sampled when data from flash is not ready?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for help.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 15:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135300#M1593</guid>
      <dc:creator>BIS</dc:creator>
      <dc:date>2006-11-03T15:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135301#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN class="407110415-30082006"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;You should check your EzPort clock and data alignment.&amp;nbsp; Are you able to read data out using the core/BDM?&amp;nbsp; If so, do you see the same pattern?&amp;nbsp; For EzPort debugging purposes, I suggest:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;1) WREN command&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;2) RDSR command and verify WEN is set&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;3) WRCR command with data = ~0x3F&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;4) RDSR until WIP bit is cleared&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;5) WREN command&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;6) RDSR command and verify WEN and CRL are set&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;7) BE command&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size="2"&gt;8)&amp;nbsp;&lt;SPAN class="718055716-18082006"&gt;RDSR until WIP bit is cleared&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN class="718055716-18082006"&gt;9) WREN command&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN class="718055716-18082006"&gt;10) PP command, 24-bit address, write data&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size="2"&gt;11)&amp;nbsp;&lt;SPAN class="718055716-18082006"&gt;RDSR until WIP bit is cleared - verify CRL is only bit set (no WEP)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="718055716-18082006"&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN class="718055716-18082006"&gt;The start address must be&amp;nbsp;longword aligned.&amp;nbsp; Maximum data to be written is 256 bytes.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2006 02:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135301#M1594</guid>
      <dc:creator>mnorman</dc:creator>
      <dc:date>2006-11-08T02:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135302#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;May&amp;nbsp;Flash memory be damaged permanentely if we tried to programm with flash clock ( Fclk ) slower 150 kHz or faster then 200 kHz?&lt;/DIV&gt;&lt;DIV&gt;An error occurs if I try to programm memory without Bulk Erase, right after configuration register is loaded(memory was erased previously).&lt;/DIV&gt;&lt;DIV&gt;You see, we consider that, erase or programm operations are performed correctely, because a Bulk Erase command completes in ~120ms, a Sector Erase command completes in ~20ms.&lt;/DIV&gt;&lt;DIV&gt;Please,offer the waveforms of operation with Ezport.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You suggest us to programm ~0x3F, that is 0xC0. In that case bit 7 of Config Register will be set, but the documentation says it should be cleared. And the rusulting clock will be 500 kHz. What did you meen?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;P.s. we do not have a BDM connection in our application, so we can't read out memory to verify what was programmed.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2006 15:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135302#M1595</guid>
      <dc:creator>BIS</dc:creator>
      <dc:date>2006-11-08T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135303#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;The "~0x3F" was supposed to mean "approximately 0x3F" and not the C language inversion operator.&amp;nbsp; It was a bad choice, sorry.&amp;nbsp; The actual value written here depends on your clock settings.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Running with a Fclk out of the specified range may result in incorrect operation, but I would not expect permanent damage as a result.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Based on your timing information, it sounds like you are able to erase properly.&amp;nbsp; What address are you trying to program?&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 03:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135303#M1596</guid>
      <dc:creator>mnorman</dc:creator>
      <dc:date>2006-11-14T03:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135304#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Thank you for reply.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We have overcome the problem. Now we are able to programm, erase and read out flash via EzPort. It seems that we made some steps (when we tried to disable flash security) which brought FLASH memory in a strange state. We supose that not all of control bits are available via EzPort.&lt;/DIV&gt;&lt;DIV&gt;An error occurs in following cases:&lt;/DIV&gt;&lt;DIV&gt;1) If sector is erased ( i.e. all bytes are 0xFF&amp;nbsp;), then SectorErase or PageProgramm commands do not work. WriteErrorFlag(WEF) is set.&lt;/DIV&gt;&lt;DIV&gt;2) If sector is erased with SectorErase command and than PageProgramm is issued - everything is all right. But if sector is erased with SectorErase command than EzPort is disabled and enabled and PageProgramm is issued - an error occurs.&lt;/DIV&gt;&lt;DIV&gt;What can you suggest in these cases?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And 2 more questions:&lt;/DIV&gt;&lt;DIV&gt;1) Is it nessesary to provide aligned data to start of page when PageProgramm? The maximum size of data when page programm is 256 bytes, that is 64 long words. So may we programm 64 long words starting with address 0x20?&lt;/DIV&gt;&lt;DIV&gt;2) Please, describe the procedure of disabling flash security.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 15:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135304#M1597</guid>
      <dc:creator>BIS</dc:creator>
      <dc:date>2006-11-15T15:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135305#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;I'm confused.&amp;nbsp; In your case 1, are you saying that both SE and PP fail if you enter EzPort mode and the target sector was previously erased?&amp;nbsp; It seems like your case 2 is saying that you have to issue the SE command immediately prior to using the PP, but you also make it sound like you were able to erase a previously erased sector.&amp;nbsp; This conflicts with case 1.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) The start address must be 32-bit aligned.&amp;nbsp; The address can be anywhere within a page.&amp;nbsp; A maximum of 256 bytes can be programmed at a time because the page size is 256 bytes long.&amp;nbsp; If you start within a page and write a full 256 bytes, then the address will wrap around to the lowest address in the same page once it reaches the end&amp;nbsp;of a page.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) Flash security will be disabled if the Reset Chip command is issued following a Bulk Erase.&amp;nbsp; Here are the steps:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 1. Boot-up from reset with EZPORT enabled.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 2. Check reset value of SR (FS should be set)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 3. Set WEN bit and write to configuration register&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 4. Once WIP goes low, check CRL is set&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 5. Set WEN and issue Bulk Erase command.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 6. Poll SR&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt; until WIP goes low and ensure WEF is not set. Check&lt;/FONT&gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;value of FS.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;// 7. Issue Reset Chip command.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN lang="EN-AU"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 02:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135305#M1598</guid>
      <dc:creator>mnorman</dc:creator>
      <dc:date>2006-11-18T02:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135306#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi there&lt;BR /&gt;&lt;BR /&gt;I would like to know if you managed to solve your EZPort problems. I am having a few of my own at the moment.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Kyle&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:38:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135306#M1599</guid>
      <dc:creator>wyliek</dc:creator>
      <dc:date>2007-05-03T13:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135307#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;All problems are solved.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 20:57:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135307#M1600</guid>
      <dc:creator>BIS</dc:creator>
      <dc:date>2007-05-03T20:57:21Z</dc:date>
    </item>
    <item>
      <title>Problem with Sector Erase via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135308#M1601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;Hey,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have some problem with Sector Erase, My code is working well with Bulk Erase.. but when i tried to implement my code with sector erase and page program any specific sector, its not writing to the Flash...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;I tried all that is given in the MCF52235 manual but i am not able to get to the specific point why i am not able to sector erase and verify it.......&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;Replies are really appreciated.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0033FF"&gt;Thanks.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 03:34:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135308#M1601</guid>
      <dc:creator>daks</dc:creator>
      <dc:date>2007-07-12T03:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Sector Erase via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135309#M1602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Look in this thread:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&amp;amp;thread.id=2740&amp;amp;view=by_date_ascending&amp;amp;page=1" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&amp;amp;thread.id=2740&amp;amp;view=by_date_ascending&amp;amp;page=1&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;for some example code I posted for writing to the Coldfire Flash on a 5282 - the technique is similar, or may even be identical for the 52235.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Paul.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 17:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135309#M1602</guid>
      <dc:creator>mccPaul</dc:creator>
      <dc:date>2007-07-12T17:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135310#M1603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for re-animating this old topic, but I am facing similar problems with EzPort for MCF52259 chip.&lt;/P&gt;&lt;P&gt;All commands works fine, but PP. Sector Erase works on loaded chip, but second attempt to erase same sector returns WEF=1 flag in RSR. Page Program always returns WEF=1. Chip clock is 48MHz. I figured&amp;nbsp; WCR value =0x4C should produce FCLK=153kHz which is within specified range of 150 to 200kHz.&lt;/P&gt;&lt;P&gt;State of RSR before executing PP command is 0x22. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;I am almost done with Windows based application for EzPort. Application may use both LPT port or USB FTDI chip to program ColdFire chips over EzPort. If any interest I may post this design for public usage after my problem with PP is resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 23:07:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135310#M1603</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2010-07-07T23:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135311#M1604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a little bit more description what is going on with my application. I found that issuing PP command on loaded chip before SE or BE, returns WEF=0 flag. However nothing being written and flash content is exactly the same as before PP command being issued. After BE same PP with same data bytes returns WEF=1 and FLASH remains in erased state. Is anyone had similar issue? Obviously, since SE and BE commands work just fine, my WCR value is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 00:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135311#M1604</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2010-07-08T00:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135312#M1605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I remember in my case the problem was when I erased entire flash memory, reseted the controller and then attemped to program. And the programm failed (as I understood) because after chip-erase flash protection bits are set. And these bits are taken into account only when controller starts up. That is why if you program immediately after erase your write operation would success. Take a look at chapter 17 "ColdFire Flash Module" (CFMPROT-CFM Protection Register)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For programm/verify I use the following algorithm:&lt;/P&gt;&lt;P&gt;0. Verify your "spi" clock sppen confirms&amp;nbsp;the controller specification.&lt;/P&gt;&lt;P&gt;1. EnableEzPort.&lt;/P&gt;&lt;P&gt;2. WriteConfig - to configire Fclk.&lt;/P&gt;&lt;P&gt;3. CheckStatus.&lt;/P&gt;&lt;P&gt;4. BulkErase or SectorErase if you shall programm.&lt;/P&gt;&lt;P&gt;BulkErase: WriteEnable, CheckStatus, CMD_BE, WaitForOperationDone, CheckStatus(WEP,WIP)&lt;/P&gt;&lt;P&gt;if (ok) WriteEnable, UpdateConfig(Fclk)&lt;/P&gt;&lt;P&gt;SectorErase: CheckStatus(WEN), CMD_SE, WaitForOperationDone, CheckStatus(WEP,WIP)&lt;/P&gt;&lt;P&gt;!!! don't use SectorErase for blank(filled with 0xFF) sectors.&lt;/P&gt;&lt;P&gt;5. Programm or verify.&lt;/P&gt;&lt;P&gt;6. DisableEzPort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And ther is an appeal to motorola engeneers to describe the use of EzPort programming mechanism more detailed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 12:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135312#M1605</guid>
      <dc:creator>BIS</dc:creator>
      <dc:date>2010-07-08T12:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135313#M1606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you reply. Following your advice I got through my problem with chip lock up condition after erase cycle. As you mentioned key was to to stay in EzProg mode after bulk erase (I wonder why this not mentioned in the chip's manual!). But I still can't achieve data retention. Chip stays blank after PP was executed.&lt;/P&gt;&lt;P&gt;I wonder if my prescaler data is right. Manual is a bit vague on the description.&lt;/P&gt;&lt;P&gt;Here is how I calculate the value: Chip clock is 48MHz, so I need 8 divider on.&lt;/P&gt;&lt;P&gt;Accounting that flash controller divide its clock by 2 it gives my 48/(2*8)=3 MHz. Highest recommended FCLK=200kHz, so final divider value would be 3/0.2=15. Taking it all together I got Configuration Register value &amp;amp;B01001111. Is my calculation correct? Currently I am running at very conservative SPI clock 1MHz. Should it match FCLK?&lt;/P&gt;&lt;P&gt;At this point I am trying to execute simplest possible operation - writing 0 to address 0.&lt;/P&gt;&lt;P&gt;Here is my string for PP:&lt;/P&gt;&lt;P&gt;&amp;amp;H02,00,00,00,00,00,00,00 (PP command, 24 bit address 0, 4byte data=0).&lt;/P&gt;&lt;P&gt;Do I missing anything? I was reading some discussions about mystical "backdoor" addressing for EzProg writes. It doesn't make any sense to me because read operation works with straight addressing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 20:05:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135313#M1606</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2010-07-08T20:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135314#M1607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it working. My bad. Thanks for all your help. I will post my design as soon as I finalize my code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 22:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135314#M1607</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2010-07-08T22:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading flash via EzPort.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135315#M1608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, here is my promised design for EZPort PC programmer. It supposed to run on Windows XP. It works both USB or LPT (multiple port addresses). I haven't test installer on blank PC yet. So let me know if there is any problem with components. I included parallel port driver in installation package, but left FTDI drivers outside. You will need to install them prior running my installer for programming application. I made skeleton help for EzPort hookup it's also attached to this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jul 2010 02:09:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-reading-flash-via-EzPort/m-p/135315#M1608</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2010-07-10T02:09:23Z</dc:date>
    </item>
  </channel>
</rss>

