<?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>LPC MicrocontrollersのトピックGeneral USB question</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/General-USB-question/m-p/776363#M31250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question that I need to answer.&amp;nbsp; I have a USB device which I installed a mass storage class.&amp;nbsp; When I connect the device on the computer, it detects the drive and I can access to driver correctly.&amp;nbsp; I don't know how to handle the USB interface when the device is busy to do an other critical task.&amp;nbsp; For example, I don't want to copy a file in the drive if the device is presently&amp;nbsp;busy in a critical task.&amp;nbsp;&amp;nbsp; Actually,&amp;nbsp; I disabled the USB interrupts in the lpc microcontroller during the critical task... but after&amp;nbsp;1 or 2 minutes, the computer will not recognize the drive and I need to do&amp;nbsp;unplug/replug the usb device to continue to work on the PC.&amp;nbsp; So It's not a good practice&amp;nbsp;to disable USB interrupts...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2018 17:00:48 GMT</pubDate>
    <dc:creator>christian_greni</dc:creator>
    <dc:date>2018-01-10T17:00:48Z</dc:date>
    <item>
      <title>General USB question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/General-USB-question/m-p/776363#M31250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question that I need to answer.&amp;nbsp; I have a USB device which I installed a mass storage class.&amp;nbsp; When I connect the device on the computer, it detects the drive and I can access to driver correctly.&amp;nbsp; I don't know how to handle the USB interface when the device is busy to do an other critical task.&amp;nbsp; For example, I don't want to copy a file in the drive if the device is presently&amp;nbsp;busy in a critical task.&amp;nbsp;&amp;nbsp; Actually,&amp;nbsp; I disabled the USB interrupts in the lpc microcontroller during the critical task... but after&amp;nbsp;1 or 2 minutes, the computer will not recognize the drive and I need to do&amp;nbsp;unplug/replug the usb device to continue to work on the PC.&amp;nbsp; So It's not a good practice&amp;nbsp;to disable USB interrupts...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 17:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/General-USB-question/m-p/776363#M31250</guid>
      <dc:creator>christian_greni</dc:creator>
      <dc:date>2018-01-10T17:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: General USB question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/General-USB-question/m-p/776364#M31251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could try, without removing the interruptions, assigning higher priority to your critical process and a lower priority to USB.&lt;/P&gt;&lt;P&gt;Which device and USB Stack are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/General-USB-question/m-p/776364#M31251</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2018-01-11T20:25:18Z</dc:date>
    </item>
  </channel>
</rss>

