<?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>LPCXpresso IDEのトピックLPC4330 SPIFI - prevent reloading a large constant data structure into SPIFI during debug</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC4330-SPIFI-prevent-reloading-a-large-constant-data-structure/m-p/596410#M31769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by eamonnh on Thu Apr 24 04:44:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a 4330 with 4MB Spifi attached. I have a small application ~64kB and a large constant data table ~2MB which I can park in SPIFI. The data table never changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to program the data table into some area of SPIFI once, so that I don't have to download it every time I debug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can easily partition the 4MB spifi into say, 1MB and 3MB areas in the linker script, so I have clear demarcation between my code and the data table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would save a lot of time if I don't have to erase/reprogram the 2MB table every time I debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Eamonn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:38:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:38:22Z</dc:date>
    <item>
      <title>LPC4330 SPIFI - prevent reloading a large constant data structure into SPIFI during debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC4330-SPIFI-prevent-reloading-a-large-constant-data-structure/m-p/596410#M31769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by eamonnh on Thu Apr 24 04:44:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a 4330 with 4MB Spifi attached. I have a small application ~64kB and a large constant data table ~2MB which I can park in SPIFI. The data table never changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to program the data table into some area of SPIFI once, so that I don't have to download it every time I debug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can easily partition the 4MB spifi into say, 1MB and 3MB areas in the linker script, so I have clear demarcation between my code and the data table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would save a lot of time if I don't have to erase/reprogram the 2MB table every time I debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Eamonn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC4330-SPIFI-prevent-reloading-a-large-constant-data-structure/m-p/596410#M31769</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 SPIFI - prevent reloading a large constant data structure into SPIFI during debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC4330-SPIFI-prevent-reloading-a-large-constant-data-structure/m-p/596411#M31770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by eamonnh on Thu Apr 24 05:06:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok - it looks like it can be done by adding in a NOLOAD attribute into the linker command file for the section containing the large data table, after it has been programmed. It won't be programmed in the next debug session, saving a lot of download time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Excerpt from MEMORY definition in linker script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Flash_00 (rx) : ORIGIN = 0x14000000, LENGTH = 0x100000 /* 4096k Flash7*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Flash_01 (rx) : ORIGIN = 0x14100000, LENGTH = 0x300000 /* 4096k Flash7*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Excerpt from SECTIONS definition in linker script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/*--------------------------------------------------------------------------*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* SPECIAL FLASH LOCATION FOR BIG DATA and other rarely changed data.*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/*--------------------------------------------------------------------------*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .BIGDATAINFLASH (&lt;/SPAN&gt;&lt;STRONG&gt;NOLOAD&lt;/STRONG&gt;&lt;SPAN&gt;): ALIGN(4)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*(.bigdata.$Flash_01*)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;gt; Flash_01&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If there's a better way, please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - Eamonn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC4330-SPIFI-prevent-reloading-a-large-constant-data-structure/m-p/596411#M31770</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:38:22Z</dc:date>
    </item>
  </channel>
</rss>

