<?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>RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/34787/rl-usb-for-lpc1788--host-driver-1-problem</link><description> 
Hello, 

 
I am developing an application using keil&amp;#39;s RL-USB library to turn
the microcontroller into a USB host controller. 

 
I use the keil&amp;#39;s sample: 
E:\Keilv5\ARM\Boards\Embedded Artists\LPC1788-32 Developers
Kit\RL\USB\Host\MSD_File 

 
I have</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/150456?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 11:45:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a1f5fef2-2b55-449a-a6a3-9cbe99b7c950</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
You change things in a random attempt to solve the problem rather
than understand what the error is telling you.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/143643?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 10:35:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:37f3fbae-0b5e-4916-85a4-455ad0b51065</guid><dc:creator>Hamid reza Kabiri</dc:creator><description>&lt;p&gt;&lt;p&gt;
keil sample have error&lt;/p&gt;

&lt;p&gt;
what means &amp;quot;programming by trial and error&amp;quot;!!!!!!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/140899?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 10:17:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b7c7d65a-6aa3-4de6-8210-c5300ee95c80</guid><dc:creator>edPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
So you are doing &amp;quot;programming by trial and error&amp;quot;, and then
posting all errors you get to this forum?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/131555?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 10:13:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:71547967-61e1-4fb7-b236-ce926f454718</guid><dc:creator>Hamid reza Kabiri</dc:creator><description>&lt;p&gt;&lt;p&gt;
USBH_HWD_OHCI define in project&lt;/p&gt;

&lt;p&gt;
i change USBH1_HWD_OHCI to USBH_HWD_OHCI&lt;br /&gt;
now keil show this error&lt;/p&gt;

&lt;p&gt;
linking...&lt;br /&gt;
.\Obj\MSD_File.axf: Error: L6218E: Undefined symbol usbh1_hcd_ohci
(referred from usb_config.o).&lt;br /&gt;
.\Obj\MSD_File.axf: Error: L6218E: Undefined symbol usbh1_hwd_ohci
(referred from usb_config.o).&lt;br /&gt;
Not enough information to list image symbols.&lt;br /&gt;
Finished: 1 information, 0 warning and 2 error messages.&lt;/p&gt;

&lt;p&gt;
this project is keil sample file&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/129090?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 06:18:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aa0c4edb-a057-49c8-8f52-3c16e3609b80</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Should it be&lt;br /&gt;
extern USBH_HWD_OHCI usbh1_hwd_ohci;&lt;/p&gt;

&lt;p&gt;
Do you have a USBH1_HWD_OHCI or USBH_HWD_OHCI typedef??&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/120704?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 06:13:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fb57e1f7-b41c-4255-b49f-10f750f7b911</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Ok, so you&amp;#39;re repeating the same set of facts.&lt;/p&gt;

&lt;p&gt;
Let me REPEAT, &amp;quot;extern&amp;quot; means it&amp;#39;s NOT IN THIS SOURCE FILE, ie
external to it. The linker is complaining that the code/structure is
NOT IN THE PROJECT.&lt;/p&gt;

&lt;p&gt;
You need to find where the code/structure should be created. If
you have an example that was working, look at which files provided
them.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/108543?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2015 04:41:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e6c4afc1-7ba3-46bf-bbb9-633c4d99765a</guid><dc:creator>Hamid reza Kabiri</dc:creator><description>&lt;p&gt;&lt;p&gt;
.&lt;br /&gt;
. .&lt;br /&gt;
#if (USBH1_ENABLE)&lt;br /&gt;
#if (USBH1_HC_IF == 1)&lt;br /&gt;
extern USBH_HCD usbh1_hcd_ohci;&lt;br /&gt;
extern USBH1_HWD_OHCI usbh1_hwd_ohci; &amp;lt;&amp;lt;----Error in this line
(usb_lib.c line 61)&lt;br /&gt;
#define USBH1_HCD &amp;amp;usbh1_hcd_ohci&lt;br /&gt;
#define USBH1_HWD_OHCI &amp;amp;usbh1_hwd_ohci &amp;lt;&amp;lt;--- In this
line&lt;br /&gt;
#elif (USBH1_HC_IF == 2)&lt;br /&gt;
. .&lt;br /&gt;
.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/93613?ContentTypeID=1</link><pubDate>Sat, 21 Nov 2015 14:23:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dab7c60f-6325-4772-887e-c9e08bff3487</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
That&amp;#39;s not where the error is, the error is that there is no
actual code to go with the external function definition you
reference. ie You make a REFERENCE to something, but it must EXIST
somewhere else, for linkage to succeed.&lt;/p&gt;

&lt;p&gt;
You should go look elsewhere and make sure the function is present
in the form required.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RL-USB for LPC1788- HOST driver 1 problem</title><link>https://community.arm.com/thread/64309?ContentTypeID=1</link><pubDate>Sat, 21 Nov 2015 09:29:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:33bf3b96-4a14-43f8-9b54-ea3a1294d11f</guid><dc:creator>Hamid reza Kabiri</dc:creator><description>&lt;p&gt;&lt;p&gt;
Kiel version is 5.16&lt;/p&gt;

&lt;p&gt;
.&lt;br /&gt;
. .&lt;br /&gt;
#if (USBH1_ENABLE)&lt;br /&gt;
#if (USBH1_HC_IF == 1)&lt;br /&gt;
extern USBH_HCD usbh1_hcd_ohci;&lt;br /&gt;
extern USBH1_HWD_OHCI usbh1_hwd_ohci; &amp;lt;&amp;lt;----Error in this line
(usb_lib.c line 61)&lt;br /&gt;
#define USBH1_HCD &amp;amp;usbh1_hcd_ohci&lt;br /&gt;
#define USBH1_HWD_OHCI &amp;amp;usbh1_hwd_ohci&lt;br /&gt;
#elif (USBH1_HC_IF == 2)&lt;br /&gt;
. .&lt;br /&gt;
.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>