<?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 Possible to debug M4 on QuadMax without hardware debugger? in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Possible-to-debug-M4-on-QuadMax-without-hardware-debugger/m-p/1436248#M3694</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to use the J-Link GDB server to debug an application running on the M4_0 core of an iMX8QM board.&lt;/P&gt;&lt;P&gt;Following the SDK for MEK-MIMX8QM Getting Started PDF (rev. 3 12/29/2020).&lt;/P&gt;&lt;P&gt;I flashed an SD card with the SCFW per the instructions in section 6.3, then built hello_world on a Linux VM per the instructions in 4.1.2, then tried to set up the debug connection on my Windows laptop per the instructions in 4.2.3.&lt;/P&gt;&lt;P&gt;Although the bullet point at the top of 4.2.3 implies a hardware J-Link probe is required ("You have a standalone J-Link pod..."), step 1 immediately below that implies it is optional ("&lt;STRONG&gt;If&lt;/STRONG&gt; using a standalone J-Link debug pod, ...") so I proceeded under the latter assumption.&lt;/P&gt;&lt;P&gt;Step 4 on how to set up the J-Link GDB server has a missing figure ("Modify the settings as shown in &lt;EM&gt;&amp;lt;blank&amp;gt;&lt;/EM&gt;.") but I made a best guess based on Figure 9.&lt;/P&gt;&lt;P&gt;The problem is that I keep getting the "No emulators connected via USB" dialog. I tried a couple of settings changes, like MIMX8&lt;STRONG&gt;QM5&lt;/STRONG&gt;_M4_0 instead of &lt;STRONG&gt;QM6&lt;/STRONG&gt;, SVD instead of JTAG, and 1000 instead of 4000 kHz speed, to no effect.&lt;/P&gt;&lt;P&gt;Obvious things checked: The board is fully powered up and functional -- I flashed hello_world via mkimg and verified the console output on a serial terminal. Also was able to boot the Linux distro on the original provided SD card.&lt;/P&gt;&lt;P&gt;So: is a hardware pod required or not to debug the M4 core on this board? And, if not, does anyone have other suggestions of things to try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2022 14:23:58 GMT</pubDate>
    <dc:creator>Qt_BrendanL</dc:creator>
    <dc:date>2022-03-30T14:23:58Z</dc:date>
    <item>
      <title>Possible to debug M4 on QuadMax without hardware debugger?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Possible-to-debug-M4-on-QuadMax-without-hardware-debugger/m-p/1436248#M3694</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to use the J-Link GDB server to debug an application running on the M4_0 core of an iMX8QM board.&lt;/P&gt;&lt;P&gt;Following the SDK for MEK-MIMX8QM Getting Started PDF (rev. 3 12/29/2020).&lt;/P&gt;&lt;P&gt;I flashed an SD card with the SCFW per the instructions in section 6.3, then built hello_world on a Linux VM per the instructions in 4.1.2, then tried to set up the debug connection on my Windows laptop per the instructions in 4.2.3.&lt;/P&gt;&lt;P&gt;Although the bullet point at the top of 4.2.3 implies a hardware J-Link probe is required ("You have a standalone J-Link pod..."), step 1 immediately below that implies it is optional ("&lt;STRONG&gt;If&lt;/STRONG&gt; using a standalone J-Link debug pod, ...") so I proceeded under the latter assumption.&lt;/P&gt;&lt;P&gt;Step 4 on how to set up the J-Link GDB server has a missing figure ("Modify the settings as shown in &lt;EM&gt;&amp;lt;blank&amp;gt;&lt;/EM&gt;.") but I made a best guess based on Figure 9.&lt;/P&gt;&lt;P&gt;The problem is that I keep getting the "No emulators connected via USB" dialog. I tried a couple of settings changes, like MIMX8&lt;STRONG&gt;QM5&lt;/STRONG&gt;_M4_0 instead of &lt;STRONG&gt;QM6&lt;/STRONG&gt;, SVD instead of JTAG, and 1000 instead of 4000 kHz speed, to no effect.&lt;/P&gt;&lt;P&gt;Obvious things checked: The board is fully powered up and functional -- I flashed hello_world via mkimg and verified the console output on a serial terminal. Also was able to boot the Linux distro on the original provided SD card.&lt;/P&gt;&lt;P&gt;So: is a hardware pod required or not to debug the M4 core on this board? And, if not, does anyone have other suggestions of things to try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 14:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Possible-to-debug-M4-on-QuadMax-without-hardware-debugger/m-p/1436248#M3694</guid>
      <dc:creator>Qt_BrendanL</dc:creator>
      <dc:date>2022-03-30T14:23:58Z</dc:date>
    </item>
  </channel>
</rss>

