<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>function &amp;quot;usbh_msc_status()&amp;quot; can&amp;#39;t check the connected usb hardware .</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/29576/function-usbh_msc_status-can-t-check-the-connected-usb-hardware</link><description> 
int main(void) 
{ -----. . . 

 
-----retv = finit (&amp;quot;U:&amp;quot;); 

 
-----while(1) 

 
-----{ 

 
----------retv = usbh_engine(0); 

 
----------con = usbh_msc_status(0,0); 

 
----------if(con==1) 

 
----------{ 

 
---------------. . . 

 
----------}</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: function "usbh_msc_status()" can't check the connected usb hardware .</title><link>https://community.arm.com/thread/59903?ContentTypeID=1</link><pubDate>Sat, 08 Oct 2011 22:04:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2eaaf83c-15eb-4f8b-b1b2-1350c6780ee6</guid><dc:creator>kind Mr</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks a lot!&lt;/p&gt;

&lt;p&gt;
The problem has been solved. The program has no faults. Just to
wait a moment, usb mass storage device can be find. It can&amp;#39;t be find
as soon as it is connected, a short while is needed.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: function "usbh_msc_status()" can't check the connected usb hardware .</title><link>https://community.arm.com/thread/92723?ContentTypeID=1</link><pubDate>Sat, 08 Oct 2011 02:47:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dc6c522c-1050-489d-9952-54cd044be43b</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
What was wrong with using the more conventional method of posting
source code (using the tags explicitly mentioned directly above the
message input box) and without any need for &amp;quot;-&amp;quot; to represent
indentation?&lt;/p&gt;

&lt;pre&gt;
int main(void) {
    ...
    retv = finit (&amp;quot;U:&amp;quot;);
    ...
    while (1) {
        retv = usbh_engine(0);
        con = usbh_msc_status(0,0);
        if (con==1) {
            ...
        }
    }
}
&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: function "usbh_msc_status()" can't check the connected usb hardware .</title><link>https://community.arm.com/thread/85996?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2011 23:44:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d5bd37a9-c24c-4b91-8c7e-da04904bbc03</guid><dc:creator>while ();</dc:creator><description>&lt;p&gt;&lt;p&gt;
Look into MDK examples MSD_File they should explain how it should
work.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>