<?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: LPC1820 with Macronix SPI flash in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539690#M11917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Mon Sep 08 11:08:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a 10K to VCC for DBGEN. The debugger is able to properly read the IDCODE of the LPC1820.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is just the SPIFI flash access that is not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find attached the setting I have for the kei debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:23:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:23:22Z</dc:date>
    <item>
      <title>LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539682#M11909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Thu Sep 04 13:40:45 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 prototype with a LPC1820 (144 pins package) and a Macronix (Dual mode only) MX25L8006E.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not able to program this flash using the Keil Ulink Pro debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to modified an existing flash algorithm with the Macronix specs but for now no success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone of has succeeded in programming this flash through the SPIFI interface with a Keil debugger ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539682#M11909</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539683#M11910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Thu Sep 04 14:35:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vicent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC18xx43xx_S25FL032.FLM algorithm under c:\Keil\ARM\Flash folder works. This is Keil default installation path. I have just tested it with LPC1850.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What message do you see?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539683#M11910</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539684#M11911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Thu Sep 04 14:47:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't work with this algorithm on my side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Macronix flash I'm using doesn't support quad mode so I wonder if it is the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The message I see under Keil is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; "Cortex-M3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539684#M11911</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539685#M11912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Thu Sep 04 15:05:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has nothing to do with quad support. Please check connections between serial flash and LPC1820. You can probe clock/data lines at serial flash pins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Clock and data lines should change states during programming/erasing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539685#M11912</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539686#M11913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Fri Sep 05 12:39:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So you mean that I can use the same algorithm for a Macronix flash (MX25L8006E) and a Spansion flash (S25FL032) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539686#M11913</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539687#M11914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Fri Sep 05 13:08:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that algorithm supports many devices. Also, if you are booting from QSPI flash you should see activity on CLK and data pins of Serial flash device. For this you do not need to program serial flash device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The Macronix flash I'm using doesn't support quad mode so I wonder if it is the problem.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1820 can boot in QSPI/DSPI or standard SPI mode depending on serial flash device capability. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539687#M11914</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539688#M11915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Fri Sep 05 15:21:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have made some progress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to boot in USB DFU mode and use the DFUsec application to program the SPIFI flash on my prototype.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is working fine using this method !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my SPIFI flash seems to work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the problem seems to be on the 10 pins-SW Arm debug interface I'm using...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my debug interface schematic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see any problem there ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539688#M11915</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539689#M11916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Sep 08 10:11:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DBGEN pIn should be high to enter in ARM debug mode. I do not see this pin in the part of the schematics you shared with us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is low, controlller will enter in JTAG boundary scan mode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539689#M11916</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539690#M11917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Mon Sep 08 11:08:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a 10K to VCC for DBGEN. The debugger is able to properly read the IDCODE of the LPC1820.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is just the SPIFI flash access that is not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find attached the setting I have for the kei debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539690#M11917</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539691#M11918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Sep 08 13:04:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see activity on SPIFI data and clock pins when you start programming?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539691#M11918</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539692#M11919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Tue Sep 09 06:54:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No I don't see any activity when using the jtag interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it is either a JTAG hardware issue or a flash algorithm that cannot work properly with the Macronix flash I have...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539692#M11919</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539693#M11920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DF9DQ on Tue Sep 09 08:17:53 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give the attached Keil flash driver a try?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unzip it to C:\Keil\ARM\Flash&amp;nbsp; (or C:\Keil_v5\...), then select it as the flash driver for your SPIFI flash in the Project/Options/Utilities tab. ("LPC18xx/43xx SPIFI Basic")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It uses 2-wire communication, and should support the Macronix flash that you have on your board (as well as the Spansion flash on the Keil boards).&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539693#M11920</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539694#M11921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Tue Sep 09 08:36:24 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This time I do see the activity on the SPIFI signals :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can properly erase the flash but when I try to program the flash, I have the following error message :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash timeout - Reset the target and try again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see the settings I put inside Keil settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539694#M11921</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539695#M11922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Tue Sep 09 08:52:56 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have it working now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The WP pin on the flash was always active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the new algorithm you sent me, everything is working now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539695#M11922</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539696#M11923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Tue Sep 09 09:22:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you also check flash driver LPC18xx43xx_S25FL032.FLM algorithm under c:\Keil\ARM\Flash folder?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It should also work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539696#M11923</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539697#M11924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vdelabouere on Tue Sep 09 10:55:22 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No this algorithm doesn't work for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible that there is a more up-to-date version of this algorithm ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539697#M11924</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539698#M11925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded this file and found it contains .FLM file only. Could you please share the source code? This FLM file uses 2-wire SPI but we need QSPI interface. I guess it could be modified via source code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/539698#M11925</guid>
      <dc:creator>joeyweng_future</dc:creator>
      <dc:date>2017-07-31T07:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1820 with Macronix SPI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/1577942#M51193</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing same problem.&lt;/P&gt;&lt;P&gt;on my board, LPC1850 is interfaced with S25FL256 over SPIFI. I want to debug my code in S25FL256 using debugger. I am using ULINK2 debugger.&lt;/P&gt;&lt;P&gt;W&lt;SPAN&gt;hen I try to program the external flash (S25FL256) using debugger, I have the following error message :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Flash timeout - Reset the target and try again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: Flash download failed - "Cortex M3"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please check screenshot of my settings in keil attached here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created new flash algorithm for S25FL256 by modifying&amp;nbsp;&lt;SPAN&gt;source code on path &lt;STRONG&gt;c:\Keil\ARM\Flash\LPC18xx43xx_S25FL032. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I added following code in &lt;STRONG&gt;FlashDev.c&lt;/STRONG&gt; file and created .FLM file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;struct FlashDevice const FlashDevice =&lt;BR /&gt;{&lt;BR /&gt;FLASH_DRV_VERS,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Driver Version, do not modify!&lt;BR /&gt;"LPC18xx/43xx S25FL256 SPIFI",&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Device Name&lt;BR /&gt;EXTSPI,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Device Type&lt;BR /&gt;0x14000000,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Device Start Address&lt;BR /&gt;0x02000000,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Device Size is 32MB&lt;BR /&gt;256,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Programming Page Size&lt;BR /&gt;0,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Reserved, must be 0&lt;BR /&gt;0xFF,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Initial Content of Erased Memory&lt;BR /&gt;500,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Program Page Timeout 100 mSec&lt;BR /&gt;5000,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Erase Sector Timeout 3000 mSec&lt;/P&gt;&lt;P&gt;// Specify Size and Address of Sectors&lt;BR /&gt;0x001000, 0,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // sector size 4 KB (32 sectors)&lt;BR /&gt;0x010000,0x20000,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// sector size 64 KB (510 sectors)&lt;BR /&gt;SECTOR_END&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I dont understand what is wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Can you help me to fix this issue??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Santosh Mengade&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 11:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1820-with-Macronix-SPI-flash/m-p/1577942#M51193</guid>
      <dc:creator>MengadeSantosh</dc:creator>
      <dc:date>2023-01-05T11:36:29Z</dc:date>
    </item>
  </channel>
</rss>

