<?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: USB example gives unknown device on MCB4300 dev board in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523898#M6534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Wed Dec 23 11:53:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The example works for me on the mcb4300 board ( with lpc4357 chip). Must be a problem with your setup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:45:50 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:45:50Z</dc:date>
    <item>
      <title>USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523893#M6529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sat Dec 19 17:52:48 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I've been writing code for my custom LPC4357 board, this has so far gone very well.&amp;nbsp; I've just started attempting to turn on its USB port to make my board look like a disk drive that will supply web pages on a server.&amp;nbsp; I used the LPCOpen usbd_rom_msc_ram example on the Keil MCB4300 board to help me get started.&amp;nbsp; This compiled and linked fine on the Keil dev board, I was able to use the cortex M3 debugger to run it from reset.&amp;nbsp; It appears to step through the USB example without failing or getting a hard fault, I see it sitting in the WFI (wait for interrupt) routine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; However the PC that connects the USB port is showing an unrecognized device and that the USB port has been disabled.&amp;nbsp; I would appreciate some guidance why this example is not running on the Keil board as expected?&amp;nbsp; I thought I would see an unformatted disk but that is not happening, although the example code seems to be running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running LPCXpresso v7.4.0 [Build 229] [2014-09-16] on a Win7 PC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523893#M6529</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523894#M6530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sun Dec 20 18:29:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;More information, did a little USB sniffing.&amp;nbsp; I see the USB device endpoint IN and OUT transfers, so it does look like a very basic initial communication going back and forth.&amp;nbsp; The unknown device has the 0x2B (43) USB error code (failed to reset).&amp;nbsp; I see an initial URB from the host to the endpoint (the MCB4300) with data of 0, followed by a URB from the endpoint of 01 01 00 00.&amp;nbsp; A little while later I see a URB from the endpoint to the host of 20.&amp;nbsp; Then I see a URB from the host of 0, followed by the endpoint sending a 03 05 00 00.&amp;nbsp; I see this last step repeated at periodic intervals, although eventually the sequence stops and the unknown device message pops up.&amp;nbsp;&amp;nbsp; Looks like the initial ack handshake is not succeeding.&amp;nbsp; I never see anything that looks like a transfer of descriptors/setup information.&amp;nbsp; Any help much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523894#M6530</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523895#M6531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Tue Dec 22 14:45:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Still more information:&amp;nbsp; I tried switching to USB1 (commented out the Use_USB0, turned on the Use_USB1 defines) and moving the cable to the USB1 connector on the MCB4300, same behavior.&amp;nbsp; The debugger shows the USB_IRQHandler interrupt triggering once, but there seems to be no way to step through the USB_ROM_API code, the debugger just runs rather than steps--I'm assuming you cannot step through the ROM).&amp;nbsp; I see the descriptors in memory but as far as I can determine these are not ever sent.&amp;nbsp; The debugger shows that execution makes it all the way to the USB_connect function, and no further traceable execution occurs until I get the unknown device error.&amp;nbsp; I moved the system stack and USB stack base addresses to different SRAM locations to no avail, the host never successfully enumerates.&amp;nbsp; I programmed flash and just ran without the debugger, and got the same behavior.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can tell, the Keil MCB4300 does not enumerate no matter what I do.&amp;nbsp; Should I abandon this project, has anyone successfully enumerated the MCB4300 board?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523895#M6531</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523896#M6532</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 Wed Dec 23 09:54:56 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to confirm that this example works on MCB4300 board without any problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you connecting your board directly to PC or through hub? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523896#M6532</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523897#M6533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Wed Dec 23 10:11:36 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi mc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; This example does not work on the MCB4300.&amp;nbsp; I have not found any configuration that allows it to work correctly.&amp;nbsp; It always shows an unknown device after about 30 seconds.&amp;nbsp;&amp;nbsp; The LPC4357 USB command and status registers do not show anything out of the ordinary--no error conditions.&amp;nbsp; Stepping through the example code looks exactly correct, and when I step over the API USB connect function, the PC host responds with an interrupt packet and an attempt to handshake--but then the interface appears to stop.&amp;nbsp; I see no descriptors or other packets going to the host.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am connecting directly to PC.&amp;nbsp; I a trying a number of experiments, different PCs.&amp;nbsp;&amp;nbsp; I will also try a hub.&amp;nbsp; I have a custom board I have built, I will try it as well.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; But so far with all the different experiments I have tried, the PC sees a device but fails to enumerate it.&amp;nbsp; Do you have any suggestions for debugging?&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a way to trace through the API code to see what is going wrong (I am using the Keil Cortex-M USB debugger with the LPCXpresso IDE version 7.4 (the latest one).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523897#M6533</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523898#M6534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Wed Dec 23 11:53:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The example works for me on the mcb4300 board ( with lpc4357 chip). Must be a problem with your setup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523898#M6534</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523899#M6535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Wed Dec 23 12:43:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi vtw,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That's great news!&amp;nbsp; If you don't mind, could you answer a few questions?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the latest LPCXpresso version 7.4.0.&amp;nbsp; The usbd_rom_msc_ram code is the latest version 2.12 from the lpcopen site (lpcopen_2_12_lpcxpresso_keil_mcb_4357.zip).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have to modify or add any code to the usbd_rom_msc_ram example?&amp;nbsp; I linked in the lp_chip_43xx and the lpc_board_keil_mcb_4357 libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any configuration settings that you had to change?&amp;nbsp; I had to add include file paths but did not change anything else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any board jumper changes?&amp;nbsp; I am powering the board through the USB0 connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you use usb0 or usb1?&amp;nbsp; I'm assuming if it worked for you that this device appeared as a mass storage device in the PC devices and printers view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other thoughts what might be a problem with my setup?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523899#M6535</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523900#M6536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Thu Dec 24 02:44:44 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: agemoz&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I am using the latest LPCXpresso version 7.4.0.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'm not saying that your problem is being triggered by this, but you do realise that the current release is LPCXpresso v8.0 don't you? v7.40 is now well over a year old :&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Flpcxpresso-latest-release" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/lpcxpresso-latest-release&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523900#M6536</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523901#M6537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Thu Dec 24 06:47:14 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Despite what whitecoe says, I doubt that the old version of LPCXpresso you are using has any relevance. I use 7.9.0 for what its worth.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code works 'as is' from the LPCXpresso (LPCOpen) example (lpcopen_2_12_lpcxpresso_keil_mcb_4357) on my MCB4300 with 4357 chip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I changed no config - but you may want to check all your jumpers are installed in their default position. Check the user guide at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fsupport%2Fman%2Fdocs%2Fmcb1800%2Fmcb1800_intro.htm" rel="nofollow" target="_blank"&gt;http://www.keil.com/support/man/docs/mcb1800/mcb1800_intro.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been connecting to USB0, which has also provided the power - make sure you are using a USB port on your PC that provides the full 500mA - otherwise, try powering it using the DC connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As mine work, I have no idea what is wrong with your setup, except as mentioned above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523901#M6537</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523902#M6538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Thu Dec 24 09:51:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi vtw, et.al,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thank you all for your help during this holiday season!&amp;nbsp; I really appreciate it--I've made considerable progress.&amp;nbsp; Knowing that people have successfully used this example caused me to redouble my efforts.&amp;nbsp; The problem isn't resolved, but it has something to do with how the LPCXpresso debugger comes up.&amp;nbsp; If I program flash in release mode, shutdown the debugger, and push the reset button on the MCB4300 board, it finally creates a disk that I can see on the host.&amp;nbsp; I was able to format it and put a test file on it.&amp;nbsp; This provided a valuable clue that the debug mode, or running the debugger in release mode, is interfering with the USB enumeration process even though it looks like the code is running correctly.&amp;nbsp; It's only when LPCXpresso is shut down that USB functions correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now the effort is to figure out what is different.&amp;nbsp; It would be of enormous help if tracing or setting breakpoints within the USB API were possible, but it sounds like this is not an option?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523902#M6538</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523903#M6539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Sat Dec 26 09:39:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;USB enumeration is somewhat time sensitive so maybe when run under the debugger,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the responses are not fast enough for the host and it gives up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523903#M6539</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523904#M6540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sat Dec 26 18:28:48 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I made a terrible mistake and updated to version v8.0.0.526.&amp;nbsp; That wiped out my configurations, didn't give me an option to save the old ones, and I had to try to recreate it--I'm thinking I might unwind the whole workspace from a backup, what a disaster.&amp;nbsp;&amp;nbsp; Never ever update in the middle of a project--what a colossal mess.&amp;nbsp; I had one day of functioning USB, then lost it all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried regenerating all the configuration stuff in this version, but now it dies with arm-none-eabi/bin/ld.exe: invalid data statement.&amp;nbsp; There's no indication of what linker entry is failing--no clue where this came from.&amp;nbsp; Nothing in any of the user guides.&amp;nbsp; Anybody know what this means?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523904#M6540</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523905#M6541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sat Dec 26 18:36:47 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yuck.&amp;nbsp; Gave up, restored from a workspace backup, now back to running 7.4, works fine.&amp;nbsp; whew!&amp;nbsp; Lesson learned.&amp;nbsp; Looks like moving to version 8.0.0 is not a clean process--shouldnt be wiping out configurations without some sort of port guide, or at least saving the old configurations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523905#M6541</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523906#M6542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Sun Dec 27 03:30:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a porting guide...&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=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fmigrating-existing-projects" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/migrating-existing-projects&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice that v7.4 was released in September 2014, making it 15 months out-of-date, so I am not surprised *some* migration is required...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523906#M6542</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523907#M6543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sun Dec 27 08:32:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, this is very helpful--I had done a search both in nxp and google and looked in the user guide but didnt catch this one.&amp;nbsp; I do want to do the migration but was not expecting it to wipe out my existing configurations--I thought I'd be able to copy over settings, but in retrospect it's easy to imagine the settings would change.&amp;nbsp; I'll try again soon with a new workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523907#M6543</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523908#M6544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sat Jan 16 10:48:55 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, no luck--even with a huge amount of work, I have not been able to troubleshoot this USB problem over the last month.&amp;nbsp; I was successful in updating my environment to version 1.8, the configuration had to be modified, I found all the issues, and now can run my non-USB code successfully in the latest LPCXpress.&amp;nbsp; But running the int USB API call hangs.&amp;nbsp; When I try to debug it, I can run fine up to the line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* USB Initialization */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ret = USBD_API-&amp;gt;hw-&amp;gt;Init(&amp;amp;g_hUsb, &amp;amp;desc, &amp;amp;usb_param);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked that the descriptors are pointing correctly and have valid data, but when I run this instruction, the emulator (the Keil cortex M debugger) disconnects.&amp;nbsp; There are no warnings or errors.&amp;nbsp; If I load this code into flash and reset (without the emulator) it just hangs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I debug this?&amp;nbsp; As long as I don't try to init USB, all my code works fine.&amp;nbsp; How do I determine why the USB ROM code is dying?&amp;nbsp; I've exhausted all the ideas I have why this doesnt work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like it is a fatal showstopper for using this part that the USB ROM code cannot be traced--is there any way to find out why the processor locks up in here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523908#M6544</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB example gives unknown device on MCB4300 dev board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523909#M6545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by agemoz on Sat Jan 16 17:06:30 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally figured out how to track this USB ROM code--you cannot singlestep, but you can set consecutive assembly code breakpoints.&amp;nbsp; It turned out that when I migrated my code to 8.0 LPCXpress, a routine that sets up the USB PHY was not getting called.&amp;nbsp; If you try to init the USB without a powered-up phy, the processor dies badly.&amp;nbsp; I put the USB PHY powerup (bit 5 in CREG0) set to zero active, and I'm back up and running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue is resolved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-example-gives-unknown-device-on-MCB4300-dev-board/m-p/523909#M6545</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:45:57Z</dc:date>
    </item>
  </channel>
</rss>

