<?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>USBD_Initialize() &amp;amp; USBD_Connect()</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/32210/usbd_initialize-usbd_connect</link><description> 
Dear All 

 
I use keil &amp;#181;Vision V5.10.0.2 and try the blinkey examples of
mdk5-getting-started.pdf manual with success on my own HW, but in the
 USB HID Device example nothing works. 

 
I trace so many point of my HW and SW, and at the last, finding</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: USBD_Initialize() &amp; USBD_Connect()</title><link>https://community.arm.com/thread/120391?ContentTypeID=1</link><pubDate>Sun, 24 Aug 2014 05:08:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4e69174f-779f-409b-a463-862b41cce185</guid><dc:creator>Khodadad Namiri</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear Pier&lt;/p&gt;

&lt;p&gt;
Sorry for long delay, I were trying to find the problem on my own,
and fortunately find that the pullup 1.5KOhm resistor does not drew
up to vcc via GPIOA P8 pin(as my HW). I connect directly the resistor
to VCC and All problems solved. but one important Q remains. Why the
Pullup does not drew up to VCC via MC output ports? (I test both ST
and keil examples with desired changes and also write my own sample
code also)&lt;/p&gt;

&lt;p&gt;
in &lt;b&gt;RTE_Device.h&lt;/b&gt;(MDK ARM V5.10) there is definition of
&lt;b&gt;&amp;quot;USB Device FULL-speed&amp;quot;&lt;/b&gt; which can configure the pullup pin
assignment but there&amp;#39;s no effect in the pin (regardless of any pin
you specify). is there any reason to prevent the right function, or
is it a bug, or maybe I made misunderstood? should I write some code
to do the job myself?&lt;/p&gt;

&lt;p&gt;
with best regards&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD_Initialize() &amp; USBD_Connect()</title><link>https://community.arm.com/thread/63013?ContentTypeID=1</link><pubDate>Sun, 27 Jul 2014 22:35:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8585010a-9a5e-409a-a48e-c996685d6c49</guid><dc:creator>Milorad Cvjetkovic</dc:creator><description>&lt;p&gt;&lt;p&gt;
You are obviously missing the USB library which contains all USB
functionality and it is a part of Middleware Package.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD_Initialize() &amp; USBD_Connect()</title><link>https://community.arm.com/thread/118522?ContentTypeID=1</link><pubDate>Sat, 26 Jul 2014 13:24:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5014b3d4-b2a9-426f-8023-b77ac4befaba</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Include files should be used to hold prototype/parameter
information, so the compiler can generate and syntax check calls to
those functions, while the body code is within .c or .s, or more
abstractly in object and libraries.&lt;/p&gt;

&lt;p&gt;
Has your hardware been validated with USB operation, is it some
commercial board? Could you try using ST provided USB firmware
examples, and on boards with known functional USB
implementations?/&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD_Initialize() &amp; USBD_Connect()</title><link>https://community.arm.com/thread/82038?ContentTypeID=1</link><pubDate>Sat, 26 Jul 2014 12:12:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bbdd48d6-7688-45e7-8354-f967f377034e</guid><dc:creator>Khodadad Namiri</dc:creator><description>&lt;p&gt;&lt;p&gt;
so many thanks for you reply!&lt;/p&gt;

&lt;p&gt;
Therefore you say it does not need to have any *.c or *.h files to
contain the functions definition?&lt;/p&gt;

&lt;p&gt;
So why my test does not responding ?&lt;/p&gt;

&lt;p&gt;
I debug the prg and use step through the functions which should
jump in to some assembly code as the steps to run inside the
functions as expected , but it jumps over, and go to the next C
statements.&lt;/p&gt;

&lt;p&gt;
I do test so many examples for USB but all failed and I do not
know why ?!? could you please help me?&lt;/p&gt;

&lt;p&gt;
(I use STM32F103VB)&lt;/p&gt;

&lt;p&gt;
With Best Regards&lt;br /&gt;
Khodadad Namiri&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD_Initialize() &amp; USBD_Connect()</title><link>https://community.arm.com/thread/68812?ContentTypeID=1</link><pubDate>Sat, 26 Jul 2014 08:54:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0bd7f4ea-bb5b-45cc-9298-1975f516bc1e</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Implementations of functions shouldn&amp;#39;t be in header files (unless
in some situations inlined functions).&lt;/p&gt;

&lt;p&gt;
Implementations are expected to be in *.c files.&lt;/p&gt;

&lt;p&gt;
And a project need not contain the source code for the functions,
in case the project instead links with already compiled object files
or libraries containing one or more object files.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>