<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24929/nrf52840-usb-hardfault</link><description>Hello, 
 I am evaluating the USB audio example from SDK v14 with an nRF52840-Preview-DK (PCA10056, V0.9.2, 2017.25). 
 SW9 is set to VDD power, SW6 is set to DEFAULT. The board is connected over both USB connectors to the same computer. The JLink CDC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Sep 2017 08:07:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24929/nrf52840-usb-hardfault" /><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98162?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 08:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c89b1ef-bde5-4d66-a85b-e4da1677376f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Lionel,&lt;/p&gt;
&lt;p&gt;I recommend creating a support ticket at &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;MyPage&lt;/a&gt;. When creating the ticket, please upload your gerber files and schematics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98163?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 20:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:563678a8-fb41-4ab8-b898-320d027fd520</guid><dc:creator>NewtoM</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;I got a replacement from Nordic (for which I want to thank!), and it is working fine.
So, it was a hardware fault.&lt;/p&gt;
&lt;p&gt;Tamas&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;in the meantime, the 2nd PDK arrived here. Eager to see the USB working, I flashed it with the precompiled &lt;code&gt;usbd_hid_generic_pca10056.hex&lt;/code&gt; from &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/usbd_hid_generic_example.html?cp=4_0_1_4_5_45_4"&gt;SDK 13.1&lt;/a&gt;, but it keeps failing.&lt;/p&gt;
&lt;p&gt;I made a pretty exhausting test (with two different USB cables, to be sure) as you may see in the attached spreadsheet: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF52840_5F00_USB_5F00_Test.xls"&gt;nRF52840_USB_Test.xls&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In short: no matter which cable, which Windows version, which Motherboard with whatever USB Controller (1.1 / 2.0 / 3.0), the USB device recognition fails. As far as I see, because both the VID and PID provided to the OS are zero.&lt;/p&gt;
&lt;p&gt;I also tried all USB examples, all fail in the same way with this 2nd board.&lt;/p&gt;
&lt;p&gt;There seem to be some difference between the precompiled .hex files of SDK 13.1 and SDK 14.0 (with 13.1 two LEDs light up, with 14.0 only one), but both fail.&lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,
Tamas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98161?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 08:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:486b8a58-789c-43f5-84a9-c9bbe06082b4</guid><dc:creator>Lionel Yersin</dc:creator><description>&lt;p&gt;Hello,
We have a similar issue. We have successfully used the PDK in mass storage device mode. It works well when connecting to the computer and we are usign it since a few months ago. Now we have built some prototypes based on the nRF52840 engineering samples. When we try to connect those prototypes to a windows or linux PC, the device is not recognized.
We are using the same firmware on both the PDK and our prototypes and the schematic of our prototype is based on the PDK schematic.
Could it be something related to the engineering samples ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98159?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 13:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7780a32-f2d3-43d7-a5ab-964e19be1bd3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Tamas,&lt;/p&gt;
&lt;p&gt;I suspect it could be a faulty board. Please create a &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;Mypage&lt;/a&gt; support case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98160?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 13:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6609fc30-cebd-4a3d-ab59-1bede530e13e</guid><dc:creator>NewtoM</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;I have double checked: I use v9.6.0 nRF5x Command Line Tools and no USB hub. Interestingly, the board&amp;#39;s USB behaves better with SDK 13 (and 13.1). The board is almost always correctly identified when plugged into a USB 3.0 port and &lt;code&gt;usbd_hid_generic_pca10056.hex&lt;/code&gt; works &lt;strong&gt;almost&lt;/strong&gt; flawlessly. There are still some glitches like shown on &lt;a href="http://s000.tinyupload.com/index.php?file_id=09436444132405861609"&gt;this video&lt;/a&gt; at seconds 3 to 4, where the cursor movement stops even though the button is pushed. Furthermore, on USB 2.0 there are still problems with device recognition.&lt;/p&gt;
&lt;p&gt;Shall I try to convince my employer to buy another pDK for USB testing? If the 2nd pDK also fails to deliver stable USB connection, I don&amp;#39;t think we will go for the nRF52840, though.&lt;/p&gt;
&lt;p&gt;Tamas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98158?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 18:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e4ad912-e09b-4ce8-830d-037afaa8b200</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The fact that you see this issue also when using different computers, USB cables, etc, could perhaps indicate that you have faulty board. It could also be some driver problems on the computers.&lt;/p&gt;
&lt;p&gt;Please make sure that you using the latest version of &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5x-Command-Line-Tools-Win32/58850"&gt;nRF5x Command Line Tools(9.6.0)&lt;/a&gt;, and that you are plugging both USB cables directly into the computer, and not using any USB hubs. You could also test to see if are seeing the same issue using SDK 13.&lt;/p&gt;
&lt;p&gt;Let me know how it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98156?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 15:30:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56595209-9732-4ebe-9b80-7ff8f5a049d2</guid><dc:creator>NewtoM</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;I have just tried the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/usbd_hid_generic_example.html?cp=4_0_0_4_5_46_4"&gt;USB HID Generic Example&lt;/a&gt; and that fails also in a very strange way. Most of the time (but not always) the USB device is recognized by Windows. Button 1 (for moving the mouse cursor to the right) works indefinitely, but if I press any other button, the board crashes and nothing more works until I reset it. But with this example I am not even receiving the hard fault message over UART. This is what I see right before it crashes because of pressing Button 2:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;info&amp;gt; app: Hello USB!
&amp;lt;info&amp;gt; app: USB power detected
&amp;lt;info&amp;gt; app: USB ready
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Unfortunately I don&amp;#39;t have a second PDK to check with that.
Tamas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB hardfault</title><link>https://devzone.nordicsemi.com/thread/98157?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 14:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b26faa-0e4d-4134-b743-bb32b593858d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have not seen this issue before. Do you have any problems with the other USB examples in the SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>