<?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>Programming USB?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28027/programming-usb</link><description> 
Hi all, 
I have a project wherein I need to program the usb port of my board
(MCB9B500). I was hoping that I could just do a uart to usb kind of
thing, but my project outlines that I must use USB protocol. I
haven&amp;#39;t had to work with usb before, so I</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Programming USB?</title><link>https://community.arm.com/thread/105565?ContentTypeID=1</link><pubDate>Sun, 11 Dec 2011 11:10:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4eeaf03f-39ec-43b4-9bd9-637a31838d91</guid><dc:creator>doubt that my ISP Al Bradford</dc:creator><description>&lt;p&gt;&lt;p&gt;
I personally don&amp;#39;t know Labview applications but on a past project
a fellow team member ran the Labview interface and he seemed to be
able to interface Labview to a data aqusition with a built-in Labview
application.&lt;/p&gt;

&lt;p&gt;
So I suggest that you review applications on the Labview
website.&lt;/p&gt;

&lt;p&gt;
Bradford&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming USB?</title><link>https://community.arm.com/thread/79833?ContentTypeID=1</link><pubDate>Sat, 10 Dec 2011 22:48:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d0c8b721-95c8-42e6-9975-8aeff2da6bdf</guid><dc:creator>Lorenzo D</dc:creator><description>&lt;p&gt;&lt;p&gt;
Wow, thanks for such an in depth reply. I will definitely look
over the things you mentioned and come back here.&lt;/p&gt;

&lt;p&gt;
Before I go off though, perhaps I should mention that I will need
to interface with Labview in the end, might this help in any way?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming USB?</title><link>https://community.arm.com/thread/60174?ContentTypeID=1</link><pubDate>Sat, 10 Dec 2011 16:59:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:de23967e-4ff7-4bea-b120-3ad0a0146d52</guid><dc:creator>doubt that my ISP Al Bradford</dc:creator><description>&lt;p&gt;&lt;p&gt;
Lorenzo;&lt;br /&gt;
Search on the name of Tsuneo Chinzei on this forum. Tsuneo has a
virtual USB tutorial in the many posts he has answered on this
forum.&lt;br /&gt;
There are a number of USB HID examples in the Keil examples folders.
I am not at all familiar with your NCB9B500 eval board so I cannot
direct you to a specific example. Check also, your vendor application
examples.&lt;/p&gt;

&lt;p&gt;
First and foremost understand &amp;ndash; truly understand &amp;ndash; the
purpose of each entry in the descriptor files. It will save you a lot
of debug time.&lt;/p&gt;

&lt;p&gt;
Also, do a detail review of your device USB engine.I worked
several days attempting to debug some USB software only to find the
USB engine had different size FIFO for each different end point
supported on that specific device (the CC2531).&lt;/p&gt;

&lt;p&gt;
A good place to start is with &amp;ldquo;USB Complete&amp;rdquo; ISBN
1-931448-02-7 by Jan Axelson. You can review the book and get HID
test code from her web site &lt;a href="http://www.lvr.com."&gt;http://www.lvr.com.&lt;/a&gt; Axelson has a test USB
HID Ckient for download.&lt;/p&gt;

&lt;p&gt;
Remember there are two ends to USB communication. Windows on the
PC supports USB HID drivers but you must have an application to
interface to the USB drivers. Kiel&amp;rsquo;s USB examples support an
HID Client application. Two good tools to have on your computer are
Device Monitoring Studio and USBView. The Device Monitoring Studio is
a great snooper tool to intercept and display the invisible data
stream between the USB Device and The USB Host.&lt;/p&gt;

&lt;p&gt;
I suggest that you start with a simple interrupt end point with a
single fixed 64 byte packet. After you get that functional then you
can start with larger data blocks with multiple packets, etc.&lt;/p&gt;

&lt;p&gt;
Good luck and come back when you have more specific questions.&lt;/p&gt;

&lt;p&gt;
Bradford&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>