<?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: EEPROM write problems with LPCOpen on the LPC1857 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731154#M29559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="286345" data-username="christianneubert" href="https://community.nxp.com/people/christianneubert"&gt;Christian Neubert&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;I was wondering if you can describe the type of circumstance which trigger the issue, as the issue doesn't happen during my testing.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2017 08:37:29 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2017-11-24T08:37:29Z</dc:date>
    <item>
      <title>EEPROM write problems with LPCOpen on the LPC1857</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731152#M29557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem with the wait states of the internal EEPROM of the LPC1857 and the LPCOpen library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till now I never had a problem, but now I had many devices which could not write to the EEPROM in the release version, the debug version was working fine.&lt;/P&gt;&lt;P&gt;I traced the problem to the wait states of the internal EEPROM of the LPC1857 and on the way found out that in the function "Chip_EEPROM_Init" the function "setWaitState" gets called and there some magic values get written into the wait states registers. With these values the EEPROM wont work with many processor here. But as it sometimes work, it seems to be a timing problem.&lt;/P&gt;&lt;P&gt;I commented out the call to "setWaitState" and now it seems to work with all devices, but how can I be sure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So where do these magic values come from? Why are the values so small compared to the values which are in the registers after reset? Why does no other have this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 13:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731152#M29557</guid>
      <dc:creator>christianneube1</dc:creator>
      <dc:date>2017-11-23T13:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM write problems with LPCOpen on the LPC1857</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731153#M29558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The manual of the LPC1857 Needs be more precise on the EEPROM chapter and the calculation of the wait states. After some long time of searching I found that I need the times from the family manual. But there is a documentation error, the values for RPHASE1 and RPHASE2 need to be swapped and then it is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the code in the LPCOpen for setting the wait states is wrong (these magic values).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731153#M29558</guid>
      <dc:creator>christianneube1</dc:creator>
      <dc:date>2017-11-24T06:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM write problems with LPCOpen on the LPC1857</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731154#M29559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="286345" data-username="christianneubert" href="https://community.nxp.com/people/christianneubert"&gt;Christian Neubert&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;I was wondering if you can describe the type of circumstance which trigger the issue, as the issue doesn't happen during my testing.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 08:37:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731154#M29559</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-11-24T08:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM write problems with LPCOpen on the LPC1857</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731155#M29560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m not able to tell you the right circumstances, because I just found the problem to appear on some Hardware, but not all and the CPUs are all from the same week (triggering the problem and not triggering the problem).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I´ve written, the problem are the wait states of the eeprom. In the LPCOpen version for the LPC1776 (which I´m also using and so needed to check if the problem is there too) is the code&amp;nbsp;correct and also very good because it calculates the wait states with help of the CPU frequency.&amp;nbsp;For the LPC1776&amp;nbsp;the manual is also&amp;nbsp;right and also way better written and with more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 08:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-write-problems-with-LPCOpen-on-the-LPC1857/m-p/731155#M29560</guid>
      <dc:creator>christianneube1</dc:creator>
      <dc:date>2017-11-24T08:45:46Z</dc:date>
    </item>
  </channel>
</rss>

