<?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 Reading 0s with noisy power-on in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560209#M16042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Mon Aug 31 11:55:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you seen (and added) the errata for EEPROM and LPC4357?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:45:51 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:45:51Z</dc:date>
    <item>
      <title>EEPROM Reading 0s with noisy power-on</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560208#M16041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GregDavies on Mon Aug 31 11:50:52 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application running on an LPC4357 that uses EEPROM to store configuration. Sometimes when I turn on the device, it will read all 0s from the EEPROM (not xFF as in uninitialized state). I'm using the 2.04 version of LPCOpen, but I don't see any changes related to EEPROM in the new version. The code calls Chip_EEPROM_Init() then starts reading configuration data, and works fine on most of the units most of the time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been making the problem show up more often by making the power bounce a lot as it's turning on (wiggling the AC cable as I plug it in). I realize that's not a good characterization, but it's a good indication it may be power related. I've never seen this issue come up when I use the reset line instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried calling Chip_EEPROM_DeInit() before the init call, or in various combinations before and/or after reading 0s, but it seems to have no effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing that I did notice is that as soon as I do a Chip_EEPROM_EraseProgramPage(), the EEPROM reads normally again. I've worked around the issue for now by doing an erase/program without writing any data after initializing the EEPROM, and it works every time, but I still don't understand what the problem actually is, to know if I've solved it for good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've seen this behaviour on one other unit (seeing it in about 1 out of 50-200 units). I figure at this rate someone else must have seen and fixed this same problem. Any insights?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560208#M16041</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Reading 0s with noisy power-on</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560209#M16042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Mon Aug 31 11:55:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you seen (and added) the errata for EEPROM and LPC4357?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560209#M16042</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Reading 0s with noisy power-on</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560210#M16043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GregDavies on Mon Aug 31 12:26:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the errata, but it was a mistake in the user manual, not the chip, and there was nothing to work around.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560210#M16043</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Reading 0s with noisy power-on</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560211#M16044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Mon Aug 31 12:36:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought there was some (delay) register, which has the wrong value during startup and must be corrected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Work-around:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No work-around needed. Program the required values into the registers before using the EEPROM."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First sentence is a bit to discuss, but second says something must be done?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or do I understand it wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560211#M16044</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Reading 0s with noisy power-on</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560212#M16045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GregDavies on Mon Aug 31 12:41:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We still need to write the wait state values, which is done by Chip_EEPROM_Init(). There are default values in these registers that are overwritten. The defaults in the registers have always been correct, but the user manual stated incorrect values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560212#M16045</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Reading 0s with noisy power-on</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560213#M16046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GregDavies on Fri Oct 16 10:39:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just wanted to add my workaround in case anyone else is using the EEPROM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added a magic value to the EEPROM. Every time I boot up, I check if the number is there. If it isn't, I write it. It's only there to give me something to write, otherwise Chip_EEPROM_EraseProgramPage() has no effect, and the EEPROM stays latched up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still have no idea what the root cause is, but I haven't seen it come up after hundreds of power cycles. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/EEPROM-Reading-0s-with-noisy-power-on/m-p/560213#M16046</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:45:54Z</dc:date>
    </item>
  </channel>
</rss>

