<?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>LPC MicrocontrollersのトピックLPC4370 - Timed-out initializing flash &amp;amp; Flash driver failed to initialize errors during flash erase</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1415132#M47923</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm new in NXP LPC Microcontrollers and I'm trying to program my LPC4370 board.&amp;nbsp;&lt;SPAN&gt;I can works successfully with 2xLPC-link2 (One as a debug probe and another as target), but I have not been able to debug or flash programming with my own board, which is attached.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm trying to erase flash with GUI Flash tool but I'm just taking&amp;nbsp;Ef(34) error when boot 2 is high and&amp;nbsp;Ef(50) error when boot 2 is low state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be very happy if you help. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 08:56:08 GMT</pubDate>
    <dc:creator>atilkan</dc:creator>
    <dc:date>2022-02-17T08:56:08Z</dc:date>
    <item>
      <title>LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during flash erase</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1415132#M47923</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm new in NXP LPC Microcontrollers and I'm trying to program my LPC4370 board.&amp;nbsp;&lt;SPAN&gt;I can works successfully with 2xLPC-link2 (One as a debug probe and another as target), but I have not been able to debug or flash programming with my own board, which is attached.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm trying to erase flash with GUI Flash tool but I'm just taking&amp;nbsp;Ef(34) error when boot 2 is high and&amp;nbsp;Ef(50) error when boot 2 is low state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be very happy if you help. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 08:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1415132#M47923</guid>
      <dc:creator>atilkan</dc:creator>
      <dc:date>2022-02-17T08:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1417772#M47971</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197028" target="_self" aria-label="View Profile of atilkan"&gt;&lt;SPAN class=""&gt;atilkan&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Please first refer to LPC-link2 board to check your hardware of SWD, also there is a debug design consideration:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And pay attention, there is no internal flash with lpc4370, you need external flash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 01:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1417772#M47971</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-02-23T01:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1418035#M47977</link>
      <description>&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;Thank you for your attention first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realized after the first post, as settings are attached I can successfully debug from ram without using Flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;While designing my board I referenced the LPC-Link2_v3_RevB.sch.&amp;nbsp;Did you check my schematic? W25Q80BVSSIG, which is also on LPC-link2, is used as an external flash but it is connected from jumpers, that's the reason why it's not seen in the schematic. When I try programming external flash via GUI Flash Tool, it can recognize it but it gives a time-out error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp;If I can debug on ram, what could be the problem with flash? As I said, it recognizes the flash, so it doesn't sound like to me there is a connection error with the flash.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 07:54:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1418035#M47977</guid>
      <dc:creator>atilkan</dc:creator>
      <dc:date>2022-02-23T07:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1418948#M47995</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;
&lt;P&gt;How about open a blinky demo under lpcopen for lpc4370, then directly debug it ,&lt;/P&gt;
&lt;P&gt;using Debug button under "Quickstart":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1645693605686.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171642i40302E22E9CFD7BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1645693605686.png" alt="Alice_Yang_0-1645693605686.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And pay attention, before debug, delete the two .lunch files in your project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1645693689864.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171643i6D143B2409F8AAB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1645693689864.png" alt="Alice_Yang_1-1645693689864.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 09:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1418948#M47995</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-02-24T09:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1418986#M47998</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried the blinky example as you said. You can find my steps, results, and the flash settings in the attached screenshots. I tried both ISP pin(p2_7) is grounded and not grounded, both of them give errors.&lt;/P&gt;&lt;P&gt;I look forward to hearing from you.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flash_Settings.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171655i0161F90C08D76FF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Flash_Settings.png" alt="Flash_Settings.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 09:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1418986#M47998</guid>
      <dc:creator>atilkan</dc:creator>
      <dc:date>2022-02-24T09:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1420321#M48040</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please choose SWD .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 07:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1420321#M48040</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-02-28T07:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1420335#M48041</link>
      <description>&lt;P&gt;Selecting SWD returns "Flash driver failed to initialize" error. I have attached the console output.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 07:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1420335#M48041</guid>
      <dc:creator>atilkan</dc:creator>
      <dc:date>2022-02-28T07:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 - Timed-out initializing flash &amp; Flash driver failed to initialize errors during fla</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1430941#M48276</link>
      <description>&lt;P&gt;Up&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 07:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-Timed-out-initializing-flash-amp-Flash-driver-failed-to/m-p/1430941#M48276</guid>
      <dc:creator>atilkan</dc:creator>
      <dc:date>2022-03-20T07:41:04Z</dc:date>
    </item>
  </channel>
</rss>

