<?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: JTAG Debugging - rpmsg_lite IMX8MP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300188#M243607</link>
    <description>&lt;P&gt;Ah, that knowledge base article is about something different, sorry I misunderstood what you said before and thought it was to do with the link problem.&lt;BR /&gt;&lt;BR /&gt;I don't seem to get the problem in the KB, everything works as long as I get past the link issue. I'm going to look at exactly what remoteproc is doing...&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 06:41:18 GMT</pubDate>
    <dc:creator>AndyCapon</dc:creator>
    <dc:date>2026-01-26T06:41:18Z</dc:date>
    <item>
      <title>JTAG Debugging - rpmsg_lite IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300031#M243590</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Taking as an example the "&lt;SPAN&gt;String Echo FreeRTOS RTOS API Demo". VS Code/MCUXpresso&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;If I start the debugger (launch) at uboot then all works fine but rebooting the linux side&amp;nbsp;&lt;/FONT&gt;every time is a bit of a pain.&lt;/P&gt;&lt;P&gt;If the debugger (launch) is started after boot then &lt;SPAN&gt;rpmsg_lite_wait_for_link_up() will always hang.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only way round this I have found is to scp the elf file to the board and then attach the debugger to the board after doing:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;echo stop &amp;gt; /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo debugme.elf &amp;gt; /sys/devices/platform/imx8mp-&lt;/SPAN&gt;&lt;SPAN&gt;echo start &amp;gt; /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cat /sys/devices/platform/imx8mp-cm7/remoteproc/remoteproc0/state&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Is it meant to be like this or is there a trick to get over this and stick to the JTAG programming without using remoteproc?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 13:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300031#M243590</guid>
      <dc:creator>AndyCapon</dc:creator>
      <dc:date>2026-01-25T13:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Debugging - rpmsg_lite IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300137#M243602</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/55163"&gt;@AndyCapon&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are using rpmsg str echo demo, you need to load imx_rpmsg_tty driver before you launch JLink in Linux.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Boot into linux&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;modprobe imx_rpmsg_tty&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Launch JLink&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you meet&amp;nbsp;imx rproc kick error in linux, this knowledge base maybe helpful.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/imx-rproc-kick-failed-0-err-62-during-JLink-rpmsg-debug/ta-p/2130567" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/imx-rproc-kick-failed-0-err-62-during-JLink-rpmsg-debug/ta-p/2130567&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 05:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300137#M243602</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2026-01-26T05:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Debugging - rpmsg_lite IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300167#M243605</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Already doing all that.&lt;/P&gt;&lt;P&gt;Interesting that knowledge base article, I had also tried&amp;nbsp;&lt;SPAN&gt;rpmsg_lite_is_link_up() which failed, also tried without&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;rpmsg_lite_wait_for_link_up() and the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;link_state in the r&lt;/SPAN&gt;&lt;SPAN&gt;pmsg_lite_instance was not set, I'll try without blocking but I guessed before it would be the same...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 06:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300167#M243605</guid>
      <dc:creator>AndyCapon</dc:creator>
      <dc:date>2026-01-26T06:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Debugging - rpmsg_lite IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300188#M243607</link>
      <description>&lt;P&gt;Ah, that knowledge base article is about something different, sorry I misunderstood what you said before and thought it was to do with the link problem.&lt;BR /&gt;&lt;BR /&gt;I don't seem to get the problem in the KB, everything works as long as I get past the link issue. I'm going to look at exactly what remoteproc is doing...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 06:41:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/JTAG-Debugging-rpmsg-lite-IMX8MP/m-p/2300188#M243607</guid>
      <dc:creator>AndyCapon</dc:creator>
      <dc:date>2026-01-26T06:41:18Z</dc:date>
    </item>
  </channel>
</rss>

