<?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>LPC MicrocontrollersのトピックRe: Typo/Bug in EEPROM driver for LPC18xx/43xx</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Typo-Bug-in-EEPROM-driver-for-LPC18xx-43xx/m-p/600315#M23286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi otsl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you very much for your pointed code bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, Chip_EEPROM_ClearIntStatus function should call &lt;SPAN&gt;&lt;STRONG&gt;EEPROM_INT_ENDOFPROG = (1&amp;lt;&amp;lt;2)&lt;/STRONG&gt;&lt;/SPAN&gt;, this is correct in writing and understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;EEPROM_CMD_ERASE_PRG_PAGE&lt;/STRONG&gt; = 6, this also can make the function result correct.&lt;/P&gt;&lt;P&gt;Chip_EEPROM_ClearIntStatus(pEEPROM, &lt;STRONG&gt;EEPROM_CMD_ERASE_PRG_PAGE&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9709iC4A477AC92A0E1C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; But in the code understanding, it is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I will report this bug to our according department.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks a lot for your effort.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2016 08:40:25 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-11-21T08:40:25Z</dc:date>
    <item>
      <title>Typo/Bug in EEPROM driver for LPC18xx/43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Typo-Bug-in-EEPROM-driver-for-LPC18xx-43xx/m-p/600314#M23285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the eeprom_18xx_43xx.c file, the following function (specifically &lt;STRONG&gt;bolded&lt;/STRONG&gt; part) is incorrect:&lt;/P&gt;&lt;P&gt;void Chip_EEPROM_EraseProgramPage(LPC_EEPROM_T *pEEPROM)&lt;BR /&gt;{&lt;BR /&gt; Chip_EEPROM_ClearIntStatus(pEEPROM, &lt;STRONG&gt;EEPROM_CMD_ERASE_PRG_PAGE&lt;/STRONG&gt;);&lt;BR /&gt; Chip_EEPROM_SetCmd(pEEPROM, EEPROM_CMD_ERASE_PRG_PAGE);&lt;BR /&gt; Chip_EEPROM_WaitForIntStatus(pEEPROM, EEPROM_INT_ENDOFPROG);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, it should read:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;void Chip_EEPROM_EraseProgramPage(LPC_EEPROM_T *pEEPROM)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_EEPROM_ClearIntStatus(pEEPROM, &lt;STRONG&gt;EEPROM_INT_ENDOFPROG&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_EEPROM_SetCmd(pEEPROM, EEPROM_CMD_ERASE_PRG_PAGE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_EEPROM_WaitForIntStatus(pEEPROM, EEPROM_INT_ENDOFPROG);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 19:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Typo-Bug-in-EEPROM-driver-for-LPC18xx-43xx/m-p/600314#M23285</guid>
      <dc:creator>otsl</dc:creator>
      <dc:date>2016-11-17T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Typo/Bug in EEPROM driver for LPC18xx/43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Typo-Bug-in-EEPROM-driver-for-LPC18xx-43xx/m-p/600315#M23286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi otsl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you very much for your pointed code bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, Chip_EEPROM_ClearIntStatus function should call &lt;SPAN&gt;&lt;STRONG&gt;EEPROM_INT_ENDOFPROG = (1&amp;lt;&amp;lt;2)&lt;/STRONG&gt;&lt;/SPAN&gt;, this is correct in writing and understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;EEPROM_CMD_ERASE_PRG_PAGE&lt;/STRONG&gt; = 6, this also can make the function result correct.&lt;/P&gt;&lt;P&gt;Chip_EEPROM_ClearIntStatus(pEEPROM, &lt;STRONG&gt;EEPROM_CMD_ERASE_PRG_PAGE&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9709iC4A477AC92A0E1C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; But in the code understanding, it is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I will report this bug to our according department.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks a lot for your effort.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 08:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Typo-Bug-in-EEPROM-driver-for-LPC18xx-43xx/m-p/600315#M23286</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-11-21T08:40:25Z</dc:date>
    </item>
  </channel>
</rss>

