<?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: Using trace32 debugging S32K116's issue in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1736348#M3366</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217315"&gt;@GGbong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You use an old version of the RM.&lt;/P&gt;
&lt;P&gt;SWD is supported on S32K116.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1696923555168.png" style="width: 559px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244244i1DC2DDFD829D7113/image-dimensions/559x190?v=v2" width="559" height="190" role="button" title="danielmartynek_0-1696923555168.png" alt="danielmartynek_0-1696923555168.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you please contact Lauterbach support?&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;</description>
    <pubDate>Tue, 10 Oct 2023 07:40:25 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-10-10T07:40:25Z</dc:date>
    <item>
      <title>Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726067#M3315</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; When I was debugging the S32K116 using trace32, the RCM_SRS's value always shows SW:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="101"&gt;&lt;SPAN class=""&gt;10&lt;BR /&gt;SW&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="550"&gt;&lt;SPAN class=""&gt;Software&lt;BR /&gt;Indicates a reset has been caused by software setting of SYSRESETREQ bit in Application Interrupt and&lt;BR /&gt;Reset Control Register in the ARM core.&lt;BR /&gt;0 Reset not caused by software setting of SYSRESETREQ bit&lt;BR /&gt;1 Reset caused by software setting of SYSRESETREQ bit&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;even if I turn it off and power S32K116 back on. The debug interface is SWD. Can anyone answer this question?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 08:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726067#M3315</guid>
      <dc:creator>GGbong</dc:creator>
      <dc:date>2023-09-20T08:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726911#M3318</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217315"&gt;@GGbong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There must be a write to the AIRCR[&lt;SPAN class=""&gt;SYSRESETREQ&lt;/SPAN&gt;] register in the application.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;S32_SCB-&amp;gt;AIRCR = 0x05FA0004;&lt;/LI-CODE&gt;
&lt;P&gt;What project are you debugging?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 07:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726911#M3318</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-21T07:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726948#M3319</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; My question is not that, in fact I want a RCM_SRS's value that wasn't SW. But no matter what I do, the reset type always shows SW.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 08:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726948#M3319</guid>
      <dc:creator>GGbong</dc:creator>
      <dc:date>2023-09-21T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726954#M3320</link>
      <description>&lt;P&gt;HI. Daniel,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That's not what I meant. In fact, I want another RCM_SRS value that wasn't SW. But no matter what I do, the reset type always shows SW.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BR,GGbong&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 08:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1726954#M3320</guid>
      <dc:creator>GGbong</dc:creator>
      <dc:date>2023-09-21T08:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1728006#M3328</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217315"&gt;@GGbong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Either the application writes the S32_SCB-&amp;gt;AIRCR with 0x05FA0004 or the .cmm script that you use to program / attach the debugger writes it.&lt;/P&gt;
&lt;P&gt;Can you go through the .cmm script?&lt;/P&gt;
&lt;P&gt;You can set a watchpoint on that register.&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;</description>
      <pubDate>Fri, 22 Sep 2023 11:59:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1728006#M3328</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-22T11:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1728571#M3331</link>
      <description>&lt;P&gt;Hi. Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I ‘ve done what you see, and I found the value of&amp;nbsp;&lt;SPAN&gt;SCB-&amp;gt;AIRCR is&amp;nbsp;0x05FA0000（default）. This is my .cmm script, and the screenshot when I run at line 53. Can&amp;nbsp;you see anything?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GGbong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 06:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1728571#M3331</guid>
      <dc:creator>GGbong</dc:creator>
      <dc:date>2023-09-25T06:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1730374#M3342</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217315"&gt;@GGbong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;No, I don't see anything in the screenshots.&lt;/P&gt;
&lt;P&gt;The register will always read 0x05FA0000.&lt;/P&gt;
&lt;P&gt;When the register is written with the 0x05FA0004 value, the MCU gets reset immediately.&lt;/P&gt;
&lt;P&gt;Can you try running a simple script like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;SYStem.RESet
SYStem.CPU S32k116
SYStem.UP

