<?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>MCX MicrocontrollersのトピックRe: MCXN547: SWD DP ID is readable, but AP0/AP2 access returns WIRE ACK FAULT</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2395056#M5640</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;AP2 (DBGMB) Debug access port for debug mailbox is always enabled, and the external world can send data to and receive data from ROM.&lt;/P&gt;
&lt;P&gt;AP0 has security controls&lt;/P&gt;
&lt;P&gt;Could you help us confirm if you have used keys for authentication?&lt;/P&gt;
&lt;P&gt;This is represented in figure 1 in &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN14162" target="_blank"&gt;MCX Nx4x Debug Authentication [AN14162]&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you mentioned&lt;/P&gt;
&lt;P&gt;DM-AP status: 60F93638&lt;BR /&gt;DM-AP: AHB_OR_ERR&lt;BR /&gt;DM-AP: DBG_OR_ERR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could refer to Command and Status Word (CSW) and it's indicating that an AHB Overrun and/or a DBGMB Overrun occur; as the Chapter 10.3.2.4 (SRM) mentioned that an error flag in this prevents communication and need to request to clear the error flag.&lt;/P&gt;
&lt;P&gt;Could you share the values in CSW register&lt;/P&gt;
&lt;P&gt;For more information on this please refer to the &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCXNP184M150F70SRM" target="_blank"&gt;MCX N Security Reference Manual&lt;/A&gt; Chapter 10.5.1.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are no errata on this; The information that could help you with the SWD is the Application Note&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN14162" target="_blank"&gt;MCX Nx4x Debug Authentication[AN14162]&lt;/A&gt; and the Debug Mailbox Chapter 10 in &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCXNP184M150F70SRM" target="_blank"&gt;MCX N Security Reference Manual&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power and reset signals you could check are the one you mention and additionally VDD_P4, VDD_VBAT, and VDD_ANA and the POR Sequence.&lt;/P&gt;
&lt;P&gt;Could you confirm if you are following the Required Power On reset sequencing?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/MCXNP184M150F70/page/topics/front_matter_content_1.html?_gl=1*1mbf4b8*_ga*MTE4OTQwMTA4OS4xNzM0NzE4NDY0*_ga_WM5LE0KMSH*czE3ODQwMzk3MzQkbzQ5MyRnMSR0MTc4NDA0NjI3NyRqNjAkbDAkaDE3NzE4ODc5ODQ." target="_blank"&gt;MCX N 547 Datasheet&lt;/A&gt; Chapter 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards, Luis&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2026 17:11:58 GMT</pubDate>
    <dc:creator>luis_maravilla</dc:creator>
    <dc:date>2026-07-14T17:11:58Z</dc:date>
    <item>
      <title>MCXN547: SWD DP ID is readable, but AP0/AP2 access returns WIRE ACK FAULT</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2394369#M5633</link>
      <description>&lt;P&gt;Hello NXP Support,&lt;/P&gt;&lt;P&gt;We are using an MCXN547VKLT on a custom board with an external MCU-Link probe.&lt;/P&gt;&lt;P&gt;The SWD connection fails when starting a debug session:&lt;/P&gt;&lt;PRE&gt;Ee(42). Could not connect to core.
Et:31: No connection to chip's debug port.
Remote connection closed.&lt;/PRE&gt;&lt;P&gt;The SWD-DP can be detected correctly:&lt;/P&gt;&lt;PRE&gt;DPID = 0x6BA02477&lt;/PRE&gt;&lt;P&gt;However, access to CPU0 AHB-AP (AP0) fails with:&lt;/P&gt;&lt;PRE&gt;WIRE ACK FAULT&lt;/PRE&gt;&lt;P&gt;The Debug Mailbox request also fails. LinkServer reports:&lt;/P&gt;&lt;PRE&gt;DM-AP status: 60F93638
DM-AP: AHB_OR_ERR
DM-AP: DBG_OR_ERR&lt;/PRE&gt;&lt;P&gt;What we have checked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SWD frequency tested from 1 MHz down to 10 kHz&lt;/LI&gt;&lt;LI&gt;SWDIO and SWCLK waveforms look good on an oscilloscope&lt;/LI&gt;&lt;LI&gt;VDD_CORE = 1.2 V&lt;/LI&gt;&lt;LI&gt;VDD_SYS = 1.8 V&lt;/LI&gt;&lt;LI&gt;VDD_DCDC and I/O supplies = 3.3 V&lt;/LI&gt;&lt;LI&gt;RESET_B works correctly&lt;/LI&gt;&lt;LI&gt;MCU-Link firmware: CMSIS-DAP V3.172&lt;/LI&gt;&lt;LI&gt;LinkServer version: 26.5.59&lt;/LI&gt;&lt;LI&gt;The same MCU-Link works with an MCXN947 development board&lt;/LI&gt;&lt;LI&gt;The MCXN547 was replaced with a new chip, but the problem remains&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;USB ISP works correctly with VID/PID 1FC9:014F. Using blhost, we can:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Erase internal Flash&lt;/LI&gt;&lt;LI&gt;Program and read internal Flash&lt;/LI&gt;&lt;LI&gt;Run the application successfully&lt;/LI&gt;&lt;LI&gt;Enumerate the application USB composite device&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The ROM reports:&lt;/P&gt;&lt;PRE&gt;Security State = UNSECURE&lt;/PRE&gt;&lt;P&gt;We also read the PFR through USB ISP:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CMPA is completely erased (0xFF)&lt;/LI&gt;&lt;LI&gt;CFPA is erased except for the ROM-generated CMAC&lt;/LI&gt;&lt;LI&gt;No customer SOCU or Debug Authentication configuration is present&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you please advise:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What conditions are required before AP0 and AP2 become accessible?&lt;/LI&gt;&lt;LI&gt;Is DM-AP status 0x60F93638 associated with a known power, reset, or hardware configuration issue?&lt;/LI&gt;&lt;LI&gt;Are there any known MCXN547 errata related to SWD or Debug Mailbox access?&lt;/LI&gt;&lt;LI&gt;Which power and reset signals should we check for this symptom?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 13 Jul 2026 10:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2394369#M5633</guid>
      <dc:creator>george_from_hyn</dc:creator>
      <dc:date>2026-07-13T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN547: SWD DP ID is readable, but AP0/AP2 access returns WIRE ACK FAULT</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2395056#M5640</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;AP2 (DBGMB) Debug access port for debug mailbox is always enabled, and the external world can send data to and receive data from ROM.&lt;/P&gt;
