<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>USB CDC failing to read after reading first byte ( ATSAML21J18B)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41943/usb-cdc-failing-to-read-after-reading-first-byte-atsaml21j18b</link><description> 
Application: 

 
Receive data from java (GUI) application,and send it back to the
GUI. Using &amp;quot;USB Device CDC Example&amp;quot; for ATSAML21J18B . 

 
Issue: 

 
The problem i&amp;#39;m facing is ,from the java application if a string
is sent, receiving only one byte</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: USB CDC failing to read after reading first byte ( ATSAML21J18B)</title><link>https://community.arm.com/thread/71019?ContentTypeID=1</link><pubDate>Fri, 23 Nov 2018 05:56:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56646b2a-8ba4-486f-90c9-80a9b223cb85</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;b&gt;&lt;br /&gt;
&lt;a href="http://www.danlhenry.com/caps/keil_code.png"&gt;www.danlhenry.com/.../keil_code.png&lt;/a&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
What example, exactly, are you using?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;if thr GUI send 10 byes i&amp;#39;m receiving 1 byte correctly rest of
9 bytes are showing junk data&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
What happens if you just test with a terminal?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>