<?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 SPIFI setup for LPC1800/4300 using LPCXpresso 6, running on LPCXplorer board in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589973#M22010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Mon Jan 13 05:37:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are two projects for LPC1800 and for LPC4300 which use the SPIFI library under LPCXpresso 6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- import the files into the workspace and make a 'Build all'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- SPIFI libraries compile without error under GCC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Code runs from SPIFI, using the LPC1830/4330 LPCXplorer board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- function spifi_init(...) is used to initialize the SPIFI &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- SPIFI speed is set to 90MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- some data is programmed into the qSPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- after a successful SPIFI write the application runs into a blinky loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the code example uses the libraries coming with LPCXpresso, these are different to the new structure from LPCOpen. These libs are a little bit outdated and will not be maintained anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- if you are doing any new code development, then you should consider to port the SPIFI setup from this example into the current LPCOpen platform &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- NXP will add a SPIFI setup in one of the next LPCOpen releases for LPC1800/4300&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337918"&gt;LPC18xx_SPIFI_LPCXpresso6_0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337918"&gt;LPC43xx_SPIFI_LPCXpresso6_0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:15:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:15:27Z</dc:date>
    <item>
      <title>SPIFI setup for LPC1800/4300 using LPCXpresso 6, running on LPCXplorer board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589973#M22010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Mon Jan 13 05:37:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are two projects for LPC1800 and for LPC4300 which use the SPIFI library under LPCXpresso 6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- import the files into the workspace and make a 'Build all'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- SPIFI libraries compile without error under GCC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Code runs from SPIFI, using the LPC1830/4330 LPCXplorer board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- function spifi_init(...) is used to initialize the SPIFI &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- SPIFI speed is set to 90MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- some data is programmed into the qSPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- after a successful SPIFI write the application runs into a blinky loop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the code example uses the libraries coming with LPCXpresso, these are different to the new structure from LPCOpen. These libs are a little bit outdated and will not be maintained anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- if you are doing any new code development, then you should consider to port the SPIFI setup from this example into the current LPCOpen platform &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- NXP will add a SPIFI setup in one of the next LPCOpen releases for LPC1800/4300&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337918"&gt;LPC18xx_SPIFI_LPCXpresso6_0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337918"&gt;LPC43xx_SPIFI_LPCXpresso6_0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589973#M22010</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI setup for LPC1800/4300 using LPCXpresso 6, running on LPCXplorer board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589974#M22011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by krhodesnb on Tue Feb 18 14:27:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use the provided library in an existing project. Unfortunately, I get linker errors, because my project must use NEWLIB and not REDLIB. It also isn't obvious, but this library requires you to remove a linker warning (--no-wchar-size-warning) or you get warnings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The library was built for REDLIB. Can you provide a version built for NEWLIB?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, why can't you provide source to this library? Are you limited by some licensing agreement?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can't provide source, you should provide all the standard builds that your own tool supports (LPCXpresso)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you...Keith Rhodes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589974#M22011</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI setup for LPC1800/4300 using LPCXpresso 6, running on LPCXplorer board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589975#M22012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by krhodesnb on Sun Feb 23 06:40:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In case it helps anyone else, I successfully used the redlib version in a newlib build. You have to resolve the redlib version of memcpy, with the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// this is put here because the spifi_flash library is built with Redlib, not Newlib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//&amp;nbsp; This means that we must satisfy the linker by providing the redlib version of the memcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//&amp;nbsp; function of Redlib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unsigned char * __aeabi_memcpy4(unsigned char *dest, unsigned char *src, int len)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return(memcpy(dest, src, len));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you do this, the project builds and can successfully program the SPIFI-based flash.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-setup-for-LPC1800-4300-using-LPCXpresso-6-running-on/m-p/589975#M22012</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:28Z</dc:date>
    </item>
  </channel>
</rss>

