<?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: How to debug M33 multicore example on iMX93 Evaluation Kit in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1719631#M212275</link>
    <description>&lt;P&gt;Thanks Aldo for your reply,&lt;/P&gt;&lt;P&gt;It's too bad that there is no explanation anywhere about how to debug multicore solutions ...&lt;/P&gt;&lt;P&gt;Anyway, from your knowledge, is there any reason why attaching a JLink debugger to the M33 CPU in imx93 EVK would trigger a reset the A55 Cores ? (I was thinking this might be due to what you explain about linux Device Tree, but before trying to update the linux device tree, I would be glad to know if connecting a Jlink probe to the M33 would still reset the A55 because of some internal SOC wiring) ?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 14:36:58 GMT</pubDate>
    <dc:creator>thierry37</dc:creator>
    <dc:date>2023-09-08T14:36:58Z</dc:date>
    <item>
      <title>How to debug M33 multicore example on iMX93 Evaluation Kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1718152#M212128</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am trying to debug the mcimx93evk_rpmsg_lite_str_echo_rtos_imxcm33 example on Cortex M33.&lt;/LI&gt;&lt;LI&gt;I am using mcuXpressoSDK_MCIMX93-EVK&lt;/LI&gt;&lt;LI&gt;Since this SDK is not supported in MCUXPRESSO, I have installed the SDK in Visual Studio Code.&lt;/LI&gt;&lt;LI&gt;I am booting from the A55, stopping u-boot, then loading the Cortex M33 image from uboot as explained in documentation.&lt;/LI&gt;&lt;LI&gt;Until now everything is working and I can see the traces in M33 console&lt;/LI&gt;&lt;LI&gt;then I start linux on A55&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But, when I "attach" the JILNK debugger to the target (from Visual Studio, right click on the project name and click "attach") for debugging the Cortex-M software, the A55 is reset, and then the M33 is also reset.&lt;/P&gt;&lt;P&gt;I am using LPC-Link2 Debug Probe with JLink firmware.&lt;/P&gt;&lt;P&gt;@note : I can properly debug "M33 only" applications with this probe, or also "attach to running target".&lt;/P&gt;&lt;P&gt;Is there a tutorial, or explanation ... somewhere about how to debug Freertos Application in multicore iMx93 (@note : iMx8 examples are not relevant since MCUXPresso does not support iMx93 Evaluation Kit)&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 16:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1718152#M212128</guid>
      <dc:creator>thierry37</dc:creator>
      <dc:date>2023-09-06T16:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug M33 multicore example on iMX93 Evaluation Kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1719022#M212215</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Unfortunately we do not have documentation or guides to do this with a Jlink debugger.&lt;BR /&gt;&lt;BR /&gt;Also, please note that multicore debugging isn't as straightforward as normal debugging, so you'll need to connect to the Cortex-A and then turn on the Cortex-M through it.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may refer to the following:&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://wiki.segger.com/Multi-Core_Debugging" target="_blank"&gt;https://wiki.segger.com/Multi-Core_Debugging&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forum.segger.com/index.php/Thread/6130-SOLVED-Multi-core-debugging/" target="_blank"&gt;https://forum.segger.com/index.php/Thread/6130-SOLVED-Multi-core-debugging/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please note that the default i.MX 93 EVK Linux kernel device trees MUX the JTAG pins to LPUART5 for Bluetooth, FlexCAN2 and SAI3 when it starts. So you'll need to create a custom device tree for this i.e.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;amp;lpuart5 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "disabled";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&amp;amp;flexcan2 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "disabled";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&amp;amp;sai3 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "disabled";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&amp;amp;iomuxc {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctl_jtag: jtaggrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_DAP_TDI__JTAG_MUX_TDI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_GPIO_IO24__JTAG_MUX_TDO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_GPIO_IO25__JTAG_MUX_TCK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_GPIO_IO26__JTAG_MUX_TDI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX93_PAD_GPIO_IO27__JTAG_MUX_TMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31e&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 20:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1719022#M212215</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2023-09-07T20:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug M33 multicore example on iMX93 Evaluation Kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1719631#M212275</link>
      <description>&lt;P&gt;Thanks Aldo for your reply,&lt;/P&gt;&lt;P&gt;It's too bad that there is no explanation anywhere about how to debug multicore solutions ...&lt;/P&gt;&lt;P&gt;Anyway, from your knowledge, is there any reason why attaching a JLink debugger to the M33 CPU in imx93 EVK would trigger a reset the A55 Cores ? (I was thinking this might be due to what you explain about linux Device Tree, but before trying to update the linux device tree, I would be glad to know if connecting a Jlink probe to the M33 would still reset the A55 because of some internal SOC wiring) ?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 14:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-debug-M33-multicore-example-on-iMX93-Evaluation-Kit/m-p/1719631#M212275</guid>
      <dc:creator>thierry37</dc:creator>
      <dc:date>2023-09-08T14:36:58Z</dc:date>
    </item>
  </channel>
</rss>

