<?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: Fail to run Host USB Keyboard on K20 in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310231#M2311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Marek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciated your support and service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2015 17:01:32 GMT</pubDate>
    <dc:creator>MAPC</dc:creator>
    <dc:date>2015-02-27T17:01:32Z</dc:date>
    <item>
      <title>Fail to run Host USB Keyboard on K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310229#M2309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, dears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working in a project with MK20 in which we have a typical PC USB keyboard for control interface. To make our firmware we refered to the guidelines to run "HID mouse host" (item 1.2) from Processor Expert USB Components Quick Start Guide included in the Freescale USB Stack documentation and we just replaced "Mouse_Task" function code with "Keyboard_Task" code, taken from K20 USB Host Keyboard example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the specific structs like descriptors were also modified acordinly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging the code, we have realized that if we press any keys in the begining, it runs perfectly. If we leave the system idle (without pressing any keys) for a short time, it starts failing. We can set a breakpoint to anywhere in the code that never gets there, but we can see it going through the functions, but far slower than when it was running fine in the begining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way to make it running to the breakpoint again after idleness is removing the functions "usb_event_clear" and "usb_host_dev_tr_init" from "case USB_DEVICE_INUSE". The host enumerates the device and detects attach and detach events, but stops doing the data transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did somebody go through the same issue? Any help will be very welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco Coelho&lt;/P&gt;&lt;P&gt;Applications Engineer&lt;/P&gt;&lt;P&gt;Siletec Eletronica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 17:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310229#M2309</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2014-05-05T17:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to run Host USB Keyboard on K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310230#M2310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There is released a new solution of USB components (fsl_usb_device_hid_class, fsl_usb_device_msd_class, fsl_usb_framework, fsl_usb_descriptors) that is available in KDS 2.0.0 (with installed Kinetis SDK 1.1.0 Eclipse Update).&lt;/P&gt;&lt;P&gt;If you want to start a development of an application based on fsl_usb_.... components, you can use the &lt;EM&gt;Processor Expert Kinetis SDK USB Stack Integration User Guide&lt;/EM&gt; that is available as a part of the help.&lt;/P&gt;&lt;P&gt;You can open the guide by the following way in KDS 2.0.0 (you must &lt;EM&gt;have KSDK 1.1.0 Eclipse Update&lt;/EM&gt; installed):&lt;/P&gt;&lt;P&gt;- Open &lt;EM&gt;Component Library&lt;/EM&gt; window and find &lt;EM&gt;fsl_usb_descriptors&lt;/EM&gt; component.&lt;/P&gt;&lt;P&gt;- Open the context menu of this component (click by right button of the mouse) and select &lt;EM&gt;Help on Component&lt;/EM&gt; item.&lt;/P&gt;&lt;P&gt;- In the Help window, open the &lt;EM&gt;fsl_usb_descriptions&lt;/EM&gt; page&lt;/P&gt;&lt;P&gt;- The &lt;EM&gt;fsl_usb_descriptors&lt;/EM&gt; help page (General Info tab) contains link to the user guide "&lt;EM&gt;USB stack Processor Expert integration documentation&lt;/EM&gt;" at the bottom of the page.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 08:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310230#M2310</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-02-27T08:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to run Host USB Keyboard on K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310231#M2311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Marek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciated your support and service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 17:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Fail-to-run-Host-USB-Keyboard-on-K20/m-p/310231#M2311</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-02-27T17:01:32Z</dc:date>
    </item>
  </channel>
</rss>

