<?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: FRDM MCXN947: Debug Authentication not working in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2354838#M5272</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258473"&gt;@FlorianF1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you share CC_SOCU_PIN, CC_SOCU_DFLT (CMPA), DCFG_CC_SOCU_NS_PIN, DCFG_CC_SOCU_NS_DFLT (CFPA) configured in Secure Provisioning tool OR complete workspace?&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;After POR I'm able to debug the application using MCUXpresso for VSCode without doing debug authentication (This should not be possible, right?).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's right, if you configured chip correctly, the debug should be disabled.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Since I'm only evaluating no fuses are burned. Is it required to burn fuses to get Debug Authentication to work correctly?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That should not be needed&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2026 20:12:59 GMT</pubDate>
    <dc:creator>marek-trmac</dc:creator>
    <dc:date>2026-04-22T20:12:59Z</dc:date>
    <item>
      <title>FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2354659#M5270</link>
      <description>&lt;P&gt;Hello, I'm currently evaluating the debug authentication on the FRDM-MCXN947.&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Probe:&lt;/STRONG&gt; On-board MCU-Link flashed with J-Link firmware&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SPSDK Version:&lt;/STRONG&gt; 3.0.0&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;J-Link Version:&lt;/STRONG&gt; V8.56a&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The Board is getting provisioned using the Secure Provisioning Tool version 25.12 (Workspace attached). I updated CC_SOCU_PIN, CC_SOCU_DFLT (CMPA), DCFG_CC_SOCU_NS_PIN, DCFG_CC_SOCU_NS_DFLT (CFPA) and advanced the lifecycle using the CFPA_LC_STATE Bit-field to enable debugging after authentication is done since advancing using OTP is irreversable. Keys, debug certificate request and debug certificate have been created using the GUI Tool. After Pin Reset the firmware is running. Connecting to the Board using J-Link is failing and stating to Re-enable the debug access.&amp;nbsp;Debug Authentication is also failing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FlorianF1_0-1776846954267.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383168i3010481AF32BEFCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FlorianF1_0-1776846954267.png" alt="FlorianF1_0-1776846954267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After POR I'm able to debug the application using MCUXpresso for VSCode without doing debug authentication (This should not be possible, right?). Doing Debug Authentication though, this time its running through successfully.&amp;nbsp;Nevertheless commands like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nxpdebugmbox -i pyocd cmd -f mcxn947 ispmode -m 0&lt;/LI-CODE&gt;&lt;P&gt;are still failing: "SPSDKAppError: Entering into ISP mode failed: SPSDK: Problem with debug mailbox occurred: SPSDK: Device did not send correct ACK answer!". Having a look at the lifecycle after setting the board into ISP mode (using reset and isp button), Lifecycle: Secured, and unable to read any PFR/OTP configuration (as expected).&lt;/P&gt;&lt;P&gt;By just enabling Dual Image Boot option, building, flashing the image (pfr mass erase done previously)and doing a POR. Doing debug authentication is always failing. No connection using J-Link can be established and trying to enter ISP mode through debug mailbox fails as well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FlorianF1_0-1776851445419.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/383178i93E7885BDD7D5627/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FlorianF1_0-1776851445419.png" alt="FlorianF1_0-1776851445419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm think my configuration should be correct, but i would appreciate a validation. Since I'm only evaluating no fuses are burned. Is it required to burn fuses to get Debug Authentication to work correctly? If more detailed information are needed, just let me know. Appreciate any information on what i might have missed or how to move on.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 10:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2354659#M5270</guid>
      <dc:creator>FlorianF1</dc:creator>
      <dc:date>2026-04-22T10:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2354838#M5272</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258473"&gt;@FlorianF1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you share CC_SOCU_PIN, CC_SOCU_DFLT (CMPA), DCFG_CC_SOCU_NS_PIN, DCFG_CC_SOCU_NS_DFLT (CFPA) configured in Secure Provisioning tool OR complete workspace?&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;After POR I'm able to debug the application using MCUXpresso for VSCode without doing debug authentication (This should not be possible, right?).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's right, if you configured chip correctly, the debug should be disabled.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Since I'm only evaluating no fuses are burned. Is it required to burn fuses to get Debug Authentication to work correctly?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That should not be needed&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 20:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2354838#M5272</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2026-04-22T20:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2355005#M5275</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176703"&gt;@marek-trmac&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;complete workspace is attached below.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 07:07:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2355005#M5275</guid>
      <dc:creator>FlorianF1</dc:creator>
      <dc:date>2026-04-23T07:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2355748#M5287</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258473"&gt;@FlorianF1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;In addition to Marek’s suggestion, you may also refer to this Application Note (AN14162)&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN14162" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=AN14162&lt;/A&gt; , which describes the debug authentication procedure for MCXN947 using the Secure Provisioning Tool indetail.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;BR&lt;/DIV&gt;
&lt;DIV&gt;Alice&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Apr 2026 09:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2355748#M5287</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-04-24T09:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2360035#M5322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176703"&gt;@marek-trmac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a new fresh workspace and followed the instructions of Application Note (AN14162), but I'm seeing the same behaviour like in my previous setup.&lt;/P&gt;&lt;P&gt;Did anyone of you got the chance to have a look at the workspace I provided?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 11:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2360035#M5322</guid>
      <dc:creator>FlorianF1</dc:creator>
      <dc:date>2026-05-04T11:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2360116#M5326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258473"&gt;@FlorianF1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to follow the app note today with MCXN236 processor and I was able to open debug probe using J-Link Windows SW 8.56a, however with&amp;nbsp;J-Link Windows SW &lt;STRONG&gt;V938a&amp;nbsp;&lt;/STRONG&gt;it does not work and the tool reports problem with AHB access (similar you have). I'd recommend to double-check the J-Link Windows SW V938a is not installed.&lt;/P&gt;
&lt;P&gt;I also briefly looked into your workspace and I do not see any issue there.&lt;/P&gt;
&lt;P&gt;You can also consider try the use cases with MCU-LINK debug probe (CMSIS firmware).&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 20:21:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2360116#M5326</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2026-05-04T20:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM MCXN947: Debug Authentication not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2360329#M5330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176703"&gt;@marek-trmac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the advice. I will double check the JLink.&lt;BR /&gt;&lt;BR /&gt;Did you also check the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Trying to debug the device without doing and after doing debug authentication after POR (the first one should not work)&lt;/LI&gt;&lt;LI&gt;Changing provisioning to use "Dual image boot" (debug authentication and debug always fails at my side)&lt;/LI&gt;&lt;LI&gt;Try to enter isp-mode using the debug mailbox command (should be possible since DCFG_CC_SOCU_PIN and DCFG_CC_SOCU_DFLT for both CMPA and CFPA are set to 0xFE3F01C0 following the app note meaning ISP_CMD_EN is in fixed state and enabled):&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;nxpdebugmbox -v -i pyocd -s 1068597770 cmd -f mcxn947 ispmode -m 0​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2026 08:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXN947-Debug-Authentication-not-working/m-p/2360329#M5330</guid>
      <dc:creator>FlorianF1</dc:creator>
      <dc:date>2026-05-05T08:15:34Z</dc:date>
    </item>
  </channel>
</rss>