&lt;P&gt;AP0 has security controls&lt;/P&gt;
&lt;P&gt;Could you help us confirm if you have used keys for authentication?&lt;/P&gt;
&lt;P&gt;This is represented in figure 1 in &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN14162" target="_blank"&gt;MCX Nx4x Debug Authentication [AN14162]&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you mentioned&lt;/P&gt;
&lt;P&gt;DM-AP status: 60F93638&lt;BR /&gt;DM-AP: AHB_OR_ERR&lt;BR /&gt;DM-AP: DBG_OR_ERR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could refer to Command and Status Word (CSW) and it's indicating that an AHB Overrun and/or a DBGMB Overrun occur; as the Chapter 10.3.2.4 (SRM) mentioned that an error flag in this prevents communication and need to request to clear the error flag.&lt;/P&gt;
&lt;P&gt;Could you share the values in CSW register&lt;/P&gt;
&lt;P&gt;For more information on this please refer to the &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCXNP184M150F70SRM" target="_blank"&gt;MCX N Security Reference Manual&lt;/A&gt; Chapter 10.5.1.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are no errata on this; The information that could help you with the SWD is the Application Note&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN14162" target="_blank"&gt;MCX Nx4x Debug Authentication[AN14162]&lt;/A&gt; and the Debug Mailbox Chapter 10 in &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCXNP184M150F70SRM" target="_blank"&gt;MCX N Security Reference Manual&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power and reset signals you could check are the one you mention and additionally VDD_P4, VDD_VBAT, and VDD_ANA and the POR Sequence.&lt;/P&gt;
&lt;P&gt;Could you confirm if you are following the Required Power On reset sequencing?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/MCXNP184M150F70/page/topics/front_matter_content_1.html?_gl=1*1mbf4b8*_ga*MTE4OTQwMTA4OS4xNzM0NzE4NDY0*_ga_WM5LE0KMSH*czE3ODQwMzk3MzQkbzQ5MyRnMSR0MTc4NDA0NjI3NyRqNjAkbDAkaDE3NzE4ODc5ODQ." target="_blank"&gt;MCX N 547 Datasheet&lt;/A&gt; Chapter 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards, Luis&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2026 17:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2395056#M5640</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2026-07-14T17:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN547: SWD DP ID is readable, but AP0/AP2 access returns WIRE ACK FAULT</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2396156#M5646</link>
      <description>&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;We have now been able to establish an SWD debug connection by using the SPSDK Debug Mailbox tool.&lt;/P&gt;&lt;P&gt;The procedure we used is as follows:&lt;/P&gt;&lt;P&gt;1. Reset the MCU through the Debug Mailbox:&lt;/P&gt;&lt;P&gt;nxpdebugmbox -i mcu-link -s NBTF0IZ0B3DCX \&lt;BR /&gt;-o enable_recovery_reset=True \&lt;BR /&gt;--operation-timeout 5000 \&lt;BR /&gt;tool reset -f mcxn547&lt;/P&gt;&lt;P&gt;2. Start a debug session through the Debug Mailbox:&lt;/P&gt;&lt;P&gt;nxpdebugmbox -i mcu-link -s NBTF0IZ0B3DCX \&lt;BR /&gt;-o enable_recovery_reset=True \&lt;BR /&gt;--operation-timeout 5000 \&lt;BR /&gt;cmd -f mcxn547 start-debug-session&lt;/P&gt;&lt;P&gt;3. After the debug session has been opened, we connect to the Cortex-M33 core with LinkServer over SWD.&lt;/P&gt;&lt;P&gt;We did not use any authentication keys, passwords, debug credentials, or mass erase commands. It appears that the "start-debug-session" command temporarily enables AP0 through the always-accessible AP2 Debug Mailbox.&lt;/P&gt;&lt;P&gt;We also used the GDET register sequence from the NXP LS_preconnect_MCXN5XX.scp script after opening the debug session. The sequence disables the aGDET and dGDET reset routing and disables SPC glitch detection during debugging.&lt;/P&gt;&lt;P&gt;Regarding the power supplies:&lt;/P&gt;&lt;P&gt;- VDD_VBAT is directly connected to VDD, and both are 3.3 V.&lt;BR /&gt;- VDD_P4 is directly connected to VDD, and both are 3.3 V.&lt;BR /&gt;- VDD_ANA is connected to VDD through a ferrite bead.&lt;BR /&gt;- VDD is 3.3 V.&lt;/P&gt;&lt;P&gt;However, we now have another debugging problem.&lt;/P&gt;&lt;P&gt;When the board is powered on normally without an SWD debug reset, the firmware runs correctly. However, when we enter the debug session using the Debug Mailbox reset procedure described above, the firmware does not start correctly.&lt;/P&gt;&lt;P&gt;The debug connection is lost when single-stepping through the following SDK function:&lt;/P&gt;&lt;P&gt;static inline void SPC_SetActiveModeDCDCRegulatorVoltageLevel(&lt;BR /&gt;SPC_Type *base,&lt;BR /&gt;spc_dcdc_voltage_level_t voltageLevel)&lt;BR /&gt;{&lt;BR /&gt;base-&amp;gt;ACTIVE_CFG =&lt;BR /&gt;(base-&amp;gt;ACTIVE_CFG &amp;amp; (~SPC_ACTIVE_CFG_DCDC_VDD_LVL_MASK)) |&lt;BR /&gt;SPC_ACTIVE_CFG_DCDC_VDD_LVL(voltageLevel);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;More specifically, the connection is lost when ACTIVE_CFG is written to change the active-mode DCDC voltage level.&lt;/P&gt;&lt;P&gt;The behavior is therefore different between the following two cases:&lt;/P&gt;&lt;P&gt;1. Cold power-on:&lt;BR /&gt;The firmware starts and runs normally.&lt;/P&gt;&lt;P&gt;2. Debug Mailbox reset followed by start-debug-session and SWD connection:&lt;BR /&gt;The firmware reaches the SPC DCDC configuration, but the debugger loses the target when ACTIVE_CFG is written, and the application cannot start normally.&lt;/P&gt;&lt;P&gt;Could the Debug Mailbox reset leave the SPC, DCDC, GDET, or reset status in a different state compared with a full power-on reset?&lt;/P&gt;&lt;P&gt;Is there a required sequence before modifying SPC ACTIVE_CFG after starting a Debug Mailbox debug session? For example:&lt;/P&gt;&lt;P&gt;- waiting for SPC_SC[BUSY] to clear;&lt;BR /&gt;- clearing an SPC or GDET status flag;&lt;BR /&gt;- unlocking or disabling glitch detection;&lt;BR /&gt;- using a specific reset type;&lt;BR /&gt;- avoiding a soft reset after start-debug-session;&lt;BR /&gt;- or applying the complete LS_preconnect_MCXN5XX.scp sequence?&lt;/P&gt;&lt;P&gt;Could writing the DCDC voltage level while debugging trigger a GDET event, DCDC protection event, brownout reset, or another system reset?&lt;/P&gt;&lt;P&gt;Please also advise which registers we should capture immediately before the ACTIVE_CFG write. We can provide values for registers such as SPC_SC, SPC_CNTRL, SPC_ACTIVE_CFG, SPC_GLITCH_DETECT_SC, CMC_SRS, CMC_SSRS, and the Debug Mailbox CSW.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 02:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2396156#M5646</guid>
      <dc:creator>george_from_hyn</dc:creator>
      <dc:date>2026-07-17T02:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN547: SWD DP ID is readable, but AP0/AP2 access returns WIRE ACK FAULT</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2397060#M5650</link>
      <description>&lt;P&gt;This is a tough one! Debugging connection issues can be really frustrating, especially with custom boards. That "WIRE ACK FAULT" definitely points to a communication breakdown. Have you had any luck trying different SWD clock speeds, or perhaps checking the power supply to the MCU during the debug session? Sometimes a marginal power delivery can cause these kinds of intermittent failures. It reminds me a bit of trying to get a perfect run in &lt;A href="https://snowrider3dfree.com" target="_blank" rel="noopener"&gt;Snow Rider 3D&lt;/A&gt; – one small misstep can throw everything off! I hope you get to the bottom of it soon!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 07:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN547-SWD-DP-ID-is-readable-but-AP0-AP2-access-returns-WIRE/m-p/2397060#M5650</guid>
      <dc:creator>SofiaIdris</dc:creator>
      <dc:date>2026-07-21T07:17:05Z</dc:date>
    </item>
  </channel>
</rss>

