<?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: W8997 bluetooth hciattach command timeout in Wi-Fi® + Bluetooth® + 802.15.4</title>
    <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1781007#M3161</link>
    <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205377"&gt;@Christine_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I loaded it following the steps in the following documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;hciattach ttymxc0 any 115200 flow
hciconfig hci0 up
hciconfig&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the commands above, i should see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hci0:   Type: Primary  Bus: UART
        BD Address: 00:E9:3A:0D:D2:10  ACL MTU: 1016:5  SCO MTU: 60:12
        UP RUNNING PSCAN
        RX bytes:1415 acl:0 sco:0 events:81 errors:0
        TX bytes:1215 acl:0 sco:0 commands:81 errors:0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2023 02:16:57 GMT</pubDate>
    <dc:creator>Letu</dc:creator>
    <dc:date>2023-12-29T02:16:57Z</dc:date>
    <item>
      <title>W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780694#M3157</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I attempted to use the Bluetooth functionality of W8997.&lt;/P&gt;&lt;P&gt;In the Yocto compiled image system, I was able to successfully load and use it using the command '&lt;STRONG&gt;hciattach ttymxc0 any 115200 flow&lt;/STRONG&gt;'. However, in the Debian system, I couldn't load it successfully&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[   91.249245] Bluetooth: hci0: Frame reassembly failed (-84)
[   91.256269] Bluetooth: hci0: Frame reassembly failed (-84)
[   93.249583] Bluetooth: hci0: command 0x1003 tx timeout
[   95.265586] Bluetooth: hci0: command 0x1001 tx timeout
[   97.281586] Bluetooth: hci0: command 0x1009 tx timeout&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 28 Dec 2023 03:01:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780694#M3157</guid>
      <dc:creator>Letu</dc:creator>
      <dc:date>2023-12-28T03:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780853#M3158</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217587"&gt;@Letu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the Yocto compiled image system, I was able to successfully load and use it using the command '&lt;/SPAN&gt;&lt;STRONG&gt;hciattach ttymxc0 any 115200 flow&lt;/STRONG&gt;&lt;SPAN&gt;'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;==&amp;gt;Do you mean on our NXP I.MX board? Because it is using UART1 interface (/dev/ttymxc0 ) for Bluetooth.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, in the Debian system, I couldn't load it successfully&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;==&amp;gt;So you need to check your Debian system, which UART interface is used for Bluetooth. It might be /dev/ttymxc1 or /dev/ttymxc2 or other things. So please check it.&lt;/P&gt;
&lt;P&gt;And, may I know :&lt;/P&gt;
&lt;P&gt;1.Your Debian system Linux kernel version?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.What's your host side board?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 09:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780853#M3158</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-12-28T09:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780859#M3159</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Yes, the hardware platform is i.MX 8M Plus.&lt;/P&gt;&lt;P&gt;The Debian system is using kernel version 5.4.70, which is actually copied from Yocto with some additional modifications.&lt;/P&gt;&lt;P&gt;I have tried running the Yocto Image file with the Debian file system, as well as running the Yocto file system with the Image file used by the Debian system, but I couldn't successfully load the Bluetooth functionality in both cases.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Dec 2023 09:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780859#M3159</guid>
      <dc:creator>Letu</dc:creator>
      <dc:date>2023-12-28T09:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780895#M3160</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217587"&gt;@Letu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please explain in details how to load successfully before?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please check the UART interface you are using?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please also let me know details that you build and load. Actually, I don't totally understand your repro steps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Besides, you can power off and plug the power supply put, then plug in again then power on to have a try.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Christine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 11:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1780895#M3160</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-12-28T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1781007#M3161</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205377"&gt;@Christine_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I loaded it following the steps in the following documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;hciattach ttymxc0 any 115200 flow
hciconfig hci0 up
hciconfig&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the commands above, i should see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hci0:   Type: Primary  Bus: UART
        BD Address: 00:E9:3A:0D:D2:10  ACL MTU: 1016:5  SCO MTU: 60:12
        UP RUNNING PSCAN
        RX bytes:1415 acl:0 sco:0 events:81 errors:0
        TX bytes:1215 acl:0 sco:0 commands:81 errors:0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 02:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1781007#M3161</guid>
      <dc:creator>Letu</dc:creator>
      <dc:date>2023-12-29T02:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1781372#M3162</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217587"&gt;@Letu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you are right, with above command, you should see the correct Bluetooth MAC address.&lt;/P&gt;&lt;P&gt;But, I want to know how do you boot up your I.MX8MP with Debian system in details including how did you compile the Debian system.&lt;/P&gt;&lt;P&gt;And as mentioned before, please check the correct Bluetooth UART interface. It might be another ttymxc... interface, different with Yocto.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 02:25:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1781372#M3162</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2024-01-02T02:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1783306#M3163</link>
      <description>&lt;P&gt;Thank you for your response. I have successfully resolved the issue.&lt;/P&gt;&lt;P&gt;The specific reason was that my Bluetooth serial port was using DMA mode, but my Debian system did not have the corresponding SDMA firmware file, which prevented DMA communication from functioning properly. When I attempted to switch the UART to interrupt mode, it started working correctly. Therefore, I identified the lack of SDMA firmware as the root cause.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 02:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1783306#M3163</guid>
      <dc:creator>Letu</dc:creator>
      <dc:date>2024-01-05T02:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1783311#M3164</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217587"&gt;@Letu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing your experience and solution to us.&lt;/P&gt;&lt;P&gt;It has great reference value for our future support to other customers who also use Debian system.&lt;/P&gt;&lt;P&gt;Appreciate it so much.&lt;/P&gt;&lt;P&gt;Have a nice day and weekend.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 02:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1783311#M3164</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2024-01-05T02:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: W8997 bluetooth hciattach command timeout</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1783324#M3165</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217587"&gt;@Letu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please forgive my lack of knowledge, would you mind to share how to check whether is working in DMA mode or&amp;nbsp;&lt;SPAN&gt;interrupt mode&lt;/SPAN&gt; and how to&amp;nbsp;&lt;SPAN&gt;switch the UART to interrupt mode?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Appreciated if you can share for our reference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Christine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 03:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/W8997-bluetooth-hciattach-command-timeout/m-p/1783324#M3165</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2024-01-05T03:01:04Z</dc:date>
    </item>
  </channel>
</rss>

