<?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>S32KのトピックRe: SWO on S32K344 with S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2065827#M47033</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247658"&gt;@jakub-holoubek&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize for the late reply. This may be an issue with the implementation of trace and our architecture. There is an internal discussion with the SW team now. I will try to update you if anything else comes up.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As of now, you can create a new project in S32DS with prinft ITM, but the retarget_itm library does not work as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 20:34:01 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2025-03-20T20:34:01Z</dc:date>
    <item>
      <title>SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2056529#M46487</link>
      <description>&lt;P&gt;Hi is there any complete example how to make SWO running using S32 design studio? How to configure pinMUX, clocks, etc? I've tried multiple examples with J-link and PEMicro debuggers, but with no success. I've been using also&amp;nbsp;&lt;SPAN&gt;retarget_itm.c library&lt;/SPAN&gt;&amp;nbsp;for ITM configuration (delivered by NXP).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 20:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2056529#M46487</guid>
      <dc:creator>jakub-holoubek</dc:creator>
      <dc:date>2025-03-05T20:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2056534#M46488</link>
      <description>&lt;P&gt;For example in this article:&amp;nbsp;&lt;A title="Single Wire Output (SWO) support within S32 Design Studio, enabled by PEmicro's GDB Server" href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/Single-Wire-Output-SWO-support-within-S32-Design-Studio-enabled/ta-p/1100632" target="_blank" rel="noopener"&gt;Single Wire Output (SWO) support within S32 Design Studio, enabled by PEmicro's GDB Server&lt;/A&gt;&amp;nbsp;It would be nice have more details, including sources.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 20:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2056534#M46488</guid>
      <dc:creator>jakub-holoubek</dc:creator>
      <dc:date>2025-03-05T20:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2057255#M46528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247658"&gt;@jakub-holoubek&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I believe this is a question for SEGGER instead. There is no other example for configuring this with S32DS specifically, but you can use the following posts as guidance:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/" target="_blank" rel="noopener"&gt;Tutorial: Using Single Wire Output SWO with ARM Cortex-M and Eclipse | MCU on Eclipse&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.pemicro.com/forums/forum_topic.cfm?forum_id=8&amp;amp;forum_topic_id=7492" target="_blank" rel="noopener"&gt;PEmicro Forums Topic: Problem with ITM-printf in S32DS using Multilink ACP Rev.B&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K/SWV-ITM-gt-SWO-on-S32k324-not-working/td-p/1805855" target="_blank" rel="noopener"&gt;Solved: SWV (ITM --&amp;gt; SWO) on S32k324 not working - NXP Community&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Also, SEGGER has a dedicated page in their knowledge base for their J-Link SWO Viewer:&amp;nbsp;&lt;A href="https://kb.segger.com/J-Link_SWO_Viewer" target="_blank" rel="noopener"&gt;J-Link SWO Viewer - SEGGER Knowledge Base&lt;/A&gt;&amp;nbsp;&amp;amp; &lt;A href="https://kb.segger.com/UM08001_J-Link_/_J-Trace_User_Guide" target="_blank"&gt;UM08001 J-Link / J-Trace User Guide - SEGGER Knowledge Base.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 17:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2057255#M46528</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-03-06T17:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2057273#M46532</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;,&lt;BR /&gt;thanks for reply. I've checked that tutorials. One issue I've got is that MCU goes to the hard fault once I want to write/read some TPIU registers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example this code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;*((volatile unsigned *)(ITM_BASE + 0x400F0)) = 0x00000002; /* "Selected PIN Protocol Register": Select which protocol to use for trace output (2: SWO NRZ, 1: SWO Manchester encoding) */
  *((volatile unsigned *)(ITM_BASE + 0x40010)) = SWOPrescaler; /* "Async Clock Prescaler Register". Scale the baud rate of the asynchronous output */&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Once trying to set one of those registers the MCU goes to hard fault. I've found in reference manual of ARM M7 core, that TPIU is not configured in M7 cores - can you confirm that?&amp;nbsp;&lt;BR /&gt;Or is there any other register I have to set before writing into TPIU related registers?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 18:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2057273#M46532</guid>
      <dc:creator>jakub-holoubek</dc:creator>
      <dc:date>2025-03-06T18:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2059835#M46665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247658"&gt;@jakub-holoubek&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Are you using the S32K344 evaluation board? By default, all TRACE signals are DISABLED.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SWO-TRACE-K344EVB.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327566i924FA41E61EC5BFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SWO-TRACE-K344EVB.png" alt="SWO-TRACE-K344EVB.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SWO-TRACE-K344EVB.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 20:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2059835#M46665</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-03-11T20:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2061113#M46726</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;yes, I'm using S32K3-T-BOX board. Those TRACE signals are valid for ETM interface. However I need to communicate using ITM through JTAG_TDO pin - so it is routed to JTAG connector. That pin is used for SWO communication in case the SWD protocol is used instead of JTAG - which is my case.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 08:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2061113#M46726</guid>
      <dc:creator>jakub-holoubek</dc:creator>
      <dc:date>2025-03-13T08:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2065827#M47033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247658"&gt;@jakub-holoubek&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize for the late reply. This may be an issue with the implementation of trace and our architecture. There is an internal discussion with the SW team now. I will try to update you if anything else comes up.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As of now, you can create a new project in S32DS with prinft ITM, but the retarget_itm library does not work as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 20:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2065827#M47033</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-03-20T20:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2066074#M47055</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;, ok thanks. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt; I'm aware of that retarget_itm library. However my suspicion is that there is some issue with TPIU related registers. Which are probably accessed by debugger itself:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cortex m7 TPIU registers" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329205i005F97CCECBEAEEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="Cortex m7 TPIU registers" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Cortex m7 TPIU registers&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;In case I'm setting them from the code the MCU goes to hard fault. And same happens also in case I connect the debugger (tried J-Link, PEMicro, Lauterbach) and want to enable the SWO through debugger's settings - MCU goes into hard fault.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 07:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2066074#M47055</guid>
      <dc:creator>jakub-holoubek</dc:creator>
      <dc:date>2025-03-21T07:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2066553#M47075</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/247658"&gt;@jakub-holoubek&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have sent you a private message through the community.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 20:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2066553#M47075</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-03-21T20:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: SWO on S32K344 with S32 Design Studio</title>
      <link>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2183480#M53382</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;, Has this issue been resolved? I am encountering the same problem, where the MCU enters a hard fault after configuring the TPIU registers, and J-Link is also unable to write data to these registers. Could this be due to some safety protection? Is there any additional configuration I need to perform before writing to these TPIU registers? I would greatly appreciate any help or insights.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 03:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SWO-on-S32K344-with-S32-Design-Studio/m-p/2183480#M53382</guid>
      <dc:creator>Mob</dc:creator>
      <dc:date>2025-10-10T03:08:12Z</dc:date>
    </item>
  </channel>
</rss>

