<?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>i.MX Processors中的主题 Re: Debug the Cortex-M33 on iMX93EVK</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990239#M230625</link>
    <description>&lt;P&gt;The kernel version we build is&amp;nbsp;imx-6.6.36-2.1.0.&lt;/P&gt;&lt;P&gt;I do not know which pre-build image, it came pre-installed when we bought the EVK. It prints "NXP i.MX Release Distro 6.6-scarthgap imx93evk ttyLP0" on startup, and "Linux version 6.6.36-lts-next-gd23d64eea511" on /proc/version&lt;/P&gt;&lt;P&gt;Under which name would the UART5 show up in /dev? There is a /dev/ttyLP0, would the UART5 show up as /dev/ttyLP5 or some other number?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 13:52:47 GMT</pubDate>
    <dc:creator>Sander-ET</dc:creator>
    <dc:date>2024-11-07T13:52:47Z</dc:date>
    <item>
      <title>Debug the Cortex-M33 on iMX93EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1989036#M230579</link>
      <description>&lt;P&gt;I am trying to get a debug connection to the Cortex-M33 on the iMX93EVK board, using a SEGGER J-Link. I want to be able to debug while Linux is running on the A55.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried debugging the hello_world demo app on the M33 while the A55 is in U-Boot, following the instructions in&amp;nbsp;AN14120. The U-Boot commands:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;fatload mmc 1:1 80000000 sdk20-app.bin&lt;/P&gt;&lt;P&gt;cp.b 0x80000000 0x201e0000 0x10000&lt;/P&gt;&lt;P&gt;bootaux 0x1ffe0000&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;start the firmware and the output shows up on the serial port. But when I try to connect using the SEGGER&amp;nbsp;JLinkGDBServerExe it fails to find the device. The log shows this:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;02-00000000-00-00000041-004D: TB9DF640 005:451.096 ******************************************************&lt;BR /&gt;02-00000000-00-00000041-004A: TB9DF640 005:451.097 J-Link script: i.MX93 Cortex-M33 core J-Link script&lt;BR /&gt;02-00000000-00-00000041-004D: TB9DF640 005:451.098 ******************************************************&lt;BR /&gt;02-00000000-00-00000042-0034: TB9DF640 005:451.523 InitTarget() end - Took 426us&lt;BR /&gt;02-00000000-00-00000042-004D: TB9DF640 005:452.146 TotalIRLen = ?, IRPrint = 0x..000000000000000000000000&lt;BR /&gt;02-00000000-00-00000044-005B: TB9DF640 005:453.793 &lt;STRONG&gt;Failed to identify target.&lt;/STRONG&gt; Resetting via Reset pin and trying again.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It uses the iMX93 J-Link script but fails to connect to the target. &lt;EM&gt;Attach&lt;/EM&gt; from VS Code (with MCUXpresso extension) also does not work.&lt;/P&gt;&lt;P&gt;I get the same result when I try to debug while the A55 is in Linux (after changing the kernel DTS to disable lpuart5).&lt;/P&gt;&lt;P&gt;Only when I put the BOOT_MODE to Cortex-M33 (Infinite Loop) can the J-Link find the device, and I can debug the demo app using VS Code.&lt;/P&gt;&lt;P&gt;Why doesn't the J-Link detect the target with the A55 in U-Boot or Linux?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sander&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 16:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1989036#M230579</guid>
      <dc:creator>Sander-ET</dc:creator>
      <dc:date>2024-11-06T16:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debug the Cortex-M33 on iMX93EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1989543#M230589</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243013"&gt;@Sander-ET&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;What BSP are you using?&lt;/P&gt;
&lt;P&gt;Do you tried to right-click the project in the MCUXpresso for VS Code and choose "Attach to debug the project"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you can update the environment of u-boot like we recommend in this &lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX93-A-core-M-core-cannot-be-activated-simultaneously/m-p/1886555" target="_self"&gt;post.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 23:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1989543#M230589</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-11-06T23:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debug the Cortex-M33 on iMX93EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990001#M230610</link>
      <description>&lt;P&gt;For the Cortex-M33 we are using the&amp;nbsp;MCUXpresso SDK from git (&lt;SPAN&gt;MCUX_2.16.100)&lt;/SPAN&gt;. We try to start the debugger from Visual Studio Code, using the MCUXpresso extension. We tried the right-click Attach and Debug, both fail to connect but reset the board.&lt;/P&gt;&lt;P&gt;For the Cortex-A we build an image using imx-docker (MACHINE="imx93-11x11-lpddr4x-evk",&amp;nbsp;DISTRO="fsl-imx-xwayland",&amp;nbsp;IMAGES="imx-image-core"). We boot this from SD card. The device tree has been modified to disable lpuart5. Is there a way to verify from Linux that lpuart5 really is disabled?&lt;/P&gt;&lt;P&gt;We also tried to debug booting the original (demo) image in eMMC with the A55 in U-Boot. We get no JTAG connection with this image either.&lt;/P&gt;&lt;P&gt;The suggested change of the u-boot environment did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sander&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 08:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990001#M230610</guid>
      <dc:creator>Sander-ET</dc:creator>
      <dc:date>2024-11-07T08:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debug the Cortex-M33 on iMX93EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990217#M230623</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243013"&gt;@Sander-ET&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What kernel version are you compiling in Yocto and what pre-build image are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can corroborate if the UART5 is not working if the UART is not listed in the folder /dev/ of the iMX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990217#M230623</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-11-07T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Debug the Cortex-M33 on iMX93EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990239#M230625</link>
      <description>&lt;P&gt;The kernel version we build is&amp;nbsp;imx-6.6.36-2.1.0.&lt;/P&gt;&lt;P&gt;I do not know which pre-build image, it came pre-installed when we bought the EVK. It prints "NXP i.MX Release Distro 6.6-scarthgap imx93evk ttyLP0" on startup, and "Linux version 6.6.36-lts-next-gd23d64eea511" on /proc/version&lt;/P&gt;&lt;P&gt;Under which name would the UART5 show up in /dev? There is a /dev/ttyLP0, would the UART5 show up as /dev/ttyLP5 or some other number?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:52:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1990239#M230625</guid>
      <dc:creator>Sander-ET</dc:creator>
      <dc:date>2024-11-07T13:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debug the Cortex-M33 on iMX93EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1992000#M230725</link>
      <description>&lt;P&gt;The solution to this problem was to switch off the UART5 from JTAG on the board with the DIP switches SW101.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 13:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-the-Cortex-M33-on-iMX93EVK/m-p/1992000#M230725</guid>
      <dc:creator>Sander-ET</dc:creator>
      <dc:date>2024-11-11T13:36:24Z</dc:date>
    </item>
  </channel>
</rss>

