<?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 external Black Magic Debugger on MIMXRT1180-EVK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2165377#M240596</link>
    <description>&lt;P&gt;I tested different jumper configurations: JP4 shorted with JP5 open, and JP4 open with JP5 shorted, both with SW5 set to 0100, which according to the documentation should boot from FlexSPI quad SPI serial NOR (or octal SPI NOR in quad SPI NOR mode) when powered from the 5 V barrel jack. With SW5 in this setting, D7 blinks red and D6 blinks green, but the pre-flashed LED blink program does not run.&lt;/P&gt;&lt;P&gt;When powering through the USB debug port with SW5 at the default 0001 (Serial Downloader), the pre-flashed LED blink program does run as expected.&lt;/P&gt;&lt;P&gt;The Black Magic Probe reports “Target voltage: 3.3V” when the EVK is powered from the barrel jack, but the SWD scan still fails. When powered through the USB debug port, the Black Magic Probe reports “Target voltage: 0V” and the SWD scan also fails.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2025 18:17:35 GMT</pubDate>
    <dc:creator>ryan714</dc:creator>
    <dc:date>2025-09-08T18:17:35Z</dc:date>
    <item>
      <title>Using external Black Magic Debugger on MIMXRT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2163924#M240535</link>
      <description>&lt;P&gt;Hello, I have a Black Magic Probe (firmware version 2.0) that I am using as an external debugger with a 20-pin JTAG to 10-pin SWD adapter. I’m having trouble getting it to work with the MIMXRT1180-EVK. Could you please let me know which jumpers need to be shorted on the board to enable external debugging with this probe?&lt;/P&gt;&lt;P&gt;I tried shorting JP4, and using the following commands:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;arm-none-eabi-gdb Debug/evkmimxrt1180_rled_blinky_cm33.axf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;(gdb) target extended-remote /dev/ttyACM0&lt;BR /&gt;Remote debugging using /dev/ttyACM0&lt;BR /&gt;(gdb) monitor swdp_scan&lt;BR /&gt;Target voltage: 0.0V&lt;BR /&gt;SWD scan failed!&lt;BR /&gt;Failed&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 21:47:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2163924#M240535</guid>
      <dc:creator>ryan714</dc:creator>
      <dc:date>2025-09-04T21:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using external Black Magic Debugger on MIMXRT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2163944#M240539</link>
      <description>I also tried shorting JP5, with no avail.</description>
      <pubDate>Thu, 04 Sep 2025 23:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2163944#M240539</guid>
      <dc:creator>ryan714</dc:creator>
      <dc:date>2025-09-04T23:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using external Black Magic Debugger on MIMXRT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2164596#M240556</link>
      <description>&lt;P&gt;Today I powered the MIMXRT1180-EVK board using the barrel jack instead of the usb_debug port on my laptop and retried the setup. The result was:&lt;/P&gt;&lt;P&gt;(gdb) monitor swdp_scan&lt;BR /&gt;Target voltage: 3.2V&lt;BR /&gt;SWD scan failed!&lt;BR /&gt;Failed&lt;/P&gt;&lt;P&gt;Previously, I had only powered the board via the usb_debug&amp;nbsp; port. I tested several configurations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;JP4 shorted&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;JP4 and JP5 shorted&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;JP4 shorted with DIP switch SW5 set to 0100&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;JP4 and JP5 shorted with DIP switch SW5 set to 0100&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;According to the zephyr docs:&amp;nbsp;&lt;A href="https://docs.zephyrproject.org/latest/boards/nxp/mimxrt1180_evk/doc/index.html" target="_blank"&gt;https://docs.zephyrproject.org/latest/boards/nxp/mimxrt1180_evk/doc/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SW5 should be set to 0100 when debugging the CM33 core and 0001 when debugging the CM7 core.&lt;/P&gt;&lt;P&gt;In all test configurations, the debugger detected target voltage but the scan still failed. One additional note: when powering the board through the barrel jack, the pre-flashed LED blink demo did &lt;STRONG&gt;not&lt;/STRONG&gt; run, which might be a clue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 21:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2164596#M240556</guid>
      <dc:creator>ryan714</dc:creator>
      <dc:date>2025-09-05T21:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using external Black Magic Debugger on MIMXRT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2165219#M240591</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc pyPiTc" data-hveid="CAYQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQo_EKegQIBhAB"&gt;&lt;SPAN data-huuid="14885266670628509732"&gt;To use the Black Magic Debugger with the i.MX RT1180-EVK:&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="ebe36fd4-e1bf-45c3-9c94-a79c7b40fe0b" data-uuids="14885266670628509732"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CAIQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQIAhAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;Black Magic Probe Hardware:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Obtain a Black Magic Probe or another compatible hardware running the Black Magic Debug firmware.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV data-crb-p=""&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;Connections:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Connect the Black Magic Probe to the i.MX RT1180-EVK using the appropriate debug interface, typically Serial Wire Debug (SWD) or JTAG. Refer to the i.MX RT1180-EVK documentation for the specific debug port pinout and connection details.
