<?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>topic Re: lpcopen v2.10 - USB on 17xx devices in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582107#M20598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Sat Mar 07 08:46:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi sipiyou,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see response below&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;I can only find the precompiled lib under .../lpc_chip_177x_8x/libs. How can I get the full source for selfcompiling ? &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please be clear here. which library? I can see chip and board libs in below packages&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc17xx-packages" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lpcopen_2_10_keil_iar_ea_devkit_1788\software\lpc_core\lpc_chip\chip_17xx_40xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Those parts which located under ./lpcusblib_KeyboardHost/ and ./lpcusblib_MassStorageHost/ are not complete.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain,what are you looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;I am trying to get usbd_lib_cdc/ example running. Compile works but USB is not recognized by pc. Just to mention, I got a custom PCB and I am using my old cmsis code - usb works flawlessly therefore I do not see any hardware issues.&lt;BR /&gt;&lt;BR /&gt;At this point I modified the initialization code to usb port 0 but nothing happens. What value is supposed to be used for usb_param.usb_reg_base = LPC_USB_BASE for port 0 ?&lt;BR /&gt;The example addes 0x200 to that value but what is the right value for port 0 ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please let us know which LPC device are you using?&amp;nbsp; Exact part number please.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:21:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:21:35Z</dc:date>
    <item>
      <title>lpcopen v2.10 - USB on 17xx devices</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582106#M20597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sipiyou on Fri Mar 06 09:35:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently having some issues with lpcopen and the usb device support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can only find the precompiled lib under .../lpc_chip_177x_8x/libs. How can I get the full source for selfcompiling ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Those parts which located under ./lpcusblib_KeyboardHost/ and ./lpcusblib_MassStorageHost/ are not complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to get usbd_lib_cdc/ example running. Compile works but USB is not recognized by pc. Just to mention, I got a custom PCB and I am using my old cmsis code - usb works flawlessly therefore I do not see any hardware issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point I modified the initialization code to usb port 0 but nothing happens. What value is supposed to be used for usb_param.usb_reg_base = LPC_USB_BASE for port 0 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The example addes 0x200 to that value but what is the right value for port 0 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582106#M20597</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: lpcopen v2.10 - USB on 17xx devices</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582107#M20598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Sat Mar 07 08:46:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi sipiyou,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see response below&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;I can only find the precompiled lib under .../lpc_chip_177x_8x/libs. How can I get the full source for selfcompiling ? &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please be clear here. which library? I can see chip and board libs in below packages&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc17xx-packages" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lpcopen_2_10_keil_iar_ea_devkit_1788\software\lpc_core\lpc_chip\chip_17xx_40xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Those parts which located under ./lpcusblib_KeyboardHost/ and ./lpcusblib_MassStorageHost/ are not complete.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain,what are you looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;I am trying to get usbd_lib_cdc/ example running. Compile works but USB is not recognized by pc. Just to mention, I got a custom PCB and I am using my old cmsis code - usb works flawlessly therefore I do not see any hardware issues.&lt;BR /&gt;&lt;BR /&gt;At this point I modified the initialization code to usb port 0 but nothing happens. What value is supposed to be used for usb_param.usb_reg_base = LPC_USB_BASE for port 0 ?&lt;BR /&gt;The example addes 0x200 to that value but what is the right value for port 0 ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please let us know which LPC device are you using?&amp;nbsp; Exact part number please.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582107#M20598</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: lpcopen v2.10 - USB on 17xx devices</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582108#M20599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sipiyou on Sat Mar 07 10:56:04 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Mc!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. I am using the LPC1788FBD144 and I am using the Codered (LPCXpresso) development suite as base, therefore I downloaded this archive for development:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpcopen_2_10_lpcxpresso_ea_devkit_1788.zip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_2_10_lpcxpresso_ea_devkit_1788.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was talking about LPCUSBLib. As I just downloaded the keil_iar devkit as you suggested, it seems that the full source for LPCUSBLib is inside that archive - maybe someone forgot to put it into the LPCxpresso-archive. I will check if compiling will help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, I am wondering why the CDC-Example is not running. USB is not being recognized - but as written before, I am using USB-Port 0 on my board. Therefore I am not quite sure which modifications are required and if this is a simple configuration problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582108#M20599</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: lpcopen v2.10 - USB on 17xx devices</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582109#M20600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sipiyou on Mon Mar 09 06:14:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Mc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;short update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the archive from above link and tried to compile LPCUSBLib. Except for 1 problem (__BSS is not defined properly - added this for GCC) compilation works BUT these functions are missing inside the LPCUSBlib which is distributed along the keil devkit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cdc_main.o:(.rodata.g_usbApi+0x0): undefined reference to `hw_api'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cdc_main.o:(.rodata.g_usbApi+0x4): undefined reference to `core_api'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cdc_main.o:(.rodata.g_usbApi+0x14): undefined reference to `cdc_api'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I did a grep on the complete archive but these functions are not inside this archive as well... this is the usb_rom_api stuff which is not bundeled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, I am still wondering why my code does not run if I use the static library libusbd_177x_8x_lib.a for compiling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached my complete project. All you need to do is to uncompress it into 1 directory. There are 2 makefiles:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;make -f Makefile1 tries to compile using the LPCUSBLib which I found in the keil archive you suggested me (which is incomplete)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make -f Makefile2 does complile using the precompiled libusbd_177x_8x_lib.a which is part of lpcopen v2.10 lpcxpresso archive - nevertheless, the usb subsystem does not work as described above - uart works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I do not have EMC on my board, all EMC init has been removed out of the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cdc_main.c is the main file used for this project&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpcopen-v2-10-USB-on-17xx-devices/m-p/582109#M20600</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:21:37Z</dc:date>
    </item>
  </channel>
</rss>

