<?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のトピックRe: LPC54018/OM40003 will not flash.  CPU will not halt.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041341#M40470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes and Yes.&amp;nbsp; I've tried it with JP5 in and out, in ISP mode and with the IDE flash tool.&amp;nbsp; Same results.&lt;/P&gt;&lt;P&gt;Others have asked about similar issues; but these have all been related to loading user modified code.&lt;/P&gt;&lt;P&gt;This board fails with all the 54018 demos I have built (0 errors)......I've tried at least 6 examples.&amp;nbsp; As previous&lt;/P&gt;&lt;P&gt;email&amp;nbsp; describes, flash driver never gets past initialization.&amp;nbsp; Is the code for flash downloading available? I&lt;/P&gt;&lt;P&gt;could start digging into it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHuck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Jun 2020 21:34:22 GMT</pubDate>
    <dc:creator>cpmcparland</dc:creator>
    <dc:date>2020-06-13T21:34:22Z</dc:date>
    <item>
      <title>LPC54018/OM40003 will not flash.  CPU will not halt.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041339#M40468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having a problem with my OM40003 LPC54018 board "right out of the box".&amp;nbsp; Using MCUxpresso and Link2,&lt;/P&gt;&lt;P&gt;it complains that it cannot stop the processor and never starts loading flash.&amp;nbsp; I started this question in the&lt;/P&gt;&lt;P&gt;MCUxpresso part of this forum.&amp;nbsp; Unfortunately, suggested solutions have not worked.&amp;nbsp; Thought I would try this group for&lt;/P&gt;&lt;P&gt;any additional pointers.&amp;nbsp; Not trying to "flood" the forum - apologies if this goes against forum rules; but since I&lt;/P&gt;&lt;P&gt;can't load or execute anything on the board, I'm pretty much stuck at this point.&amp;nbsp; Original post is below. Any&lt;/P&gt;&lt;P&gt;pointers would be appreciated.&amp;nbsp; Not to belabor the point, I've attempted to debug multiple demo programs that&lt;/P&gt;&lt;P&gt;all built w/o errors and, since flash loading never initiates, I believe the processor is, internally,&amp;nbsp; still in its "production"&lt;/P&gt;&lt;P&gt;configuration.&amp;nbsp; IDE builds for LPC55S69 board (with appropriate SDK loaded) work w/o any problems..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************************************&lt;/P&gt;&lt;DIV style="color: #666666; margin-bottom: 20px; font-size: 14px; line-height: 20px; font-family: Helvetica,Arial,sans-serif;"&gt;&lt;DIV&gt;&lt;P&gt;Just received a lpc54018 eval board with LCD (OM40003).&amp;nbsp; It powers up with the LCD color draw demo - which works&lt;/P&gt;&lt;P&gt;fine.&amp;nbsp; Have installed latest MCUxpresso and verified that it works by debugging code on a LPC55S69 board to be used&lt;/P&gt;&lt;P&gt;for the same project.&amp;nbsp; Also loaded the correct SDK for this board and built (no errors) several LPC54018&amp;nbsp; projects.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When attempting to debug any of the successfully build demo projects (e.g. both littlevgl demos from the SDK), I get the&lt;/P&gt;&lt;P&gt;following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.1 (Feb 24 2020 13:54:38 - crt_emu_cm_redlink build 11)&lt;BR /&gt;Found chip XML file in C:/Users/mcp/Documents/MCUXpressoIDE_11.1.1_3241/GStest_54018/lpcxpresso54018_littlevgl_terminal/Debug\LPC54018.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;Using memory from core 0 after searching for a good core&lt;BR /&gt;On debug connection - use system reset, stalling when 0x40000040 is accessed&lt;BR /&gt;Retask read watchpoint 1 at 0x40000040 to use for boot ROM stall&lt;BR /&gt;Waiting for target to stop...&lt;BR /&gt;Warning - processor did not halt - gave up waiting&lt;BR /&gt;debug interface type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M3/4 (DAP DP ID 2BA01477) over SWD TAP 0&lt;BR /&gt;processor type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M4 (CPU ID 00000C24) on DAP AP 0&lt;BR /&gt;number of h/w breakpoints = 6&lt;BR /&gt;number of flash patches&amp;nbsp;&amp;nbsp; = 2&lt;BR /&gt;number of h/w watchpoints = 4&lt;BR /&gt;Probe(0): Connected&amp;amp;Reset. DpID: 2BA01477. CpuID: 00000C24. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.&lt;BR /&gt;Content of CoreSight Debug ROM(s):&lt;BR /&gt;RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)&lt;BR /&gt;ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;BR /&gt;ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)&lt;BR /&gt;ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)&lt;BR /&gt;ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)&lt;BR /&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU&lt;BR /&gt;ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core&lt;BR /&gt;&lt;SPAN class=""&gt;NXP&lt;/SPAN&gt;: LPC54018&lt;BR /&gt;DAP stride is 4096 bytes (1024 words)&lt;BR /&gt;Inspected v.2 External Flash Device on SPI LPC540xx_SPIFI_SFDP.cfx&lt;BR /&gt;Image 'LPC540xx_JEDEC_SFDP Feb 17 2020 13:57:06'&lt;BR /&gt;Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;BR /&gt;Using SOFT reset to run the flash driver&lt;BR /&gt;rst - Boot ROM stall address was not accessed (but we entered debug on Halt anyway)&lt;BR /&gt;Cannot halt processor&lt;BR /&gt;warning - failed to halt processor on startup timeout - rc Ep(04). Cannot halt processor.&lt;BR /&gt;Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.&lt;BR /&gt;chip initialization failed - Ef(34): Timed-out initializing flash.&lt;BR /&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have searched this site for similar issues and have tried restarting with several alternate configs -&lt;/P&gt;&lt;P&gt;namely with and without J5 (DFU boot) inserted and powering up with any of the ISP buttons&lt;/P&gt;&lt;P&gt;depressed. I can get the board to start up w/o the demo executing, so I assume I have started in the ISP&lt;/P&gt;&lt;P&gt;code.&amp;nbsp; Flash erase using the IDE behaves similarly.&amp;nbsp; As the saying goes - "no joy".&amp;nbsp; I don't think I could&lt;/P&gt;&lt;P&gt;have possibly bricked the board since it never gets to loading any code...besides, none of the&lt;/P&gt;&lt;P&gt;demos are related to OTP.&amp;nbsp; As I pointed out above, this environment works fine with Link2 on a current&lt;/P&gt;&lt;P&gt;LPC55S69 board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help getting past this would be appreciated.&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chuck McP&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="color: #666666; margin-bottom: 20px; font-size: 14px; line-height: 20px; font-family: Helvetica,Arial,sans-serif;"&gt;&lt;A _jive_internal="true" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/thread/534266&amp;amp;source=gmail&amp;amp;ust=1592070530590000&amp;amp;usg=AFQjCNEwJmkb65Pc1zMcwOj0Q6icggXq9w" href="https://community.nxp.com/thread/534266" style="color: #3778c7; text-decoration: none;" target="_blank"&gt;&lt;SPAN style="color: #3778c7;"&gt;View the message&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #666666; margin-top: 20px; font-size: 14px; line-height: 20px; font-family: Helvetica,Arial,sans-serif;"&gt;This email was sent by &lt;SPAN class=""&gt;NXP&lt;/SPAN&gt; Community because you are a registered user.&lt;BR /&gt; You may &lt;A _jive_internal="true" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/unsubscribe.jspa?id%3D360324%26token%3D4ac5d811f2f87ee3cb491f36027c66e1c784760d54f7cdda83f10c43e95d40c5&amp;amp;source=gmail&amp;amp;ust=1592070530590000&amp;amp;usg=AFQjCNFyaoZx_Hza8_n3XC-llvff_-8FuA" href="https://community.nxp.com/unsubscribe.jspa?id=360324&amp;amp;token=4ac5d811f2f87ee3cb491f36027c66e1c784760d54f7cdda83f10c43e95d40c5" target="_blank"&gt;unsubscribe&lt;/A&gt; instantly from &lt;SPAN class=""&gt;NXP&lt;/SPAN&gt; Community, or adjust email frequency in your &lt;A _jive_internal="true" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/user-preferences!input.jspa&amp;amp;source=gmail&amp;amp;ust=1592070530590000&amp;amp;usg=AFQjCNGfBfIMgB9EabkXndgyGw2cPq8a6g" href="https://community.nxp.com/user-preferences!input.jspa" target="_blank"&gt;email preferences&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 20:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041339#M40468</guid>
      <dc:creator>cpmcparland</dc:creator>
      <dc:date>2020-06-12T20:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018/OM40003 will not flash.  CPU will not halt.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041340#M40469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the on-board Link2 or and external Link2? Have you followed the instructions in 3.2 (Starting a debug session using the on-board (Link2) Debug Probe)&amp;nbsp;of the User Manual?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 08:48:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041340#M40469</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-06-13T08:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018/OM40003 will not flash.  CPU will not halt.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041341#M40470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes and Yes.&amp;nbsp; I've tried it with JP5 in and out, in ISP mode and with the IDE flash tool.&amp;nbsp; Same results.&lt;/P&gt;&lt;P&gt;Others have asked about similar issues; but these have all been related to loading user modified code.&lt;/P&gt;&lt;P&gt;This board fails with all the 54018 demos I have built (0 errors)......I've tried at least 6 examples.&amp;nbsp; As previous&lt;/P&gt;&lt;P&gt;email&amp;nbsp; describes, flash driver never gets past initialization.&amp;nbsp; Is the code for flash downloading available? I&lt;/P&gt;&lt;P&gt;could start digging into it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHuck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 21:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1041341#M40470</guid>
      <dc:creator>cpmcparland</dc:creator>
      <dc:date>2020-06-13T21:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018/OM40003 will not flash.  CPU will not halt.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1292854#M45486</link>
      <description>&lt;P&gt;Have you got any solutions?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 02:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1292854#M45486</guid>
      <dc:creator>lhlonng</dc:creator>
      <dc:date>2021-06-16T02:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018/OM40003 will not flash.  CPU will not halt.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1631633#M52178</link>
      <description>&lt;P&gt;The answer can be found in the board UM. Remove power or press reset with ISP0 at the same time and remove reset first. This will leave the board in a state that can be halted. You may have to repeat this after every programming op. &lt;LI-EMOJI id="lia_grinning-face" title=":grinning_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 01:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1631633#M52178</guid>
      <dc:creator>MichaelKirkAA</dc:creator>
      <dc:date>2023-04-12T01:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018/OM40003 will not flash.  CPU will not halt.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1972216#M57033</link>
      <description>&lt;P&gt;Was this ever resolved?&amp;nbsp; I also experience this problem, it appears to happen frequently with the LVGL examples&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 14:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-OM40003-will-not-flash-CPU-will-not-halt/m-p/1972216#M57033</guid>
      <dc:creator>gregorykelley</dc:creator>
      <dc:date>2024-10-11T14:11:56Z</dc:date>
    </item>
  </channel>
</rss>

