<?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: Xtensa Debugger Daemon Not working in Linux</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Xtensa-Debugger-Daemon-Not-working-in-Linux/m-p/1570842#M198833</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abdob_0-1671152951367.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204659iE115CE0EF2F31AF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abdob_0-1671152951367.png" alt="abdob_0-1671152951367.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I found a jlink drivers version 6.96 (similar to the video) tutorial, that works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 01:11:16 GMT</pubDate>
    <dc:creator>abdob</dc:creator>
    <dc:date>2022-12-16T01:11:16Z</dc:date>
    <item>
      <title>Xtensa Debugger Daemon Not working in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Xtensa-Debugger-Daemon-Not-working-in-Linux/m-p/1569925#M198766</link>
      <description>&lt;P&gt;I have the IMXRT685 board and I am following the&amp;nbsp;&lt;EM&gt;Getting Started with Xplorer for EVK-MIMXRT685, Rev. 2.12.0, 01 June 2022&lt;/EM&gt; Guide.&lt;BR /&gt;&lt;BR /&gt;On section 2.5&amp;nbsp;&lt;EM&gt;Install Xtensa On Chip Debugger Daemon&amp;nbsp;&lt;/EM&gt;I install&amp;nbsp;xt-ocd-14.08-linux64-installer from the path&amp;nbsp;/opt/xtensa/XtDevTools/downloads/RI-2021.8/tools/.&lt;BR /&gt;&lt;BR /&gt;The latest versions of the J-link drivers are installed (7.82 and 7.66b which was the latest as of 01 June 2022).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am able to perform section 2.6&amp;nbsp;&lt;EM&gt;Program LPC-Link2 with SEGGEER J-Link,&amp;nbsp;&lt;/EM&gt;extract the SN and update the topology.xml file.&lt;BR /&gt;&lt;BR /&gt;However later in Section 5.2 &lt;EM&gt;Build and Debug DSP Application&amp;nbsp;&lt;/EM&gt;step 2,&amp;nbsp;&lt;EM&gt;Launch xt-ocd debugging server&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I cd into /opt/Tensilica/xocd-14.08 and run ./xt-ocd -c topology.xml&lt;BR /&gt;&lt;BR /&gt;I get:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;XOCD 14.08 2021-12-10 23:32:56&lt;BR /&gt;(c) 1999-2022 Cadence Design Systems Inc. All rights reserved.&lt;BR /&gt;[Debug Log 2022-12-14 10:18:04]&lt;BR /&gt;Loading module "gdbstub" v2.0.0.12&lt;BR /&gt;ERROR: Error loading module jlink:&lt;BR /&gt;./jlink.so : ./jlink.so: cannot open shared object file: No such file or directory&lt;BR /&gt;./modules/jlink.so : libjlinkarm.so.6: cannot open shared object file: No such file or directory&lt;BR /&gt;/opt/Tensilica/xocd-14.08/modules/jlink.so : libjlinkarm.so.6: cannot open shared object file: No such file or directory&lt;BR /&gt;/opt/Tensilica/xocd-14.08/../lib/ocd/jlink.so : /opt/Tensilica/xocd-14.08/../lib/ocd/jlink.so: cannot open shared object file: No such file or directory&lt;BR /&gt;&lt;BR /&gt;On section 2.5 it states "For Linux: When installing xt-ocd on Linux, ensure that the symlink is manually added to the installed J-Link driver: ln -s &amp;lt;jlink-install-dir&amp;gt;libjlinkarm.so.6 &amp;lt;xocd-install-dir&amp;gt;/modules/libjlinkarm.so.6"&lt;BR /&gt;&lt;BR /&gt;However in the jlink drivers file only the file libjlinkarm.so.7 is present, not the libjlink.arm.so.6&lt;BR /&gt;&lt;BR /&gt;If I try to copy the libjlinkarm.so.6 file from the jlink driver directory to the xocd-14.08/modules directory as liblinkarm.so.7 and run it from the modules directory like this:&lt;BR /&gt;&lt;BR /&gt;../xt-ocd -c ../topology.xml&lt;BR /&gt;&lt;BR /&gt;I get this:&lt;BR /&gt;XOCD 14.08 2021-12-10 23:32:56&lt;BR /&gt;(c) 1999-2022 Cadence Design Systems Inc. All rights reserved.&lt;BR /&gt;[Debug Log 2022-12-14 10:22:43]&lt;BR /&gt;Loading module "gdbstub" v2.0.0.12&lt;BR /&gt;Loading module "jlink" v2.0.2.0&lt;BR /&gt;Using JLINK lib v.76602&lt;BR /&gt;Jlink USB Serial Number: 725664142&lt;BR /&gt;Connected to Jlink Device:&lt;BR /&gt;Name:'J-Link LPCXpresso V2 compiled Apr 4 2019 16:54:03'&lt;BR /&gt;S/N:725664142&lt;BR /&gt;Firmware: J-Link LPCXpresso V2 compiled Apr 4 2019 16:54:03&lt;BR /&gt;Requested/Set TCK: 1000kHz/1000kHz&lt;BR /&gt;Jlink: Select pipelined SWD&lt;BR /&gt;SWD-DP with ID 0x6BA02477&lt;BR /&gt;Loading module "jtag" v2.0.0.20&lt;BR /&gt;Loading module "xtensa" v2.0.0.48&lt;BR /&gt;Starting thread 'GDBStub'&lt;BR /&gt;Listening for GDB connection on port 20000&lt;BR /&gt;Initialize XDM driver&lt;BR /&gt;Error: SWD Wait time-out expired!&lt;BR /&gt;SWD-DP with ID 0x6BA02477&lt;BR /&gt;SWD-DP with ID 0x6BA02477&lt;BR /&gt;SWD-DP with ID 0x6BA02477&lt;BR /&gt;SWD-DP with ID 0x6BA02477&lt;BR /&gt;Error: XDM initialization failed&lt;BR /&gt;ERROR: Couldn't initialize, exit...&lt;BR /&gt;&lt;BR /&gt;So whats the issue here, seems like a dependency issue since the wrong library name was installed?&lt;BR /&gt;&lt;BR /&gt;Has this been tested with linux? I noticed the instructions have "./xt-ocd.exe" on the linux section instead of "./xt-ocd"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 18:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Xtensa-Debugger-Daemon-Not-working-in-Linux/m-p/1569925#M198766</guid>
      <dc:creator>abdob</dc:creator>
      <dc:date>2022-12-14T18:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Xtensa Debugger Daemon Not working in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Xtensa-Debugger-Daemon-Not-working-in-Linux/m-p/1570842#M198833</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abdob_0-1671152951367.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204659iE115CE0EF2F31AF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abdob_0-1671152951367.png" alt="abdob_0-1671152951367.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I found a jlink drivers version 6.96 (similar to the video) tutorial, that works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 01:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Xtensa-Debugger-Daemon-Not-working-in-Linux/m-p/1570842#M198833</guid>
      <dc:creator>abdob</dc:creator>
      <dc:date>2022-12-16T01:11:16Z</dc:date>
    </item>
  </channel>
</rss>

