<?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>MQX Software SolutionsのトピックRe: How to Add USB MSD Host Functionality to an Existing MQX 3.7 Application?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182138#M2876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ported my application to MQX 3.8.1: with that version for USB_Host and MFS libraries my application is now working properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2012 14:47:10 GMT</pubDate>
    <dc:creator>Vagni</dc:creator>
    <dc:date>2012-09-28T14:47:10Z</dc:date>
    <item>
      <title>How to Add USB MSD Host Functionality to an Existing MQX 3.7 Application?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182136#M2874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the last months I developed my first K60-based MQX 3.7 application on my custom board with CW 10.2.&lt;/P&gt;&lt;P&gt;I cloned the bsp_twrk60n512_pe library for TWR-K60N512 kit in my custom BSP, adding other Processor Expert embedded components to have all the low-level drivers for the needed K60 internal peripherals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My custom board also features a USB Host port; I used this communication port only to upgrade my application firmware, through the USB MSD Host Bootloader derived from&amp;nbsp;AN4368. Till now, I have both the bootloader and my application firmware working properly on my board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have to add USB MSD Host functionality also to my application firmware. So I cloned USB_Host and MFS libraries for my board without any changes to the source files and I added a new USB task to my application to handle the attach/detach events of a memory stick and to mount/unmount the file system on it, like your mfs_usb example code does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got all the libraries (BSP, PSP, MSF, USB_Host) and my application re-compiled as well.&lt;/P&gt;&lt;P&gt;But no attach/detach event is detected by my USB task when I connect/disconnect a memory stick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I add some other configuration settings in my user_config.h file for the new MSF and USB_Host libraries I link to my application?&lt;/P&gt;&lt;P&gt;Maybe the BSP version with Processor Expert I use has to be modified to get USB work properly? I didn’t add the Processor Expert embedded component for USB and the system clock on my board is set in the same way as in the TWR-K60N512 kit (50Mhz external oscillator).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the debugger I see the _usb_khci_isr() USB interrupt handler is properly installed, but no USB interrupt is generated when I connect/disconnect a memory stick. The KHCI task is always in blocked state on a LW event. So my USB task is always in blocked state on a LWMSGQ event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me to get my USB MSD Host function to work preperly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, see my USB task in the attached USBhdl.c source file and my user_config.h and TB2.h BSP header files ("TB2" is my board's name).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 22:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182136#M2874</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2012-07-23T22:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add USB MSD Host Functionality to an Existing MQX 3.7 Application?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182137#M2875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar problem.&amp;nbsp; Were you able to solve yours?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 14:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182137#M2875</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2012-09-28T14:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Add USB MSD Host Functionality to an Existing MQX 3.7 Application?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182138#M2876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ported my application to MQX 3.8.1: with that version for USB_Host and MFS libraries my application is now working properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 14:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Add-USB-MSD-Host-Functionality-to-an-Existing-MQX-3-7/m-p/182138#M2876</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2012-09-28T14:47:10Z</dc:date>
    </item>
  </channel>
</rss>

