<?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: s32k116 debug port in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2086747#M48134</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247342"&gt;@Harold_zhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To ensure that only authorized users can access the debug port on S32K1 devices, you can use the Flash Security (FSEC) register to limit access.&lt;/P&gt;
&lt;P&gt;The S32K1 family can limit access to Flash r and disable access to the MCU through JTAG by configuring the FSEC[SEC] bits. This restricts access to registers within the JTAG and debug logic via the debug port, but no other registers or memory inside the processor.&lt;/P&gt;
&lt;P&gt;To enable or disable the JTAG interface. You must manipulate the Flash section in the startup code.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Flash Configuration */
.section .FlashConfig, "a"
.long 0xFFFFFFFF     /* 8 bytes backdoor comparison key           */
.long 0xFFFFFFFF     /*                                           */
.long 0xFFFFFFFF     /* 4 bytes program flash protection bytes    */
.long 0xFFFF7FFE     /* FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured) */&lt;/LI-CODE&gt;
&lt;P&gt;For more detailed information, refer to section 36.4.4.1.4 of the S32K1xx Series Reference Manual, Rev. 14.&lt;/P&gt;
&lt;P&gt;Additionally, you can develop a custom bootloader that includes an authentication step before allowing code download. This can involve checking a digital signature or a password before enabling the debug interface.&lt;/P&gt;
&lt;P&gt;For more detailed guidance, you can refer to the following resources:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf" target="_blank" rel="noopener"&gt;Production Flash Programming Best Practices for S32K1xx MCUs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5401&amp;amp;_gl=1*jlj8zt*_ga*MjQzMDE4ODkuMTczOTQ4MjI2NQ..*_ga_WM5LE0KMSH*MTc0NTUwODcwNy44MS4xLjE3NDU1MTAyNDMuMC4wLjA." target="_blank" rel="noopener"&gt;Getting Started with the CSEc Security Module&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12218.pdf" target="_blank" rel="noopener"&gt;AN12218: S32K1xx Bootloader&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099" target="_blank" rel="noopener"&gt;Unified Bootloader Demo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2025 16:04:26 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-04-24T16:04:26Z</dc:date>
    <item>
      <title>s32k116 debug port</title>
      <link>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2084660#M48005</link>
      <description>&lt;P&gt;when we download the code ,it need a process to verify . make sure the debug is&amp;nbsp;authorized. Not Everyone can access our debug port.&lt;/P&gt;&lt;P&gt;how to realize this function?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 13:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2084660#M48005</guid>
      <dc:creator>Harold_zhou</dc:creator>
      <dc:date>2025-04-22T13:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: s32k116 debug port</title>
      <link>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2086459#M48112</link>
      <description>&lt;P&gt;nobody reply ,please reply&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 09:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2086459#M48112</guid>
      <dc:creator>Harold_zhou</dc:creator>
      <dc:date>2025-04-24T09:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: s32k116 debug port</title>
      <link>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2086747#M48134</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247342"&gt;@Harold_zhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To ensure that only authorized users can access the debug port on S32K1 devices, you can use the Flash Security (FSEC) register to limit access.&lt;/P&gt;
&lt;P&gt;The S32K1 family can limit access to Flash r and disable access to the MCU through JTAG by configuring the FSEC[SEC] bits. This restricts access to registers within the JTAG and debug logic via the debug port, but no other registers or memory inside the processor.&lt;/P&gt;
&lt;P&gt;To enable or disable the JTAG interface. You must manipulate the Flash section in the startup code.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Flash Configuration */
.section .FlashConfig, "a"
.long 0xFFFFFFFF     /* 8 bytes backdoor comparison key           */
.long 0xFFFFFFFF     /*                                           */
.long 0xFFFFFFFF     /* 4 bytes program flash protection bytes    */
.long 0xFFFF7FFE     /* FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured) */&lt;/LI-CODE&gt;
&lt;P&gt;For more detailed information, refer to section 36.4.4.1.4 of the S32K1xx Series Reference Manual, Rev. 14.&lt;/P&gt;
&lt;P&gt;Additionally, you can develop a custom bootloader that includes an authentication step before allowing code download. This can involve checking a digital signature or a password before enabling the debug interface.&lt;/P&gt;
&lt;P&gt;For more detailed guidance, you can refer to the following resources:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf" target="_blank" rel="noopener"&gt;Production Flash Programming Best Practices for S32K1xx MCUs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5401&amp;amp;_gl=1*jlj8zt*_ga*MjQzMDE4ODkuMTczOTQ4MjI2NQ..*_ga_WM5LE0KMSH*MTc0NTUwODcwNy44MS4xLjE3NDU1MTAyNDMuMC4wLjA." target="_blank" rel="noopener"&gt;Getting Started with the CSEc Security Module&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12218.pdf" target="_blank" rel="noopener"&gt;AN12218: S32K1xx Bootloader&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099" target="_blank" rel="noopener"&gt;Unified Bootloader Demo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 16:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k116-debug-port/m-p/2086747#M48134</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-04-24T16:04:26Z</dc:date>
    </item>
  </channel>
</rss>

