<?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のトピックPersistent config/settings</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083320#M41622</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;We are using the LPC54605 MCU. We have a secondary bootloader which loads/updates the main application via a simple read from a USB-stick.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to save some data between updates or reboots (setting the main LED color etc.), what is a good way to do so? Using IAP to save data/struct in flash? Or some other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2020 08:14:26 GMT</pubDate>
    <dc:creator>martin_due</dc:creator>
    <dc:date>2020-04-27T08:14:26Z</dc:date>
    <item>
      <title>Persistent config/settings</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083320#M41622</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;We are using the LPC54605 MCU. We have a secondary bootloader which loads/updates the main application via a simple read from a USB-stick.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to save some data between updates or reboots (setting the main LED color etc.), what is a good way to do so? Using IAP to save data/struct in flash? Or some other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 08:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083320#M41622</guid>
      <dc:creator>martin_due</dc:creator>
      <dc:date>2020-04-27T08:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent config/settings</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083321#M41623</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="358163" data-username="martin.due@trelleborg.com" href="https://community.nxp.com/people/martin.due@trelleborg.com"&gt;Martin Due&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;In my opinion, I'd like to suggest you use the EEPROM store small quantity data, in the LPC546xx, it contains an EEPROM area.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 01:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083321#M41623</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-04-28T01:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent config/settings</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083322#M41624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That sounds like a good thing to use, however I think the SDK iap_eeprom example does not work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it runs the:&amp;nbsp;&lt;BR /&gt;status = IAP_ReadEEPROMPage(DEMO_IAP_EEPROM_PAGE, s_ReadBuf, SystemCoreClock);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bytes written back are not the same. Not there is a ticket on this here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/migration-blogpost/10951"&gt;LPC546xx: Enable EEPROM clock in AHBCLKCTRL0 before IAP EEPROM write API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as far I can tell the SDK example does this properly by calling:&amp;nbsp;CLOCK_EnableClock(kCLOCK_Eeprom);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get it to work? Are there other examples or something? The fsl_eeprom.c does not have any READ procedures available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083322#M41624</guid>
      <dc:creator>martin_due</dc:creator>
      <dc:date>2020-04-28T11:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent config/settings</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083323#M41625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="358163" data-username="martin.due@trelleborg.com" href="https://community.nxp.com/people/martin.due@trelleborg.com"&gt;Martin Due&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;1) The fsl_eeprom.c does not have any READ procedures available.&lt;BR /&gt;It's available to read the value of EEPROM via the AHB bus, the sample code like the below shows.&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;uint32_t eeprom_data = *((uint32_t *)(FSL_FEATURE_EEPROM_BASE_ADDRESS + i * FSL_FEATURE_EEPROM_PAGE_SIZE );&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 03:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-config-settings/m-p/1083323#M41625</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-04-29T03:49:32Z</dc:date>
    </item>
  </channel>
</rss>

