<?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のトピックUSB Host for MSD</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-Host-for-MSD/m-p/248955#M22358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Freescale USB Stack v4.0.3 source code, USB host for MSD for freescale IMX board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used ehci driver source code from Freescale USB Stack v4.0.3\Source\Host\source\driver\kinetis\ehci and cleaned up khci related code from \source\Host\source\driver\.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far progress is good, i am getting interrupts in USBHS_ISR_HOST() (in ehci_main.c file)&amp;nbsp; and getting "status" as EHCI_STS_PORT_CHANGE, when pen drive is connected on usb port, but DEVICE ATTACHED Event is not received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this flow my callback routine for mass storage event routine (usb_host_mass_device_event) is not getting called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also USBHOSTAPIRM.pdf says that "Optionally register services for types of events (_usb_host_register_service())." but none of the examples shows how to use this? I suspect not calling above is reason in my case._usb_host_check_service() fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following questions:&lt;/P&gt;&lt;P&gt;1. What are the mandatory requirements in order to get usb_host_mass_device_event() called by host driver interface? This should complete cycle from usb physical events -&amp;gt; driver -&amp;gt; unit test.&lt;/P&gt;&lt;P&gt;2. Is it possible to achieve (by modification) msd test (examples\msd) without interrupts? How?&lt;/P&gt;&lt;P&gt;3. Any other source code pointers or guidelines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 11:34:59 GMT</pubDate>
    <dc:creator>marktwainjr</dc:creator>
    <dc:date>2013-05-21T11:34:59Z</dc:date>
    <item>
      <title>USB Host for MSD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-Host-for-MSD/m-p/248955#M22358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Freescale USB Stack v4.0.3 source code, USB host for MSD for freescale IMX board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used ehci driver source code from Freescale USB Stack v4.0.3\Source\Host\source\driver\kinetis\ehci and cleaned up khci related code from \source\Host\source\driver\.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far progress is good, i am getting interrupts in USBHS_ISR_HOST() (in ehci_main.c file)&amp;nbsp; and getting "status" as EHCI_STS_PORT_CHANGE, when pen drive is connected on usb port, but DEVICE ATTACHED Event is not received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this flow my callback routine for mass storage event routine (usb_host_mass_device_event) is not getting called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also USBHOSTAPIRM.pdf says that "Optionally register services for types of events (_usb_host_register_service())." but none of the examples shows how to use this? I suspect not calling above is reason in my case._usb_host_check_service() fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following questions:&lt;/P&gt;&lt;P&gt;1. What are the mandatory requirements in order to get usb_host_mass_device_event() called by host driver interface? This should complete cycle from usb physical events -&amp;gt; driver -&amp;gt; unit test.&lt;/P&gt;&lt;P&gt;2. Is it possible to achieve (by modification) msd test (examples\msd) without interrupts? How?&lt;/P&gt;&lt;P&gt;3. Any other source code pointers or guidelines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 11:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-Host-for-MSD/m-p/248955#M22358</guid>
      <dc:creator>marktwainjr</dc:creator>
      <dc:date>2013-05-21T11:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: USB Host for MSD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-Host-for-MSD/m-p/248956#M22359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever figure this out Mark Twain jr?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 00:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-Host-for-MSD/m-p/248956#M22359</guid>
      <dc:creator>rhana</dc:creator>
      <dc:date>2014-08-21T00:22:27Z</dc:date>
    </item>
  </channel>
</rss>

