<?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: Debugging MIMXRT1052 via LPC-Link2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1606378#M202084</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213318"&gt;@BUras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you be able to further describe your problem?&lt;/P&gt;
&lt;P&gt;Here is an snapshot from our RT1050 Hardware Development Guide ( MIMXRT105060HDUG ) JTAG interface connection termination. I do not see the JTAG mod setting in your picture, could you confirm if the termination is made as we recommend for JTAG?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1677534154865.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212543i6B0EE262585B78C6/image-dimensions/661x247?v=v2" width="661" height="247" role="button" title="diego_charles_0-1677534154865.png" alt="diego_charles_0-1677534154865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Yes, the LPC-Link 2 can be used for programming debugging over JTAG or SWD the RT MCUs. Also,&amp;nbsp; it can work with the same HW connections for the FREELINK, mentioned in the above picture.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 21:48:15 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2023-02-27T21:48:15Z</dc:date>
    <item>
      <title>Debugging MIMXRT1052 via LPC-Link2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1606091#M202065</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use NXP MIMXRT1052 as MCU in a display project and have problem about installing the software to my board. I am using LPC-Link2 for debugging the software and made connections according to JTAG interface. The connections between my board and LPC-Link2 are in attach.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is my mistake ? Can LPC-Link2 be used for installing the software this way or what is the easiest way for debugging?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time and help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 12:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1606091#M202065</guid>
      <dc:creator>BUras</dc:creator>
      <dc:date>2023-02-27T12:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MIMXRT1052 via LPC-Link2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1606378#M202084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213318"&gt;@BUras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you be able to further describe your problem?&lt;/P&gt;
&lt;P&gt;Here is an snapshot from our RT1050 Hardware Development Guide ( MIMXRT105060HDUG ) JTAG interface connection termination. I do not see the JTAG mod setting in your picture, could you confirm if the termination is made as we recommend for JTAG?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1677534154865.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212543i6B0EE262585B78C6/image-dimensions/661x247?v=v2" width="661" height="247" role="button" title="diego_charles_0-1677534154865.png" alt="diego_charles_0-1677534154865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Yes, the LPC-Link 2 can be used for programming debugging over JTAG or SWD the RT MCUs. Also,&amp;nbsp; it can work with the same HW connections for the FREELINK, mentioned in the above picture.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 21:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1606378#M202084</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-02-27T21:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MIMXRT1052 via LPC-Link2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1612469#M202528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. We have LPCLink2 and prepared software but we can not install the software our MCU via LPCLink2. We use MCUXpresso for installing the software.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the all connections with your hardware guide as you mentioned above and also connected the JTAG_MOD to GND via 4.7k resistor. My connections can be seen in figure in below. Also, I am adding connections of MCU side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1606091/thread-id/202065?attachment-id=150445" target="_blank" rel="noopener"&gt;Connections.PNG&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BUras_0-1678368251944.png" style="width: 435px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213885i8FC9A43C5AD9E022/image-dimensions/435x124?v=v2" width="435" height="124" role="button" title="BUras_0-1678368251944.png" alt="BUras_0-1678368251944.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are these connections wrong for debugging our MCU via LPCLink2 ?&lt;/P&gt;&lt;P&gt;We take an connection error when we make these connections . That's why , we thought our hardware connections was missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1612469#M202528</guid>
      <dc:creator>BUras</dc:creator>
      <dc:date>2023-03-09T14:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging MIMXRT1052 via LPC-Link2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1615214#M202736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213318"&gt;@BUras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not seen major issues within your HW connections, I hope not to miss anything. However, below I request a bit more of information.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt; Could you please provide me the log you see when attempting to program your MCU?&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt; Is this&amp;nbsp; a new desing you are trying to program for the first time? If not, do you know what was programmed into your MCU?&lt;/P&gt;
&lt;P&gt;I have a couple of pointers for you:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Eventougth the LPC-Link can supply power to the MCU via JTAG. Make sure to provide the proper supply voltage for your chip itself.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Check that the Reset line can be de-asserted by the debugger.&lt;/LI&gt;
&lt;LI&gt;Eventougth the hardware guide does not mandates this, the design is more stable with a external reset monitoring IC, an exaple of this circuit can be seen in the RT1050 EVK.&lt;/LI&gt;
&lt;LI&gt;Monitor that the power-up sequence complies with our specification defined in our hardware guide.&lt;/LI&gt;
&lt;LI&gt;Check that the external 24 MHz oscillator is operating, or generating the proper signal.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you are still not able to debug the MCU over JTAG/SWD, try to see if you can communicate with the ROM bootloader over UART or USB (if your desing does enables this )&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Set the MCU into serial downloader mode (&amp;nbsp; set boot mode pins to this mode according RM ) and try to connect with the MCU using a tool like our MCUXpresso Secure Provisioning Tool. This&amp;nbsp; communication is over BootROM dedicated&amp;nbsp; LPUART1 or USB1 port. The actual pins for the ports are described in our user manual.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 20:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-MIMXRT1052-via-LPC-Link2/m-p/1615214#M202736</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-03-14T20:54:26Z</dc:date>
    </item>
  </channel>
</rss>

