<?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: Eeeprom bugs in isp and bootloader</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1298330#M45652</link>
    <description>&lt;P&gt;I'm also having issues with page 127 in the eeprom. Using i2c ISP I get error code 0x7 when attempting to write to page 127. All other pages &amp;lt; 127 works fine.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 08:57:41 GMT</pubDate>
    <dc:creator>bergem</dc:creator>
    <dc:date>2021-06-25T08:57:41Z</dc:date>
    <item>
      <title>Eeeprom bugs in isp and bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1164484#M42501</link>
      <description>&lt;P&gt;I have encountered two bugs with eeprom on LPC54628&lt;/P&gt;&lt;P&gt;1. registers&amp;nbsp;RWSTATE and WSTATE are not correctly initialised (at least not as per&amp;nbsp;LPC546XX data sheet (Rev. 2.8 — 8 September 2020) / chapter&amp;nbsp;11.2 / table 23 / page&amp;nbsp;102).&amp;nbsp;&lt;BR /&gt;This result that sometimes some bit during write are not correctly written (or read). This applies both for iap mode of operation and native EEPROM from SDK v2.1.&lt;/P&gt;&lt;P&gt;Bug can be reproduced just by running example for iap_eeprom on LPC54628 Expresso dev however&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Eeprom seems to work ok, when register initialisation is done accordingly.&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp; Issue is that write on page 127 (or 128 if counting starts from 1) returns error. Other page writes works ok.&lt;BR /&gt;&lt;BR /&gt;I can volunteer to send patches, but I am not sure where to send them. Can someone helps me with this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 18:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1164484#M42501</guid>
      <dc:creator>raluralu</dc:creator>
      <dc:date>2020-10-08T18:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Eeeprom bugs in isp and bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1165024#M42506</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-I lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/71629" target="_self"&gt;&lt;SPAN class=""&gt;raluralu&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;First of all, thanks for your sharing.&lt;/P&gt;
&lt;P&gt;And just kindly recommend you use the latest SDK_2.8.2.&lt;/P&gt;
&lt;P&gt;About the bugs you mentioned, could you please send the project, I will test it on my side.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 08:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1165024#M42506</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-10-09T08:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Eeeprom bugs in isp and bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1165301#M42517</link>
      <description>&lt;P&gt;x&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:59:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1165301#M42517</guid>
      <dc:creator>raluralu</dc:creator>
      <dc:date>2020-10-09T17:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Eeeprom bugs in isp and bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1165367#M42521</link>
      <description>&lt;P&gt;Thank you for your response. Using SDK 2.8.2 seems to have little different results.&lt;BR /&gt;&lt;BR /&gt;Simplest way to test this by using provided example.&lt;/P&gt;&lt;P&gt;File -&amp;gt; Import SDK example -&amp;gt;&amp;nbsp;lpcxpresso54628 -&amp;gt;&amp;nbsp; choose sdk 2.8.2 -&amp;gt; next -&amp;gt; under driver_examples select iap_eeprom -&amp;gt; finish&lt;BR /&gt;&lt;BR /&gt;Running this example from debugger for first time fails on my board returns error.&lt;BR /&gt;it prints "EEPROM Page read/Write failed" from line 84 of file source/iap_eeprom.c&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Issue seems to be connected&amp;nbsp; with debugger or similar.&lt;BR /&gt;Applying&amp;nbsp; reset procedure stolen from eeprom example (that is non iap eeprom example)&lt;BR /&gt;&lt;BR /&gt;EEPROM-&amp;gt;CLKDIV = 0x91;&lt;BR /&gt;CLOCK_EnableClock(kCLOCK_Eeprom);&lt;BR /&gt;EEPROM-&amp;gt;CMD = FSL_FEATURE_EEPROM_PROGRAM_CMD;&lt;BR /&gt;while ((EEPROM_GetInterruptStatus(EEPROM) &amp;amp; (uint32_t)kEEPROM_ProgramFinishInterruptEnable) == 0UL)&lt;BR /&gt;{&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Solves this issue. If this code is placed before&amp;nbsp;IAP_WriteEEPROMPage. (it is needed to add eeprom support from drivers)&lt;BR /&gt;Issue is not as much as with&amp;nbsp;&lt;SPAN&gt;RWSTATE and WSTATE as i have previously&amp;nbsp;report, but with initial eeprom state after reset. This might explain why i have not seen an issue after soft reset in debugger.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kind regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 18:01:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1165367#M42521</guid>
      <dc:creator>raluralu</dc:creator>
      <dc:date>2020-10-09T18:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Eeeprom bugs in isp and bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1167200#M42553</link>
      <description>&lt;P&gt;OK, thanks for your sharing, I will report it to related team. thanks!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 06:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1167200#M42553</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-10-14T06:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Eeeprom bugs in isp and bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1298330#M45652</link>
      <description>&lt;P&gt;I'm also having issues with page 127 in the eeprom. Using i2c ISP I get error code 0x7 when attempting to write to page 127. All other pages &amp;lt; 127 works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 08:57:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Eeeprom-bugs-in-isp-and-bootloader/m-p/1298330#M45652</guid>
      <dc:creator>bergem</dc:creator>
      <dc:date>2021-06-25T08:57:41Z</dc:date>
    </item>
  </channel>
</rss>