DO ~~/demo/arm/flash/s32k CPU=S32K116 PREPAREONLY

FLASH.ReProgram ALL /Erase
DATA.LOAD.ELF "*.elf"
FLASH.ReProgram off

data.list
GO main
WAIT !RUN()

ENDDO&lt;/LI-CODE&gt;
&lt;P&gt;And use an .elf file from an SDK / RTD example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1730374#M3342</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-27T09:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1735422#M3360</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I did what you said, but it still the same, the RCM_SRS's value always show 0x00000400. The .elf file from&amp;nbsp;"T32\demo\arm\hardware\s32k\s32k116\sieve_ram_thumb_v6m.elf".&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Besides, I think the SW is OK. My question is the RCM_SRS only shows&amp;nbsp;0x00000400(SW),even if I power it down and power it&amp;nbsp; back on&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 02:37:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1735422#M3360</guid>
      <dc:creator>GGbong</dc:creator>
      <dc:date>2023-10-09T02:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1735846#M3363</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217315"&gt;@GGbong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;After Power-on reset, RCM_SRS = 0x82.&lt;/P&gt;
&lt;P&gt;Once you plug the board again, monitor the reset_b pin just to make sure the MCU does not reset itself while running stand-alone.&lt;/P&gt;
&lt;P&gt;Can you use UART or GPIOs or any other interface except JTAG/SWD to read the RCM_SRS register?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 14:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1735846#M3363</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-09T14:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1736300#M3365</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I can't use other interface to read the register. There only S32Desing Studio and Trace 32&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Besides, when I use S32DS to debugging the S32K116, the RCM_SRS value is correct, but if use the Trace32, it only shows 0x400. The trace32''s interface is SWD, and in S32DS, interface is PE micro.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; By the way, I read in the manual that the S32K116 is not supported SWD or JTAG, will this have any impact?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class=""&gt;Table 53-1. Supported debug interfaces&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;Chip &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="537"&gt;&lt;SPAN class=""&gt;Supported debug interfaces&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="130"&gt;&lt;SPAN class=""&gt;IEEE 1149.1 JTAG &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="138"&gt;&lt;SPAN class=""&gt;Serial Wire&lt;BR /&gt;Debug(SWD)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;SWO &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;4-pin parallel trace&lt;BR /&gt;port&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;S32K142 &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="130"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="138"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;No&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;S32K146 &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="130"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="138"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;No&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;S32K144 &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="130"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="138"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;No&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;S32K148 &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="130"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="138"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;Yes &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="134"&gt;&lt;SPAN class=""&gt;Yes&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from &amp;lt; &lt;SPAN class=""&gt;S32K1xx Series Reference Manual&lt;/SPAN&gt;&amp;gt;&amp;nbsp; &lt;SPAN class=""&gt;Document Number: S32K1XXRM&lt;BR /&gt;Rev. 4, 06/2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;BR, GGbong&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 06:46:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1736300#M3365</guid>
      <dc:creator>GGbong</dc:creator>
      <dc:date>2023-10-10T06:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace32 debugging S32K116's issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1736348#M3366</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217315"&gt;@GGbong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You use an old version of the RM.&lt;/P&gt;
&lt;P&gt;SWD is supported on S32K116.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1696923555168.png" style="width: 559px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244244i1DC2DDFD829D7113/image-dimensions/559x190?v=v2" width="559" height="190" role="button" title="danielmartynek_0-1696923555168.png" alt="danielmartynek_0-1696923555168.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you please contact Lauterbach support?&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;</description>
      <pubDate>Tue, 10 Oct 2023 07:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Using-trace32-debugging-S32K116-s-issue/m-p/1736348#M3366</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-10T07:40:25Z</dc:date>
    </item>
  </channel>
</rss>

