<?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: S32K322 Dual Core debugging with J-link in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2155121#M51985</link>
    <description>&lt;P&gt;Hi D&lt;SPAN&gt;aniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached the project.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 09:09:45 GMT</pubDate>
    <dc:creator>AbdNxp</dc:creator>
    <dc:date>2025-08-20T09:09:45Z</dc:date>
    <item>
      <title>S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2153347#M51882</link>
      <description>&lt;P&gt;Hello NXP Support team,&lt;/P&gt;&lt;P&gt;Target: S32K322&lt;/P&gt;&lt;P&gt;Debugger H/W: J-link/J-trace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, my application launches and hits cm7_0 main, when run , the IDE get hanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted your expert guidance to do dual core debugging, where core0 and core1 runs independently, resetting core1 does not reset core0 and vise-versa.&lt;/P&gt;&lt;P&gt;How I can put break-point in core1 application.&lt;/P&gt;&lt;P&gt;Currently I am using an application attached below.&lt;/P&gt;&lt;P&gt;What I am trying to do is core0 does so communication on UART while core1 toggles LED. The code is not complete, but you may still refer it.&lt;/P&gt;&lt;P&gt;Additionally, wanted to know what if I initialize UART0 from core0 and UART1 from core1 will it cause any issue.&lt;/P&gt;&lt;P&gt;If I use a different GPIO configuration for core0 and core1, will it conflict each other?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 06:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2153347#M51882</guid>
      <dc:creator>AbdNxp</dc:creator>
      <dc:date>2025-08-18T06:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2153708#M51908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239701"&gt;@AbdNxp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The SEGGER plugin in S32 Design Studio supports launching a debug group, which allows you to program and debug multiple cores simultaneously.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/How-to-Use-Jlink-to-Debug-S32K324-Dual-Core-On-S32KDS3-5/td-p/1924460" target="_blank"&gt;https://community.nxp.com/t5/S32K/How-to-Use-Jlink-to-Debug-S32K324-Dual-Core-On-S32KDS3-5/td-p/1924460&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;... resetting core1 does not reset core0 and vise-versa.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Despite the dual-core architecture, you cannot reset one core independently while the other continues running. This limitation is due to the shared reset architecture of the S32K3xx family. A reset event affects both cores, making isolated core resets infeasible during debugging.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Additionally, wanted to know what if I initialize UART0 from core0 and UART1 from core1 will it cause any issue.&lt;/P&gt;
&lt;P&gt;If I use a different GPIO configuration for core0 and core1, will it conflict each other?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can safely initialize UART0 from CM7_0 and UART1 from CM7_1. This setup is valid as long as each core accesses its designated peripheral without overlap.&lt;/P&gt;
&lt;P&gt;To enforce access control between cores, you can configure XRDC (eXtended Resource Domain Controller):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create separate domains for CM7_0 and CM7_1.&lt;/LI&gt;
&lt;LI&gt;Assign peripherals like LPUART modules and GPIOs to specific domains.&lt;/LI&gt;
&lt;LI&gt;This ensures that CM7_0 cannot access CM7_1’s resources, and vice versa.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 14:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2153708#M51908</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-18T14:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2154074#M51936</link>
      <description>&lt;P&gt;I have already using the Group Debugging, the issue is S32DS Ide getting hanged or become non-responsive during the debug session.&lt;/P&gt;&lt;P&gt;See below image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbdNxp_1-1755583551737.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352904iC3403DE3F1D7CBDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbdNxp_1-1755583551737.png" alt="AbdNxp_1-1755583551737.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbdNxp_0-1755583463815.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352903i32574E87F447482D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AbdNxp_0-1755583463815.png" alt="AbdNxp_0-1755583463815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And also If I put a break somewhere in While(1 ) loop of point in CM7_1, break point does not hit.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 06:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2154074#M51936</guid>
      <dc:creator>AbdNxp</dc:creator>
      <dc:date>2025-08-19T06:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2155060#M51982</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239701"&gt;@AbdNxp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I cannot reproduce this behavior.&lt;/P&gt;
&lt;P&gt;It seems that the second debug session for CM7_1 debugs code from the same memory region (0x400000) as the first debug session.&lt;/P&gt;
&lt;P&gt;Can you maybe share the test project?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 08:10:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2155060#M51982</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-20T08:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2155121#M51985</link>
      <description>&lt;P&gt;Hi D&lt;SPAN&gt;aniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached the project.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 09:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2155121#M51985</guid>
      <dc:creator>AbdNxp</dc:creator>
      <dc:date>2025-08-20T09:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2156031#M52048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239701"&gt;@AbdNxp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I still cannot reproduce the issue.&lt;/P&gt;
&lt;P&gt;However, please note that in the S32DS IDE, this functionality is provided by a SEGGER plugin.&lt;/P&gt;
&lt;P&gt;I recommend reaching out to SEGGER support as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 11:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2156031#M52048</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-21T11:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2163559#M52416</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;So you are able to run the application with J-link/J-trace Pro ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried multiple time but I could not make it run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 09:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2163559#M52416</guid>
      <dc:creator>AbdNxp</dc:creator>
      <dc:date>2025-09-04T09:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 Dual Core debugging with J-link</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2164423#M52458</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239701"&gt;@AbdNxp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yes, I can debug multicore application with J-trace from S32DS IDE.&lt;/P&gt;
&lt;P&gt;Unfortunately, I don't have any S32K322 HW right now.&lt;/P&gt;
&lt;P&gt;Here you can see that both cores work in different flash blocks, unlike in the screenshot you posted.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1757078605716.png" style="width: 470px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355765iE066758576F691CD/image-dimensions/470x376?v=v2" width="470" height="376" role="button" title="danielmartynek_0-1757078605716.png" alt="danielmartynek_0-1757078605716.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have tried loading your application on S32K324 which should be possible, but I get a different error than you.&lt;/P&gt;
&lt;P&gt;The debug configuration of the second core should have this disabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1757078876713.png" style="width: 427px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355766i6D6750D7877B4EC6/image-dimensions/427x80?v=v2" width="427" height="80" role="button" title="danielmartynek_1-1757078876713.png" alt="danielmartynek_1-1757078876713.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But you have that in the project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 13:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-Dual-Core-debugging-with-J-link/m-p/2164423#M52458</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-09-05T13:29:07Z</dc:date>
    </item>
  </channel>
</rss>

