<?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>LPC MicrocontrollersのトピックRe: LPC4333: can't boot from USB</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571408#M18366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by svenb on Tue Dec 09 12:58:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, this problem was solved by using a 12 MHz crystal oscillator. The device is now recognized as a DFU device. Booting from USB using dfu-util still doesn't work, but I didn't debug this further.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:56:23 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:56:23Z</dc:date>
    <item>
      <title>LPC4333: can't boot from USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571405#M18363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by svenb on Sun Oct 19 11:24:33 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a LPC4333 which is on a self-made board. I'm trying to use the USB bootloader feature but can't get it to work, and I'm quite clueless about what is wrong. Maybe someone here has a hint on how to continue debugging this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured the boot pins to boot from USB, then I toggle the reset pin. In dmesg, I then see this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;[28578.835904] usb 2-1.1: new full-speed USB device number 33 using ehci-pci
[28578.902738] usb 2-1.1: device descriptor read/64, error -32&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;That is reproducable every time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since it looks like a communication problem, I attached my scope to the USB traces, and what I see there is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://https://imgur.com/a/sI8GD#0" rel="nofollow noopener noreferrer" target="_blank"&gt;https://imgur.com/a/sI8GD#0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The communication looks perfectly clean for a while, then suddenly after the second reset, D- goes low in a weird pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I checked the power supply; there are no spikes visible when the fault happens. There's also no excessive noise visible on the supply lines. I tried with a different USB cable as well. Here's a log from Linux' usbmon USB debugging tool for the communication which happens: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fpaste.kde.org%2Fpiusouoga%2Fdidzqr%2Fraw" rel="nofollow noopener noreferrer" target="_blank"&gt;http://paste.kde.org/piusouoga/didzqr/raw&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not familiar enough with the USB protocol yet to read much from that to be honest; it seems like everything goes well for a while, then the error -32 fault happens but after that communication continues for a while. What also confuses me is that the fault is visible after ~70ms on the scope, but this log shows communication much later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another surprising thing is that the fault happens pretty much exactly 20ms after the start of the second reset. Does something special happen 20ms after a reset finished?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Might the USB PHY have been damaged during soldering? Could that fit the error I see?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As said, I am really quite clueless on this issue (I will continue trying to understand how USB initiation works though), so any hints and ideas would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571405#M18363</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4333: can't boot from USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571406#M18364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by svenb on Sun Oct 19 12:51:25 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ah, it looks like the USB DFU mode only works with a 12 MHz crystal, but my board has a 4 MHz. I guess that could explain the issues I am seeing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571406#M18364</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4333: can't boot from USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571407#M18365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bomellberg on Tue Dec 09 05:45:05 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;did you manage to solve your issue? I have a similar problem with a USB device under uClinux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;usb 1-1: new full speed USB device using lpc43xx-ehci and address 2
~ # usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new full speed USB device using lpc43xx-ehci and address 3
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new full speed USB device using lpc43xx-ehci and address 4
usb 1-1: device not accepting address 4, error -71
usb 1-1: new full speed USB device using lpc43xx-ehci and address 5
usb 1-1: device not accepting address 5, error -71
hub 1-0:1.0: unable to enumerate USB device on port 1&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571407#M18365</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4333: can't boot from USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571408#M18366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by svenb on Tue Dec 09 12:58:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, this problem was solved by using a 12 MHz crystal oscillator. The device is now recognized as a DFU device. Booting from USB using dfu-util still doesn't work, but I didn't debug this further.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4333-can-t-boot-from-USB/m-p/571408#M18366</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:56:23Z</dc:date>
    </item>
  </channel>
</rss>

