<?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>MCUXpresso SDKのトピック回复： Target error from Commit Flash write: Ep(04).</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Target-error-from-Commit-Flash-write-Ep-04/m-p/1948782#M4923</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240149"&gt;@yudeshui&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Thanks for your interest in NXP MIMXRT series!&lt;/P&gt;
&lt;P&gt;From the log you provided, it seems that the DAP firmware of the on-board debugger is being used. It's possible that this is due to an issue with the onboard debugger firmware, I suggest you try updating the onboard debugger to the JLink firmware first.&lt;/P&gt;
&lt;P&gt;You need to install this software first:&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/linkserver-for-microcontrollers:LINKERSERVER" target="_blank"&gt;LinkServer for Microcontrollers | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then：&lt;/P&gt;
&lt;P&gt;1. power down the board.Install the JP1 jumper cap; &lt;BR /&gt;2. Run the following script:&amp;nbsp;&lt;EM&gt;&lt;U&gt;program_JLINK.cmd&amp;nbsp; &amp;nbsp;&lt;/U&gt;&amp;nbsp;&amp;nbsp;&lt;/EM&gt; at this path:&amp;nbsp;&lt;STRONG&gt;C:\nxp\LinkServer_1.6.133\LPCScrypt\scripts&lt;/STRONG&gt;&lt;BR /&gt;3. Power down; remove the JP1 jumper cap; power back up;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Gavin&lt;/P&gt;
&lt;DIV id="eJOY__extension_root" class="eJOY__extension_root_class" style="all: unset;"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 06 Sep 2024 06:24:10 GMT</pubDate>
    <dc:creator>Gavin_Jia</dc:creator>
    <dc:date>2024-09-06T06:24:10Z</dc:date>
    <item>
      <title>Target error from Commit Flash write: Ep(04).</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Target-error-from-Commit-Flash-write-Ep-04/m-p/1948156#M4921</link>
      <description>&lt;P&gt;我的板子型号是MIMXRT685-EVK，我下载的SDK是SDK_2_16_000_EVK-MIMXRT685.zip。&lt;/P&gt;&lt;P&gt;步骤：build -&amp;gt; debug&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;提示如下：&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.10 (Jul 2 2024 19:33:51 - crt_emu_cm_redlink build 741)&lt;/P&gt;&lt;P&gt;Found chip XML file in C:/Users/carson.yu/Documents/MCUXpressoIDE_11.10.0_3148/workspace/evkmimxrt685_sctimer_pwm_with_dutycyle_change/Debug\MIMXRT685S.xml&lt;/P&gt;&lt;P&gt;Reconnected to existing LinkServer process.&lt;/P&gt;&lt;P&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.460 (NXP Semiconductors)&lt;/P&gt;&lt;P&gt;Serial Number: DSA3CQMQ&lt;/P&gt;&lt;P&gt;VID:PID: 1FC9:0090&lt;/P&gt;&lt;P&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#8&amp;amp;773e416&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;/P&gt;&lt;P&gt;Using memory from core 0 after searching for a good core&lt;/P&gt;&lt;P&gt;processor is in secure mode&lt;/P&gt;&lt;P&gt;debug interface type = CoreSight DP (DAP DP ID 6BA02477) over SWD TAP 0&lt;/P&gt;&lt;P&gt;processor type = Cortex-M33 (CPU ID 00000D21) on DAP AP 0&lt;/P&gt;&lt;P&gt;number of h/w breakpoints = 8&lt;/P&gt;&lt;P&gt;number of flash patches = 0&lt;/P&gt;&lt;P&gt;number of h/w watchpoints = 4&lt;/P&gt;&lt;P&gt;Probe(0): Connected&amp;amp;Reset. DpID: 6BA02477. CpuID: 00000D21. Info: &amp;lt;None&amp;gt;&lt;/P&gt;&lt;P&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/P&gt;&lt;P&gt;Content of CoreSight Debug ROM(s):&lt;/P&gt;&lt;P&gt;RBASE E00FE000: CID B105100D PID 0000095000 ROM (type 0x1)&lt;/P&gt;&lt;P&gt;ROM 1 E00FF000: CID B105100D PID 04000BB4C9 ROM (type 0x1)&lt;/P&gt;&lt;P&gt;ROM 2 E000E000: CID B105900D PID 04000BBD21 CSt ARM ARMv8-M type 0x0 Misc - Undefined&lt;/P&gt;&lt;P&gt;ROM 2 E0001000: CID B105900D PID 04000BBD21 CSt ARM DWTv2 type 0x0 Misc - Undefined&lt;/P&gt;&lt;P&gt;ROM 2 E0002000: CID B105900D PID 04000BBD21 CSt ARM FPBv2 type 0x0 Misc - Undefined&lt;/P&gt;&lt;P&gt;ROM 2 E0000000: CID B105900D PID 04000BBD21 CSt ARM ITMv2 type 0x43 Trace Source - Bus&lt;/P&gt;&lt;P&gt;ROM 2 E0041000: CID B105900D PID 04002BBD21 CSt ARM ETMv4.0 type 0x13 Trace Source - Core&lt;/P&gt;&lt;P&gt;ROM 2 E0042000: CID B105900D PID 04000BBD21 CSt ARM CTIv2 type 0x14 Debug Control - Trigger, e.g. ECT&lt;/P&gt;&lt;P&gt;ROM 1 E0040000: CID B105900D PID 04000BBD21 CSt type 0x11 Trace Sink - TPIU&lt;/P&gt;&lt;P&gt;NXP: MIMXRT685S&lt;/P&gt;&lt;P&gt;DAP stride is 1024 bytes (256 words)&lt;/P&gt;&lt;P&gt;Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT600_FlexSPI_B_MXIC_OPI.cfx&lt;/P&gt;&lt;P&gt;Image 'MIMXRT600_FlexSPI_B_MXIC_OPI Jul 2 2024 18:29:23'&lt;/P&gt;&lt;P&gt;Opening flash driver MIMXRT600_FlexSPI_B_MXIC_OPI.cfx&lt;/P&gt;&lt;P&gt;VECTRESET requested, but not supported on ARMv8-M CPUs. Using SOFTRESET instead.&lt;/P&gt;&lt;P&gt;Using SOFT reset to run the flash driver&lt;/P&gt;&lt;P&gt;Flash variant 'JEDEC_FlexSPI_Device' detected (64MB = 1024*64K at 0x8000000)&lt;/P&gt;&lt;P&gt;Closing flash driver MIMXRT600_FlexSPI_B_MXIC_OPI.cfx&lt;/P&gt;&lt;P&gt;Connected: was_reset=true. was_stopped=false&lt;/P&gt;&lt;P&gt;Awaiting telnet connection to port 3330 ...&lt;/P&gt;&lt;P&gt;GDB nonstop mode enabled&lt;/P&gt;&lt;P&gt;Opening flash driver MIMXRT600_FlexSPI_B_MXIC_OPI.cfx (already resident)&lt;/P&gt;&lt;P&gt;VECTRESET requested, but not supported on ARMv8-M CPUs. Using SOFTRESET instead.&lt;/P&gt;&lt;P&gt;Using SOFT reset to run the flash driver&lt;/P&gt;&lt;P&gt;Flash variant 'JEDEC_FlexSPI_Device' detected (64MB = 1024*64K at 0x8000000)&lt;/P&gt;&lt;P&gt;Writing 35604 bytes to address 0x08000000 in Flash&lt;/P&gt;&lt;P&gt;Sectors written: 0, unchanged: 1, total: 1&lt;/P&gt;&lt;P&gt;Erased/Wrote sector 0-0 with 35604 bytes in 41msec&lt;/P&gt;&lt;P&gt;Closing flash driver MIMXRT600_FlexSPI_B_MXIC_OPI.cfx&lt;/P&gt;&lt;P&gt;Flash Write Done&lt;/P&gt;&lt;P&gt;Flash Program Summary: 35604 bytes in 0.04 seconds (848.04 KB/sec)&lt;/P&gt;&lt;P&gt;Starting execution using system reset and halt target with a stall address&lt;/P&gt;&lt;P&gt;Retask read watchpoint 1 at 0x50002034 to use for boot ROM stall&lt;/P&gt;&lt;P&gt;processor is in non-secure mode&lt;/P&gt;&lt;P&gt;state - running or following reset request - re-read of state failed - rc Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;state - running or following reset request - re-read of state failed - rc Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Warning - processor did not halt - gave up waiting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;flash - system reset failed - Ep(04). Cannot halt processor.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Target error from Commit Flash write: Ep(04). Cannot halt processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GDB stub (D:\nxp\LinkServer_1.6.133\binaries\crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;state - running or following reset request - re-read of state failed - rc Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;执行过 mass erase, 没什么用，跪求助跪求指教&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Sep 2024 10:16:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Target-error-from-Commit-Flash-write-Ep-04/m-p/1948156#M4921</guid>
      <dc:creator>yudeshui</dc:creator>
      <dc:date>2024-09-05T10:16:33Z</dc:date>
    </item>
    <item>
      <title>回复： Target error from Commit Flash write: Ep(04).</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Target-error-from-Commit-Flash-write-Ep-04/m-p/1948782#M4923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240149"&gt;@yudeshui&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Thanks for your interest in NXP MIMXRT series!&lt;/P&gt;
