<?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: blhost became useless on Mac OS X in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667864#M367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check Kinetis product team feedback:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26985iF7851E302C0FA96B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also attached the KBOOT V2.0 blhost mca tool for your reference.&lt;/P&gt;&lt;P&gt;The related command reference below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27034i869F268096BA0B26/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jul 2017 02:01:20 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-07-27T02:01:20Z</dc:date>
    <item>
      <title>blhost became useless on Mac OS X</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667862#M365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it turns out, blhost segfaults on recent versions of OSX when trying to access the target USB device, making it useless. We've investigated the problem, so let me delve&amp;nbsp;into the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OSX version&amp;nbsp;10.12.5&amp;nbsp;is certainly affected, however OSX version 10.9.5 and 10.11.6 don't seem to be affected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've recompiled blhost on OSX 10.12.5 using Xcode, hoping that it will resolve the issue, but it did not. blhost keeps segfaulting as soon as it tries to access the USB device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to our understanding, this happens because OSX recently changed its internal USB library which broke libusb. As a matter of fact, libusb &lt;A href="https://github.com/libusb/libusb/wiki/FAQ"&gt;explicitly states&lt;/A&gt; that:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;On Mac OS X, you must install a codeless kext kernel driver and then reboot, before you will be able communicate with the device. This may not be easy with the release of later Mac OS X versions. So it is not recommended. HIDAPI should be the library of choices if you need Mac OS X support.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There are a lot of other reasons on the linked page why libusb is a poor choice for non-Linux systems and why &lt;A href="http://www.signal11.us/oss/hidapi/"&gt;HIDAPI&lt;/A&gt; is so much better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above begs the question: When do you plan to fix blhost on OSX? We really do believe that blhost being a HID-only application, the best way forward is HIDAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We rely on blhost quite heavily to enable our customers to upgrade the firmware of &lt;A href="https://ultimatehackingkeyboard.com/"&gt;our keyboard&lt;/A&gt; on all the three major OSes, so an insider answer would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;- Laci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667862#M365</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2017-06-20T21:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: blhost became useless on Mac OS X</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667863#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laci,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the feedback.&lt;BR /&gt;I will check this issue with Kinetis product team and let you know later.&lt;BR /&gt;Thank you for the patience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 02:56:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667863#M366</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-05T02:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: blhost became useless on Mac OS X</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667864#M367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check Kinetis product team feedback:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26985iF7851E302C0FA96B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also attached the KBOOT V2.0 blhost mca tool for your reference.&lt;/P&gt;&lt;P&gt;The related command reference below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27034i869F268096BA0B26/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 02:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667864#M367</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-27T02:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: blhost became useless on Mac OS X</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667865#M368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, Ma Hui!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've just checked blhost with the latest OSX and I can confirm that it does work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;- Laci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 20:38:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667865#M368</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2017-10-09T20:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: blhost became useless on Mac OS X</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667866#M369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just download the 2.0.0 version from the NXP website.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running blhost on latest OSX (10.13.3) I get...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo ./blhost -u -- get-property 1&lt;BR /&gt;Segmentation fault: 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 21:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667866#M369</guid>
      <dc:creator>epicedium</dc:creator>
      <dc:date>2018-03-09T21:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: blhost became useless on Mac OS X</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667867#M370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;blhost is fundamentally unstable on some platforms despite of what NXP states, including various versions of OSX, Linux, and possibly Windows. It is &lt;A href="https://github.com/UltimateHackingKeyboard/agent/issues/567#issuecomment-397457060"&gt;causing problems for our customers&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the only solution might be to rewrite&amp;nbsp;blhost using HIDAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative is &lt;A href="https://github.com/molejar/pyKBoot"&gt;pyKBoot&lt;/A&gt;. This may or may not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jun 2018 16:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/blhost-became-useless-on-Mac-OS-X/m-p/667867#M370</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2018-06-16T16:41:04Z</dc:date>
    </item>
  </channel>
</rss>

