<?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のトピックLPC54018 persistent variable storage in single SPI Flash across power cycles</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-persistent-variable-storage-in-single-SPI-Flash-across/m-p/1595999#M51570</link>
    <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using an LPC54S018 microcontroller with a single 16 MB SPIFI flash. &amp;nbsp;The application code is too large to fit into RAM and so I am using the XIP_IMAGE flag during compile. &amp;nbsp;I need to store variables in the flash for access across power cycles. &amp;nbsp;I have been following the steps listed in this forum post:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/STORING-VARIABLES-IN-FLASH/m-p/650092" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/STORING-VARIABLES-IN-FLASH/m-p/650092&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but I can't modify the "test" variable once the code is running, because it is read-only. &amp;nbsp;Is there a way to make the test variable read/write, and able to be saved across power cycles?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help,&lt;/DIV&gt;&lt;DIV&gt;Mitch&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Feb 2023 22:22:22 GMT</pubDate>
    <dc:creator>mitchkapa</dc:creator>
    <dc:date>2023-02-08T22:22:22Z</dc:date>
    <item>
      <title>LPC54018 persistent variable storage in single SPI Flash across power cycles</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-persistent-variable-storage-in-single-SPI-Flash-across/m-p/1595999#M51570</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using an LPC54S018 microcontroller with a single 16 MB SPIFI flash. &amp;nbsp;The application code is too large to fit into RAM and so I am using the XIP_IMAGE flag during compile. &amp;nbsp;I need to store variables in the flash for access across power cycles. &amp;nbsp;I have been following the steps listed in this forum post:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/STORING-VARIABLES-IN-FLASH/m-p/650092" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/STORING-VARIABLES-IN-FLASH/m-p/650092&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but I can't modify the "test" variable once the code is running, because it is read-only. &amp;nbsp;Is there a way to make the test variable read/write, and able to be saved across power cycles?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help,&lt;/DIV&gt;&lt;DIV&gt;Mitch&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-persistent-variable-storage-in-single-SPI-Flash-across/m-p/1595999#M51570</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2023-02-08T22:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 persistent variable storage in single SPI Flash across power cycles</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-persistent-variable-storage-in-single-SPI-Flash-across/m-p/1607526#M51767</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;We need to use spifi flash command to erase and write spifi flash.&lt;/P&gt;
&lt;P&gt;I suggest you check SDK spifi polling demo code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1677662536968.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212834i309F4AF214A287EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1677662536968.png" alt="ZhangJennie_0-1677662536968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 09:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-persistent-variable-storage-in-single-SPI-Flash-across/m-p/1607526#M51767</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-01T09:22:35Z</dc:date>
    </item>
  </channel>
</rss>

