<?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>USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34605/usb-not-enumerating-after-reset</link><description>I am using the secure_bootloader to perform firmware updates via USB on the nRF52840 (custom board). This works great when I start with no application (only bootloader and softdevice). After loading the application successfully, I use a button trigger</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Oct 2018 10:27:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34605/usb-not-enumerating-after-reset" /><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/155063?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 10:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02d47229-e78a-4371-90a1-3e1a8bd5eeda</guid><dc:creator>eblot</dc:creator><description>&lt;p&gt;I would suggest Nordic Semi not to use &amp;quot;latest&amp;quot; reference in tickets, as it is kind of hard to read a thread a couple of months after it has been written. What &amp;quot;latest&amp;quot; means actually here? SDK 15.0, 15.1, 15.2, 15.x? :-(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/153324?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 16:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01730d7d-1a35-4a6f-a9ee-7e73d93d67be</guid><dc:creator>Andrew Kohlsmith</dc:creator><description>&lt;p&gt;Perhaps I wasn&amp;#39;t clear. I see where the function is defined in the header file. I don&amp;#39;t see anything calling that function in the entire SDK. e.g. searching for &amp;quot;nrf_drv_usbd_errata_type_52840_fp1&amp;quot; yields only one result, which is the header file itself.&lt;/p&gt;
&lt;p&gt;EDIT: Nevermind, it&amp;#39;s called from nrf_drv_usbd_errata_187() in the same file, and that is called by nrf_drv_usbd_enable().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/153312?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 15:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f43fccd-294f-4c7c-b13c-5fb16eaf6f6b</guid><dc:creator>Bycman</dc:creator><description>&lt;p&gt;I am using SDK 15.0.0. The file should exist at this location within the SDK:&lt;/p&gt;
&lt;p&gt;components/drivers_nrf/usbd/nrf_drv_usbd_errata.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/153303?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 15:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20bb7283-d1b6-4cb4-950c-00ee6c6b1cc5</guid><dc:creator>Andrew Kohlsmith</dc:creator><description>&lt;p&gt;Where is this function used? I can find no reference to it in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/133514?ContentTypeID=1</link><pubDate>Sat, 26 May 2018 00:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd2e161b-eec2-4cd5-a3b6-b15c78d81ae6</guid><dc:creator>Bycman</dc:creator><description>&lt;p&gt;Yes,&amp;nbsp;that worked. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/133051?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 14:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:702bcca2-7a1a-42f8-961a-2ffa2b98a2be</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using the latest revision of nRF52840?&lt;/p&gt;
&lt;p&gt;Unfortunately, we have a bug in our SDK, in file nrf_drv_usbd_errata.h::nrf_drv_usbd_errata_type_52840_fp1().&lt;/p&gt;
&lt;p&gt;This has been reported internally, and will be addressed in future versions of the SDK.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;static inline bool nrf_drv_usbd_errata_type_52840_fp1(void)&lt;/div&gt;
&lt;div&gt;{&lt;/div&gt;
&lt;div&gt;return ( nrf_drv_usbd_errata_type_52840() &amp;amp;&amp;amp;&lt;/div&gt;
&lt;div&gt;( ((*(uint32_t *)0xF0000FE8) &amp;amp; 0xF0) ==&amp;nbsp;&lt;strong&gt;0x20&lt;/strong&gt;&amp;nbsp;) &amp;amp;&amp;amp; // note: modified from 0x10 to 0x20!&lt;/div&gt;
&lt;div&gt;( ((*(uint32_t *)0xF0000FEC) &amp;amp; 0xF0) == 0x00 ) );&lt;/div&gt;
&lt;div&gt;}&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;The bold highlight shall be 0x20 (not the default 0x10) for applying erratas for engineering C and revision 1 devices.&lt;/div&gt;
&lt;div&gt;Could you try this&amp;nbsp;improves the USB enumeration issue?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;Kind regards,&lt;/div&gt;
&lt;div&gt;Håkon&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB not enumerating after reset</title><link>https://devzone.nordicsemi.com/thread/132837?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 21:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9c88c7c-423d-495e-83e6-c80235fe703a</guid><dc:creator>Bycman</dc:creator><description>&lt;p&gt;I switched from using the ble_app_uart example to the usbd_ble_uart example, and now USB enumerates fine when resetting back to the bootloader.&lt;/p&gt;
&lt;p&gt;Interesting to note that after an update, when the bootloader jumps to the application the application doesn&amp;#39;t enumerate USB until I power down and back up. That should be easy to solve. even if I have to do a brute force reset after the update occurs, though I would prefer a more elegant solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>