<?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のトピックlpc4078 eeprom page erase clarification required</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2349454#M59509</link>
    <description>&lt;P&gt;I'm using an LPC4078 and MCUXpresso and experimenting with storing values in Eeprom.&lt;/P&gt;&lt;P&gt;I want to write a few bytes in the middle of a page without clearing the whole page.&lt;/P&gt;&lt;P&gt;Looking in the datasheet, it says that after writing the data to be written int he page register, it still has to be programmed into non-volatile memeory and that is done with the erase/program operation.&lt;/P&gt;&lt;P&gt;Does the Erase/Program operation erase the whole page or just the area of the page I have new data for, and how does it know? - the address setting for Erase/Program ignores the 6 lsbs so it only knows the page.&lt;/P&gt;&lt;P&gt;The UM10562.pdf isn't explicitly clear on this matter.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 17:00:23 GMT</pubDate>
    <dc:creator>alex_conway</dc:creator>
    <dc:date>2026-04-10T17:00:23Z</dc:date>
    <item>
      <title>lpc4078 eeprom page erase clarification required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2349454#M59509</link>
      <description>&lt;P&gt;I'm using an LPC4078 and MCUXpresso and experimenting with storing values in Eeprom.&lt;/P&gt;&lt;P&gt;I want to write a few bytes in the middle of a page without clearing the whole page.&lt;/P&gt;&lt;P&gt;Looking in the datasheet, it says that after writing the data to be written int he page register, it still has to be programmed into non-volatile memeory and that is done with the erase/program operation.&lt;/P&gt;&lt;P&gt;Does the Erase/Program operation erase the whole page or just the area of the page I have new data for, and how does it know? - the address setting for Erase/Program ignores the 6 lsbs so it only knows the page.&lt;/P&gt;&lt;P&gt;The UM10562.pdf isn't explicitly clear on this matter.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 17:00:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2349454#M59509</guid>
      <dc:creator>alex_conway</dc:creator>
      <dc:date>2026-04-10T17:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: lpc4078 eeprom page erase clarification required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2350013#M59511</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177132"&gt;@alex_conway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;For LPC4078 EEPROM, the minimum erase/program unit is one page (64 bytes). Therefore, each erase/program operation will erase the entire page. If you want to write only a few bytes, please first read the whole page, then modify the required bytes, and finally perform an erase/program operation on the page. You can test this on your side.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;BR&lt;/DIV&gt;
&lt;DIV&gt;Alice&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Apr 2026 08:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2350013#M59511</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-04-13T08:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: lpc4078 eeprom page erase clarification required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2350160#M59513</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;My experiments demonstrate otherwise:&lt;/P&gt;&lt;P&gt;I wrote a small program using the lpc_board_ea_devkin_4088 library and the periph_eeprom demo project to start me up.&lt;/P&gt;&lt;P&gt;I erase a page of Eeprom and read it back. To my surprise the results are all '\0' instead of 0xFF&lt;/P&gt;&lt;P&gt;Then I write 'ABCDEFG\0' to address 0 in that page and read the page back. I receive&amp;nbsp;'ABCDEFG\0'&lt;/P&gt;&lt;P&gt;Then I write&amp;nbsp;'ABCDEFG\0' to address 7 in that page and read the page back. I receive&amp;nbsp;'ABCDEFGABCDEFG\0'&lt;/P&gt;&lt;P&gt;This is all as expected except for two things:&lt;/P&gt;&lt;P&gt;1. after erasing the eeprom reads 0&lt;/P&gt;&lt;P&gt;2. looking at the implementation of&amp;nbsp;&lt;SPAN&gt;Chip_EEPROM_Write() is can seem no read-modify-erase-write sequence. There is only Chip_EEPROM_WritePageRegister followed by&amp;nbsp;Chip_EEPROM_EraseProgramPag.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is why I asked the question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 12:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2350160#M59513</guid>
      <dc:creator>alex_conway</dc:creator>
      <dc:date>2026-04-13T12:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: lpc4078 eeprom page erase clarification required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2350171#M59514</link>
      <description>&lt;P&gt;I attach a workspace with the mentioned project in it. I ran it on an LPC4078 using a lpc-link2 debugger.&lt;BR /&gt;(I couldn't be bothered to get semihosting to work, so I used breakpoints and inspected the data)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 13:07:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2350171#M59514</guid>
      <dc:creator>alex_conway</dc:creator>
      <dc:date>2026-04-13T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: lpc4078 eeprom page erase clarification required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2355320#M59523</link>
      <description>&lt;P&gt;I've got semihosting to work after adding a newline to all my printf strings! Also clearer evidence of everything I have said:&lt;BR /&gt;Erasing sets Eeprom to 0x00&lt;BR /&gt;The code does not perform a read-modify-erase-write sequence, just erase-write.&lt;BR /&gt;The LPC4078 seems to only erase the locations that are written to when erasing.&lt;/P&gt;&lt;P&gt;I would really like clarification on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 15:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc4078-eeprom-page-erase-clarification-required/m-p/2355320#M59523</guid>
      <dc:creator>alex_conway</dc:creator>
      <dc:date>2026-04-23T15:49:13Z</dc:date>
    </item>
  </channel>
</rss>