&lt;P&gt;From the log you provided, it seems that the DAP firmware of the on-board debugger is being used. It's possible that this is due to an issue with the onboard debugger firmware, I suggest you try updating the onboard debugger to the JLink firmware first.&lt;/P&gt;
&lt;P&gt;You need to install this software first:&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/linkserver-for-microcontrollers:LINKERSERVER" target="_blank"&gt;LinkServer for Microcontrollers | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then：&lt;/P&gt;
&lt;P&gt;1. power down the board.Install the JP1 jumper cap; &lt;BR /&gt;2. Run the following script:&amp;nbsp;&lt;EM&gt;&lt;U&gt;program_JLINK.cmd&amp;nbsp; &amp;nbsp;&lt;/U&gt;&amp;nbsp;&amp;nbsp;&lt;/EM&gt; at this path:&amp;nbsp;&lt;STRONG&gt;C:\nxp\LinkServer_1.6.133\LPCScrypt\scripts&lt;/STRONG&gt;&lt;BR /&gt;3. Power down; remove the JP1 jumper cap; power back up;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Gavin&lt;/P&gt;
&lt;DIV id="eJOY__extension_root" class="eJOY__extension_root_class" style="all: unset;"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Sep 2024 06:24:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Target-error-from-Commit-Flash-write-Ep-04/m-p/1948782#M4923</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2024-09-06T06:24:10Z</dc:date>
    </item>
  </channel>
</rss>

