<?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>Kinetis MicrocontrollersのトピックFRDM 22F as USB host for MSD</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-as-USB-host-for-MSD/m-p/629343#M37840</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;I'm trying to run either of the following example:&lt;BR /&gt;C:\Freescale\Freescale_MQX_4_1\usb_v2\example\host\msd\msd_cmd&lt;BR /&gt;C:\Freescale\Freescale_MQX_4_1\usb_v2\example\host\msd\msd_fatfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the eval board FRDM K22F 120.&amp;nbsp; I could build and load the software after building all the necessary libraries:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_1\mqx\build\iar\bsp_frdmk22f120m (and psp)&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_1\usb_v2\usb_core\host\build\iar\usbh_mqx_frdmk22f120m&lt;/P&gt;&lt;P&gt;&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/16541i2A4A028DE2DA646C/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;After loading, I connect the "Power Open SDA Debug micro USB" (the mini USB port closer to the side) to my PC and I could see the printf printed via serial port 115200 baudrate.&amp;nbsp; Then I plug in a dual-drive USB (that has been formatted as FAT32) into the K22F micro USB (the mini USB port in the middle).&amp;nbsp; But the Freedom doesn't recognize it.&amp;nbsp; No interrupt whatsoever seems to be generated.&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/16529iC2AB82D786F1A8D9/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;&lt;/P&gt;&lt;P&gt;I wonder if someone could help me, or point to the clearer documentation for this example project.&amp;nbsp; After reading some other posts for other boards I have some starting question such as:&lt;BR /&gt;1) Should I connect some jumper somewhere in the eval board before expecting this to work?&lt;BR /&gt;2) Do I need a "Micro USB OTG adapter" before plugging in? (At least the pdf here mentions I should use this adapter &lt;A href="https://community.nxp.com/docs/DOC-331376"&gt;USB Host Project with KSDK 1.3 and Processor Expert&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16613i2F04B0CDFB84570F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Cecylia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Mar 2017 02:53:57 GMT</pubDate>
    <dc:creator>cwati</dc:creator>
    <dc:date>2017-03-29T02:53:57Z</dc:date>
    <item>
      <title>FRDM 22F as USB host for MSD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-as-USB-host-for-MSD/m-p/629343#M37840</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;I'm trying to run either of the following example:&lt;BR /&gt;C:\Freescale\Freescale_MQX_4_1\usb_v2\example\host\msd\msd_cmd&lt;BR /&gt;C:\Freescale\Freescale_MQX_4_1\usb_v2\example\host\msd\msd_fatfs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the eval board FRDM K22F 120.&amp;nbsp; I could build and load the software after building all the necessary libraries:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_1\mqx\build\iar\bsp_frdmk22f120m (and psp)&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_1\usb_v2\usb_core\host\build\iar\usbh_mqx_frdmk22f120m&lt;/P&gt;&lt;P&gt;&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/16541i2A4A028DE2DA646C/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;After loading, I connect the "Power Open SDA Debug micro USB" (the mini USB port closer to the side) to my PC and I could see the printf printed via serial port 115200 baudrate.&amp;nbsp; Then I plug in a dual-drive USB (that has been formatted as FAT32) into the K22F micro USB (the mini USB port in the middle).&amp;nbsp; But the Freedom doesn't recognize it.&amp;nbsp; No interrupt whatsoever seems to be generated.&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/16529iC2AB82D786F1A8D9/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;&lt;/P&gt;&lt;P&gt;I wonder if someone could help me, or point to the clearer documentation for this example project.&amp;nbsp; After reading some other posts for other boards I have some starting question such as:&lt;BR /&gt;1) Should I connect some jumper somewhere in the eval board before expecting this to work?&lt;BR /&gt;2) Do I need a "Micro USB OTG adapter" before plugging in? (At least the pdf here mentions I should use this adapter &lt;A href="https://community.nxp.com/docs/DOC-331376"&gt;USB Host Project with KSDK 1.3 and Processor Expert&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16613i2F04B0CDFB84570F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Cecylia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-as-USB-host-for-MSD/m-p/629343#M37840</guid>
      <dc:creator>cwati</dc:creator>
      <dc:date>2017-03-29T02:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM 22F as USB host for MSD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-as-USB-host-for-MSD/m-p/629344#M37841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found&amp;nbsp;the Eval Board Freedom 22F Schematic and found that I need to connect Jumper J22 to make it a USB host.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://turingsenseeu.atlassian.net/wiki/download/thumbnails/74996210/image2017-3-29_19-25-55.png?width=517&amp;amp;height=250" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;From the reference manual it seems like the circuitry for Host requires additional connection (thus jumper J22 on the eval board).&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://turingsenseeu.atlassian.net/wiki/download/thumbnails/74996210/image2017-3-29_19-24-5.png?width=347&amp;amp;height=250" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://turingsenseeu.atlassian.net/wiki/download/thumbnails/74996210/image2017-3-29_19-23-54.png?width=307&amp;amp;height=250" /&gt;&lt;BR /&gt;&lt;BR /&gt;After connecting the jumper J22 I could get DEVICE_ATTACHED and DEVICE_DETACHED event. =)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 02:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-as-USB-host-for-MSD/m-p/629344#M37841</guid>
      <dc:creator>cwati</dc:creator>
      <dc:date>2017-03-30T02:38:57Z</dc:date>
    </item>
  </channel>
</rss>