&lt;DIV class="NPrrbc" data-cid="090e61f7-85c1-4e53-a74a-036ebb3c05f4" data-uuids="14885266670628509194,14885266670628509787,14885266670628510380"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CAsQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQICxAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;Host Setup:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Install the GNU cross-compilation toolchain, including GCC and GDB, on your host machine.&lt;SPAN class="pjBG2e" data-cid="25196661-8185-4816-9e62-535ec646e273"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="25196661-8185-4816-9e62-535ec646e273" data-uuids="14885266670628511566,14885266670628508063"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CBYQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQIFhAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;GDB Connection:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Launch GDB and instruct it to connect to the Black Magic Probe as a remote target. This is usually done using the &lt;CODE class="mv6bHd"&gt;target extended-remote /dev/ttyUSB0&lt;/CODE&gt; command (or the corresponding serial port on your operating system).
&lt;DIV class="NPrrbc" data-cid="2a78e979-7214-499e-b3ee-e56b12ffce89" data-uuids="14885266670628509249,14885266670628509842,14885266670628510435"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CBMQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQIExAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;&lt;SPAN data-huuid="14885266670628511621"&gt;Debugging&lt;STRONG&gt;:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&lt;SPAN data-huuid="14885266670628508118"&gt;Once connected, you can use standard GDB commands to debug your application running on the i.MX RT1180, including setting breakpoints, stepping through code, examining memory, and inspecting registers.&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="cd3c16f4-aab3-4e33-9cb4-25d81f488d7a" data-uuids="14885266670628511621,14885266670628508118"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CA8QAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQIDxAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc pyPiTc" data-hveid="CB8QAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQo_EKegQIHxAB"&gt;&lt;SPAN data-huuid="1362393735414466001"&gt;Considerations:&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="6bb4a2a3-a763-4aa1-bc24-f3ea91c6a841" data-uuids="1362393735414466001"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CB4QAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQIHhAB"&gt;
&lt;DIV class="niO4u"&gt;
&lt;DIV class="kHtcsd"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;Connections:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Connect the Black Magic Probe to the i.MX RT1180-EVK using the appropriate debug interface, typically Serial Wire Debug (SWD) or JTAG. Refer to the i.MX RT1180-EVK documentation for the specific debug port pinout and connection details&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="xFTqob"&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;Boot Mode:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Depending on your debugging scenario and whether your application is in internal flash or external memory (like SDRAM), you might need to adjust the board's boot mode or use tools like MCUBootUtility for flashing.&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;F&lt;/DIV&gt;
&lt;DIV class="Gur8Ad" style="display: inline;"&gt;irmware Compatibility:&lt;/DIV&gt;
&lt;DIV class="vM0jzc" style="display: inline;"&gt;Ensure the Black Magic Debug firmware on your probe is compatible with the i.MX RT1180 and its specific core architecture.&lt;SPAN class="pjBG2e" data-cid="c99c2abe-48e3-43f0-9f1c-3750e3459108"&gt;&lt;SPAN class="UV3uM"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="NPrrbc" data-cid="c99c2abe-48e3-43f0-9f1c-3750e3459108" data-uuids="1362393735414465012,1362393735414467413,1362393735414465718,1362393735414466424,1362393735414464729,1362393735414465435,1362393735414467836"&gt;
&lt;DIV class="BMebGe btku5b fCrZyc LwdV0e FR7ZSc qVhvac OJeuxf" tabindex="0" role="button" aria-label="Ver vínculos relacionados" data-hveid="CCkQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQ3fYKegQIKRAB"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="WaaZC"&gt;
&lt;DIV class="RJPOee EIJn2" style="animation: none !important;"&gt;
&lt;DIV class="rPeykc" data-hveid="CDAQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQo_EKegQIMBAB"&gt;&lt;SPAN data-huuid="1362393735414467553"&gt;By following these steps, you can leverage the Black Magic Debugger for efficient in-application debugging of your firmware on the NXP i.MX RT1180-EVK.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="rPeykc" data-hveid="CDAQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQo_EKegQIMBAB"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="rPeykc" data-hveid="CDAQAQ" data-ved="2ahUKEwjtjp_Cp8mPAxUeJ0QIHbWjHYgQo_EKegQIMBAB"&gt;&lt;SPAN data-huuid="1362393735414467553"&gt;Regards&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Sep 2025 13:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2165219#M240591</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-09-08T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using external Black Magic Debugger on MIMXRT1180-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2165377#M240596</link>
      <description>&lt;P&gt;I tested different jumper configurations: JP4 shorted with JP5 open, and JP4 open with JP5 shorted, both with SW5 set to 0100, which according to the documentation should boot from FlexSPI quad SPI serial NOR (or octal SPI NOR in quad SPI NOR mode) when powered from the 5 V barrel jack. With SW5 in this setting, D7 blinks red and D6 blinks green, but the pre-flashed LED blink program does not run.&lt;/P&gt;&lt;P&gt;When powering through the USB debug port with SW5 at the default 0001 (Serial Downloader), the pre-flashed LED blink program does run as expected.&lt;/P&gt;&lt;P&gt;The Black Magic Probe reports “Target voltage: 3.3V” when the EVK is powered from the barrel jack, but the SWD scan still fails. When powered through the USB debug port, the Black Magic Probe reports “Target voltage: 0V” and the SWD scan also fails.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 18:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-external-Black-Magic-Debugger-on-MIMXRT1180-EVK/m-p/2165377#M240596</guid>
      <dc:creator>ryan714</dc:creator>
      <dc:date>2025-09-08T18:17:35Z</dc:date>
    </item>
  </channel>
</rss>

