<?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: LPC Flash writing time in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555823#M13862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Dec 13 12:25:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Dore&lt;/STRONG&gt;&lt;BR /&gt;...I am able to execute the instruction faster than usual.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And is it still working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you reset flash bits before erasing them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you blank checking after erasing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How often did you do all this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:16:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:16:06Z</dc:date>
    <item>
      <title>LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555820#M13859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dore on Fri Dec 13 03:17:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1114FHI33/302 controller with the LPC Xpresso IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had written my erase flash routine is here as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unsigned long int ulnCommand[5] = {0};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[0] = 52;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[1] = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[2] = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[3] = (48000000) / 1000; /* Clock frequency in KHz */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnOCommand = CallIAP(ulnCommand);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My operating frequency is 48 MHz. The clock frequency given for the internal flash is 48MHz with this I am able to pass through the execution in 100 msec time as mentioned in the datasheet. Is it possible to exceed that? For ex., &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unsigned long int ulnCommand[5] = {0};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[0] = 52;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[1] = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[2] = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnCommand[3] = (48000000); /* Clock frequency in KHz */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ulnOCommand = CallIAP(ulnCommand);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With this I am able to execute the erase sequence in 8 msec time. Is this a reliable way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555820#M13859</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555821#M13860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Dec 13 05:10:25 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Dore&lt;/STRONG&gt;&lt;BR /&gt;Is this a reliable way?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Datasheet shows a min. erase time (ter) of 95ms. So I don't think that's a reliable approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But perhaps you want to make your own wear out test and compare the results with this results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;LPC11C14-Sector 7: Blank Error after 1437980 cycles&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;See. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Freal-iap-wear-out-data" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/real-iap-wear-out-data&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555821#M13860</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555822#M13861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dore on Fri Dec 13 12:15:41 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to erase the flash with the approach two in which I am trying to use 48000000 directly without any divided by 1000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not exactly sure why this value comes into picture. And by just simply increasing the value I am able to execute the instruction faster than usual.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555822#M13861</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555823#M13862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Dec 13 12:25:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Dore&lt;/STRONG&gt;&lt;BR /&gt;...I am able to execute the instruction faster than usual.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And is it still working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you reset flash bits before erasing them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you blank checking after erasing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How often did you do all this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555823#M13862</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555824#M13863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Dec 13 21:32:49 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;With reducing erasing time you'll get problems to erase your flash. With increasing program / erase cycles there's more time required to erase the flash. Of course you can avoid problems if you increase erasing time again after receiving blank check errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With your shortened erase time you'll probably reduce endurance to 1/3 (from 1400E3 to 400E3 p/e cycles).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This are no official results, so I would suggest to do a few own tests with your approach...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555824#M13863</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555825#M13864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dore on Sun Dec 15 11:15:33 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes its working till now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also doing the Flash blank check after erasing and that also gets successful.!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Infact I am wondering how we can fake the datasheet!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And how the erasing gets completed for the frequency given more than the system clock, theoretically it is impossible, but practically it worked.!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again not sure about the reliability which I may have to test exclusively.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For my application I may need it hardly few times for calibration storage which may happen once in 6 months. But writing should be reliable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555825#M13864</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555826#M13865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Sun Dec 15 14:54:14 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I would guess that you are being lucky with your chip. If you want it to work reliably, in production, over thousands of parts, you need to obey the constraints of the chip. They have been characterised to work reliably in production. Some will be better, but I bet most of them will meet the spec, and no more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555826#M13865</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555827#M13866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Dec 15 16:41:48 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TheFallGuy&lt;/STRONG&gt;&lt;BR /&gt;... but I bet most of them will meet the spec, and no more.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I bet you'll lose this bet. Several flash tests are showing that this flash is better than specs are showing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555827#M13866</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555828#M13867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dore on Mon Dec 16 06:07:45 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way where I can possibly reduce the erase time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can spend max of around 10 msec for the internal flash erase as per my application. Is it possible to achieve this with LPC1114???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555828#M13867</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555829#M13868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Dec 16 06:22:14 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If NXP tell you what the time is, I can't see how you can do it any quicker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you need to re-think your algorithm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555829#M13868</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555830#M13869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Dec 16 06:23:07 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Dore&lt;/STRONG&gt;&lt;BR /&gt;Is there any other way where I can possibly reduce the erase time?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No. Erasing with 'correct' clock settings costs you 100ms. If you want to be faster, use a fast external EEPROM (FRAM).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555830#M13869</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Flash writing time</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555831#M13870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Dec 16 06:26:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;And I bet you'll lose this bet. Several flash tests are showing that this flash is better than specs are showing...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP are going to publish figures that they can guarantee across every chip they manufacture i.e. worst-case. On a wafer, the chips on the edges are typically worst-case. Would you want to be your production run on ALWAYS getting chips that are not worst case? Perhaps if your production run is hundreds, you *may* get away with it. If your production run is thousands, I know what I would choose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-Flash-writing-time/m-p/555831#M13870</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:16:11Z</dc:date>
    </item>
  </channel>
</rss>

