<?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: SPIFI ROM API without In-Build Liabrary in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564266#M16844</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 Nov 05 11:09:44 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the current devices of LPC43xx the ROM library for SPIFI is not functional.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore you need to link it from external into your application program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;38kbyte is of course the file size on the PC file system, the amount of code linked into your application program is of course less than that (look into the map file after compilation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Tech Support Team&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:49:58 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:49:58Z</dc:date>
    <item>
      <title>SPIFI ROM API without In-Build Liabrary</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564265#M16843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stanley76726 on Fri Nov 02 02:31:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm trying to use the SPIFI ROM API with Keil MCB4300 (NXP 4357).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have downloaded the 'SPIFI_Test' sample code from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpc4350apdlzip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpc4350apdlzip&lt;/A&gt;&lt;SPAN&gt;, and it works fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it must use the 'spifi_drv_M4.lib' whose size is 38KB and turn on the 'USE_SPIFI_LIB' compiler option. The library is too big for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here comes a revised version of spifi_rom_api.h:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define&amp;nbsp; SPIFI_ROM_PTR&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x10400118)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define define_spifi_romPtr(name) const SPIFI_RTNS *name=*((SPIFI_RTNS **)SPIFI_ROM_PTR)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif /* OMIT_ROM_TABLE */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#ifdef USE_SPIFI_LIB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extern SPIFI_RTNS spifi_table;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif/* USE_SPIFI_LIB */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned off the 'USE_SPIFI_LIB' option without using 'spifi_table' which seems to be defined in 'spifi_drv_M4.lib', and directly assigned the&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;address of the SPIFI ROM dispatch table (SPIFI_ROM_PTR), but it never returned while calling 'spifi_init()' function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I turn off the 'USE_SPIFI_LIB' option so that I can reduce the whole code size? Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564265#M16843</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI ROM API without In-Build Liabrary</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564266#M16844</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 Nov 05 11:09:44 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the current devices of LPC43xx the ROM library for SPIFI is not functional.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore you need to link it from external into your application program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;38kbyte is of course the file size on the PC file system, the amount of code linked into your application program is of course less than that (look into the map file after compilation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Tech Support Team&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564266#M16844</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI ROM API without In-Build Liabrary</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564267#M16845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stanley76726 on Wed Nov 07 05:26:01 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your kindly supply! :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question is that any possible to release the official source code of spifi driver?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have found that it ever existed in the lpc43xx git server, and was removed at the end of last year however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stanley&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-ROM-API-without-In-Build-Liabrary/m-p/564267#M16845</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:59Z</dc:date>
    </item>
  </channel>
</rss>

