<?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>Processor Expert SoftwareのトピックRe: Issue with USB 4.0.3 CDC example</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242239#M1336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had reported this a while back too, and have made my own fix.&lt;/P&gt;&lt;P&gt;see &lt;A href="http://mcuoneclipse.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/" title="http://mcuoneclipse.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/"&gt;http://mcuoneclipse.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There might be another issue: do not send a packet while one is still in transaction: this might fail especially if you send things fast. I have fixed this on my end too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2013 14:20:11 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2013-01-30T14:20:11Z</dc:date>
    <item>
      <title>Issue with USB 4.0.3 CDC example</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242238#M1335</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;I used the example from&amp;nbsp; Freescale USB Stack v4.0.3\ProcessorExpert\Examples\Device\CDC\USB_CDC_DEVICE_JF128_PEx to make a CDC device with a TWR-MCF51JF128.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The example work fine when TWR receive a byte from UART and send to USB using &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;status= USB_Class_CDC_Interface_DIC_Send_Data(CONTROLLER_ID, g_curr_send_buf,size);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with size=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when size =16 no one byte is sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status result is USB_OK .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_curr_send_buf seems set in queue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Callback function returns 216 bytes sent", but nothing is transmitted by USB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reception works fine with 16 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows what could be happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need send AES encrypted data in 16 bytes blocks&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 14:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242238#M1335</guid>
      <dc:creator>pedropol</dc:creator>
      <dc:date>2013-01-30T14:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with USB 4.0.3 CDC example</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242239#M1336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had reported this a while back too, and have made my own fix.&lt;/P&gt;&lt;P&gt;see &lt;A href="http://mcuoneclipse.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/" title="http://mcuoneclipse.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/"&gt;http://mcuoneclipse.com/2012/04/17/fsl_usb_stack-updated-sending-16-or-32-byte-blocks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There might be another issue: do not send a packet while one is still in transaction: this might fail especially if you send things fast. I have fixed this on my end too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 14:20:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242239#M1336</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-01-30T14:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with USB 4.0.3 CDC example</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242240#M1337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I have the same problem. Messages with 16 bytes are not sent, but your fix doesn't works in my code. Finally, I divided the message in 2 messages with 8 bytes each one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 06:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Issue-with-USB-4-0-3-CDC-example/m-p/242240#M1337</guid>
      <dc:creator>pedropol</dc:creator>
      <dc:date>2013-02-04T06:46:53Z</dc:date>
    </item>
  </channel>
</rss>

