<?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: USB user defined device support in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166352#M1617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear juroV,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;Now the M52259 can detect if the receive buffer empty. If no, it will return immediately as we expected.&lt;BR /&gt;The problem is, I want it the code to block until there is something in the receive buffer.&lt;BR /&gt;Is there any flag or criteria I can use for the blocking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2010 23:40:18 GMT</pubDate>
    <dc:creator>epl</dc:creator>
    <dc:date>2010-01-13T23:40:18Z</dc:date>
    <item>
      <title>USB user defined device support</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166348#M1613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have built an application based on the device disk example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to have the device enumerate on a windows pc, and now I can call the devapi.h to receive and send the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I faced a problem. That is, I don't know how to check when is the transfer finished???&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 16:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166348#M1613</guid>
      <dc:creator>epl</dc:creator>
      <dc:date>2010-01-12T16:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB user defined device support</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166349#M1614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi epi.&lt;/P&gt;&lt;P&gt;Let me summarize: you want to build an application, which will behave as USB device with MQX. You started from MSD disk example in usb/device/examples. The common framework and MSD class handles the device enumeration correctly. Now you want to send data when asked from host- you send it but you dont have any feedback that data were sent. Am I correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 19:37:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166349#M1614</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-01-12T19:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: USB user defined device support</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166350#M1615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, if I put a "getchar" to monitor the buffer, I can check if M52259 receive data. However, that's not an intuitive and convenient way. So I want to know if there is an existing mechanism such as checking a flag that can allow me to check the buffer asynchronously?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, I have checked the USB device API reference. It talked about using _usb_device_get_transfer_status() to check if tranfer is over. However, I checked the value in my code, the flag value before and after transfer remained the same.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 23:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166350#M1615</guid>
      <dc:creator>epl</dc:creator>
      <dc:date>2010-01-12T23:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB user defined device support</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166351#M1616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear epl,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still dont understand, you did not answer my question. I then repeat again:&lt;/P&gt;&lt;P&gt;Let me summarize: you want to build an application, which will behave as USB device with MQX. You started from MSD disk example in usb/device/examples. The common framework and MSD class handles the device enumeration correctly. Now you want to send data when asked from host- you send it but you dont have any feedback that data were sent. Am I correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 19:47:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166351#M1616</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-01-13T19:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: USB user defined device support</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166352#M1617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear juroV,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;Now the M52259 can detect if the receive buffer empty. If no, it will return immediately as we expected.&lt;BR /&gt;The problem is, I want it the code to block until there is something in the receive buffer.&lt;BR /&gt;Is there any flag or criteria I can use for the blocking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 23:40:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-user-defined-device-support/m-p/166352#M1617</guid>
      <dc:creator>epl</dc:creator>
      <dc:date>2010-01-13T23:40:18Z</dc:date>
    </item>
  </channel>
</rss>

