<?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>topic Re: (LPCLink-2) Trouble setting up SPIFI while running application from external Flash in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595286#M22786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose another approach would be:&lt;/P&gt;&lt;P&gt;How should I go about relocating my application and the SPIFI library code to RAM?&amp;nbsp; I read the FAQ &lt;A href="https://www.lpcware.com/content/faq/lpcxpresso/relocating-code-flash-ram" title="https://www.lpcware.com/content/faq/lpcxpresso/relocating-code-flash-ram"&gt;Relocating code from FLASH to RAM | www.LPCware.com&lt;/A&gt; but that really only applies to projects using LPCXpresso.&amp;nbsp; I am locked into using IAR for this project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 21:37:50 GMT</pubDate>
    <dc:creator>cheuschkel</dc:creator>
    <dc:date>2016-08-12T21:37:50Z</dc:date>
    <item>
      <title>(LPCLink-2) Trouble setting up SPIFI while running application from external Flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595285#M22785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is more of a fundamental question, so please feel free to correct me if I'm wrong in my understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now I cannot set up SPIFI to read/write data when my application is running from the same external Flash on the LPCLink-2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Specifically, I am getting stuck when trying to write to the SPIFI CMD register in &lt;SPAN style="font-family: 'courier new', courier;"&gt;spifilib_chiphw.h&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;static INLINE void spifi_HW_SetCmd(LPC_SPIFI_CHIPHW_T *pSpifi, uint32_t cmd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using IAR with the default linker script to load my application into external Flash (&lt;EM&gt;iar_linker_scripts\lpc18xx_43xx_spifi_heap.icf&lt;/EM&gt;) on the LPCLink-2.&amp;nbsp; I am trying to set up my SPIFI peripheral so that I can access my own section of Flash to read/write data.&amp;nbsp; In the linker file, the code section is set up as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x14000140;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;define symbol __ICFEDIT_region_ROM_end__&amp;nbsp;&amp;nbsp; = 0x140FFFFF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my basic question is: can I set up SPIFI and access data stored in 0x14100000?&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 21:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595285#M22785</guid>
      <dc:creator>cheuschkel</dc:creator>
      <dc:date>2016-08-12T21:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: (LPCLink-2) Trouble setting up SPIFI while running application from external Flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595286#M22786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose another approach would be:&lt;/P&gt;&lt;P&gt;How should I go about relocating my application and the SPIFI library code to RAM?&amp;nbsp; I read the FAQ &lt;A href="https://www.lpcware.com/content/faq/lpcxpresso/relocating-code-flash-ram" title="https://www.lpcware.com/content/faq/lpcxpresso/relocating-code-flash-ram"&gt;Relocating code from FLASH to RAM | www.LPCware.com&lt;/A&gt; but that really only applies to projects using LPCXpresso.&amp;nbsp; I am locked into using IAR for this project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 21:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595286#M22786</guid>
      <dc:creator>cheuschkel</dc:creator>
      <dc:date>2016-08-12T21:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: (LPCLink-2) Trouble setting up SPIFI while running application from external Flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595287#M22787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my post here for an answer to the problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/828579"&gt;https://community.nxp.com/message/828579&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 14:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCLink-2-Trouble-setting-up-SPIFI-while-running-application/m-p/595287#M22787</guid>
      <dc:creator>cheuschkel</dc:creator>
      <dc:date>2016-09-02T14:36:59Z</dc:date>
    </item>
  </channel>
</rss>

