<?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>Kinetis MicrocontrollersのトピックProblem sending data if length is les than usb in endpoint</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-sending-data-if-length-is-les-than-usb-in-endpoint/m-p/656405#M40128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using cdc comunication with USB stack 4.1.1 and I have problems if the string I wnat to send is smaller or equal to the In Endpoint size.&lt;/P&gt;&lt;P&gt;If my string is longer everything is ok.&lt;/P&gt;&lt;P&gt;If my string is equal never is sent.&lt;/P&gt;&lt;P&gt;If my string is shorter it's sent 3 or 4 times and after I never can send anything more.&lt;/P&gt;&lt;P&gt;At the moment I've made a workarround and if the string length is les than endpoint size I complete it with 0x00. And this way it works perfect. But this is not a solution. On the other side of the cominication I should throw away those 0x00 and maybe some of them could be part of my message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 18:51:25 GMT</pubDate>
    <dc:creator>PedroBecerra</dc:creator>
    <dc:date>2016-12-07T18:51:25Z</dc:date>
    <item>
      <title>Problem sending data if length is les than usb in endpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-sending-data-if-length-is-les-than-usb-in-endpoint/m-p/656405#M40128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using cdc comunication with USB stack 4.1.1 and I have problems if the string I wnat to send is smaller or equal to the In Endpoint size.&lt;/P&gt;&lt;P&gt;If my string is longer everything is ok.&lt;/P&gt;&lt;P&gt;If my string is equal never is sent.&lt;/P&gt;&lt;P&gt;If my string is shorter it's sent 3 or 4 times and after I never can send anything more.&lt;/P&gt;&lt;P&gt;At the moment I've made a workarround and if the string length is les than endpoint size I complete it with 0x00. And this way it works perfect. But this is not a solution. On the other side of the cominication I should throw away those 0x00 and maybe some of them could be part of my message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-sending-data-if-length-is-les-than-usb-in-endpoint/m-p/656405#M40128</guid>
      <dc:creator>PedroBecerra</dc:creator>
      <dc:date>2016-12-07T18:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem sending data if length is les than usb in endpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-sending-data-if-length-is-les-than-usb-in-endpoint/m-p/656406#M40129</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;&lt;SPAN&gt;If you prefer simple, fast and reliable CDC (rather than fixing the examples) just get it from here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many binaries showing CDC with up to 6 USB-UART bridges and composites (probably one will run on boards you use).&lt;BR /&gt;5 year track record in many industrial Kinetis based products (and more in Coldfires).&lt;/P&gt;&lt;P&gt;All Kinetis devices are simulated, with accurate USB emulation to avoid any quess work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guides:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerV1.3_USB_Demo.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerV1.3_USB_Demo.PDF&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FUSB_User_Guide.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Also use for RNDIS - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerRNDIS.pdf" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerRNDIS.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 22:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-sending-data-if-length-is-les-than-usb-in-endpoint/m-p/656406#M40129</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-12-07T22:12:33Z</dc:date>
    </item>
  </channel>
</rss>

