<?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: Persistent across power cycles variable storage with LPC54018 single SPI Flash</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-across-power-cycles-variable-storage-with-LPC54018/m-p/1611321#M51840</link>
    <description>&lt;P&gt;HI&amp;nbsp;mitchkapa&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want variable read/write, we must store it in RAM.&lt;/P&gt;
&lt;P&gt;If you store it in SPIFI Flash, please refer spifi_dma_transfer or spifi_polling_transfer demo code in SDK folder to program the related address.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 03:40:08 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2023-03-08T03:40:08Z</dc:date>
    <item>
      <title>Persistent across power cycles variable storage with LPC54018 single SPI Flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-across-power-cycles-variable-storage-with-LPC54018/m-p/1595950#M51566</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 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" rel="noopener"&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 20:10:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-across-power-cycles-variable-storage-with-LPC54018/m-p/1595950#M51566</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2023-02-08T20:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent across power cycles variable storage with LPC54018 single SPI Flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-across-power-cycles-variable-storage-with-LPC54018/m-p/1611321#M51840</link>
      <description>&lt;P&gt;HI&amp;nbsp;mitchkapa&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want variable read/write, we must store it in RAM.&lt;/P&gt;
&lt;P&gt;If you store it in SPIFI Flash, please refer spifi_dma_transfer or spifi_polling_transfer demo code in SDK folder to program the related address.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 03:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Persistent-across-power-cycles-variable-storage-with-LPC54018/m-p/1611321#M51840</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-08T03:40:08Z</dc:date>
    </item>
  </channel>
</rss>

