<?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 USB dies after corrupt ISO transfer from computer. How do I clear/reset the error? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-dies-after-corrupt-ISO-transfer-from-computer-How-do-I-clear/m-p/539153#M6385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mark_thompson on Sat Nov 03 17:17:34 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a LPC1343 unit setup to have a BULK out endpoint and ISO out endpoint. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine until a corrupt ISO packet is sent out (I can see this occur via a hardware USB sniffer I borrowed). This generally occurs when I tax the cpu of the computer that's sending out these packets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After this occurs, the LPC1343 continues to run (verified by the fact a led that toggles 1/2 a second in the main loop continues to blink) but USB seems to die.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I can see ISO transfers going out still via the USB sniffer, but the led on the LPC1343 indicating a SOF frame occurs does not toggle anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The LPC1343 does not ACK any BULK packet I send it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the event of a bad ISO transfer, do I need to clear some flag before I can continue to receive data? I've gone through the UM twice now, but I must be missing something!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the Keil USB stack that is available for download from the lpcxpresso site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:14:31 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:14:31Z</dc:date>
    <item>
      <title>USB dies after corrupt ISO transfer from computer. How do I clear/reset the error?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-dies-after-corrupt-ISO-transfer-from-computer-How-do-I-clear/m-p/539153#M6385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mark_thompson on Sat Nov 03 17:17:34 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a LPC1343 unit setup to have a BULK out endpoint and ISO out endpoint. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything works fine until a corrupt ISO packet is sent out (I can see this occur via a hardware USB sniffer I borrowed). This generally occurs when I tax the cpu of the computer that's sending out these packets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After this occurs, the LPC1343 continues to run (verified by the fact a led that toggles 1/2 a second in the main loop continues to blink) but USB seems to die.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I can see ISO transfers going out still via the USB sniffer, but the led on the LPC1343 indicating a SOF frame occurs does not toggle anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The LPC1343 does not ACK any BULK packet I send it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the event of a bad ISO transfer, do I need to clear some flag before I can continue to receive data? I've gone through the UM twice now, but I must be missing something!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the Keil USB stack that is available for download from the lpcxpresso site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-dies-after-corrupt-ISO-transfer-from-computer-How-do-I-clear/m-p/539153#M6385</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB dies after corrupt ISO transfer from computer. How do I clear/reset the error?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-dies-after-corrupt-ISO-transfer-from-computer-How-do-I-clear/m-p/539154#M6386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mark_thompson on Sat Nov 03 18:09:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hah, like most problems as soon as I asked for help, I figure it out :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was only calling this if there was valid data...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_USB-&amp;gt;Ctrl = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I have to open this endpoint buffer at the start of each SOF to determine if there is ISO data, that means I have to release read buffer too. Doh!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-dies-after-corrupt-ISO-transfer-from-computer-How-do-I-clear/m-p/539154#M6386</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:14:32Z</dc:date>
    </item>
  </channel>
</rss>

