<?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 ROM  Comprehensive Bug List ??? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Comprehensive-Bug-List/m-p/523986#M6622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by geoffreymbrown on Mon Mar 30 11:49:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working on CDC and HID applications using the LPC USB ROM on the 11u24 parts.&amp;nbsp; As noted widely in these forums there are significant bugs in this ROM; however, it is never clear which parts the bugs apply to.&amp;nbsp; Furthermore, the published example code contains both clearly marked workarounds as well as code suggestive of a work around.&amp;nbsp; But again no documentation.&amp;nbsp;&amp;nbsp; Bugs I believe exist include&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; Memory allocation -- the hw api memory allocation routine seems to parse descriptor files to allocate memory and doesn't handle the case with multiple configurations correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;2) Bugs listed in this errata &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Ferrata_sheet%2FES_LPC11U2X.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/errata_sheet/ES_LPC11U2X.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) It seems the CDC init routine has bugs related to user defined endpoint handler -- at least most examples configure these separately even though the cdc init structure provides for them&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then there are things that matter, but aren't documented&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's never made clear what the behavioral model is for the ROM stack.&amp;nbsp; For example if I execute &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ReadReqEp and don't read all the available data, is the underlying buffer freed ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any comprehensive documentation about what bugs exist, for what parts, and recommended workarounds ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:46:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:46:26Z</dc:date>
    <item>
      <title>USB ROM  Comprehensive Bug List ???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Comprehensive-Bug-List/m-p/523986#M6622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by geoffreymbrown on Mon Mar 30 11:49:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working on CDC and HID applications using the LPC USB ROM on the 11u24 parts.&amp;nbsp; As noted widely in these forums there are significant bugs in this ROM; however, it is never clear which parts the bugs apply to.&amp;nbsp; Furthermore, the published example code contains both clearly marked workarounds as well as code suggestive of a work around.&amp;nbsp; But again no documentation.&amp;nbsp;&amp;nbsp; Bugs I believe exist include&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; Memory allocation -- the hw api memory allocation routine seems to parse descriptor files to allocate memory and doesn't handle the case with multiple configurations correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;2) Bugs listed in this errata &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Ferrata_sheet%2FES_LPC11U2X.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/errata_sheet/ES_LPC11U2X.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) It seems the CDC init routine has bugs related to user defined endpoint handler -- at least most examples configure these separately even though the cdc init structure provides for them&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then there are things that matter, but aren't documented&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's never made clear what the behavioral model is for the ROM stack.&amp;nbsp; For example if I execute &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ReadReqEp and don't read all the available data, is the underlying buffer freed ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any comprehensive documentation about what bugs exist, for what parts, and recommended workarounds ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Comprehensive-Bug-List/m-p/523986#M6622</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:46:26Z</dc:date>
    </item>
  </channel>
</rss>

