<?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>Dongle in bad state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54664/dongle-in-bad-state</link><description>Hi, 
 After trying to flush a program to the dongle with no success, the dongle got into a state where it&amp;#39;s not recognize by windows and no LED flashes on it when plugged to a PC. 
 When pressing the reset button the red LED blincks. 
 How can I recover</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Dec 2019 07:02:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54664/dongle-in-bad-state" /><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/224596?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 07:02:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07660f61-f0f9-40ac-96bd-cc8a6ee38b1f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shai,&lt;/p&gt;
[quote user="Shai"]Should I add the DFU Trigger Library to my project (which is based on&amp;nbsp;examples\ble_central\ble_app_rscs_c)?[/quote]
&lt;p&gt;Yes.&amp;nbsp;&lt;span&gt;If you add the&amp;nbsp;DFU&amp;nbsp;Trigger&amp;nbsp;Library&amp;nbsp;(USB) to your custom device firmware, you will be able to&amp;nbsp;trigger&amp;nbsp;the&amp;nbsp;DFU&amp;nbsp;from nRF Connect for Desktop without using any buttons. For documentation, see&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_dfu_trigger_usb.html"&gt;&lt;span&gt;DFU&amp;nbsp;Trigger&amp;nbsp;Library&amp;nbsp;(USB)&lt;/span&gt;&lt;/a&gt;&lt;span&gt;, which is part of the&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html"&gt;nRF5 SDK v15.3.0&lt;/a&gt;&lt;span&gt;. See&amp;nbsp;&lt;a title="nRF52 Series" href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dongle/UG/nrf52840_Dongle/programming.html?resultof=%22%44%46%55%22%20%22%64%66%75%22%20%22%54%72%69%67%67%65%72%22%20%22%74%72%69%67%67%65%72%22%20%22%4c%69%62%72%61%72%79%22%20%22%6c%69%62%72%61%72%69%22%20"&gt;Programming nRF52840 Dongle&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Shai"] enable it in sdk_config, but I still get&amp;nbsp;&amp;nbsp;undefined reference to `nrf_dfu_trigger_usb_init&amp;#39;.[/quote]
&lt;p&gt;&amp;nbsp;I would suggest you start from &amp;lt;nRF5_SDK&amp;gt;\examples\dfu\open_bootloader\pca10059_usb_debug&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/224250?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 18:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c92f6a6-38ef-4498-9fcb-a1c2334b3278</guid><dc:creator>Shai</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve followed all of the tutorials and still haven&amp;#39;t figured it out.&lt;/p&gt;
&lt;p&gt;At that mode, when it&amp;#39;s no longer in DFU mode, it is not detected by the host, and therefore&amp;nbsp;useless (as I cannot read anything fro the serial port.&lt;/p&gt;
&lt;p&gt;Should I add the DFU Trigger Library to my project (which is based on&amp;nbsp;examples\ble_central\ble_app_rscs_c)?&lt;/p&gt;
&lt;p&gt;If the answer is yes - how do I do it?&lt;/p&gt;
&lt;p&gt;If not - what should I do?&lt;/p&gt;
&lt;p&gt;My evaluation time is about to expire...&lt;/p&gt;
&lt;p&gt;---------------------&lt;/p&gt;
&lt;p&gt;Meantime I&amp;#39;ve added&amp;nbsp;../../../../../../components/libraries/bootloader/dfu to user include directories, and enable it in sdk_config, but I still get&amp;nbsp;&amp;nbsp;undefined reference to `nrf_dfu_trigger_usb_init&amp;#39;.&lt;/p&gt;
&lt;p&gt;Not sure that&amp;#39;s the right direction...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/224061?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 07:02:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ca3eba-eee8-41ab-bf45-5be412d1c700</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shai,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This worked as we expect.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The device will reset when the upgrade completes and the dongle will no longer show up in nRF Connect unless the application used DFU Trigger Library is used, as it is no longer in DFU mode. You will get an error stating &amp;quot;Reopen device failed&amp;quot; in this case,&amp;nbsp;and have to push the RESET button in order to make it show up in nRF Connect Programmer again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please also see this &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;tutorial&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/224049?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 01:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e821dc1-f670-4e6d-9475-fe90f7589a6b</guid><dc:creator>Shai</dc:creator><description>&lt;p&gt;Thanks Amanda,&lt;/p&gt;
&lt;p&gt;After flushing it (ble_peripheral\ble_app_blinky\hex\ble_app_blinky_pca10059_s140.hex) I got the following errors (check last 4 lines):&lt;/p&gt;
&lt;p&gt;2019-12-06T01:38:49.515Z INFO 1 dfu package(s) left.&lt;br /&gt;2019-12-06T01:38:49.515Z INFO Waiting for device&lt;br /&gt;2019-12-06T01:38:49.519Z INFO DFU procedure starts. This may take a few seconds.&lt;br /&gt;2019-12-06T01:38:52.674Z INFO DFU for Application completed successfully!&lt;br /&gt;2019-12-06T01:38:52.674Z INFO 0 dfu package(s) left.&lt;br /&gt;2019-12-06T01:38:52.675Z INFO Waiting for device&lt;br /&gt;2019-12-06T01:38:57.677Z ERROR Reopen device failed: Timeout while waiting for device ED2E1880AA79 to be attached and enumerated&lt;br /&gt;2019-12-06T01:38:57.677Z INFO Nordic DFU Trigger Interface was not found.Please physically reset device.&lt;br /&gt;2019-12-06T01:38:57.678Z ERROR Device not found due to failure during DFU&lt;br /&gt;2019-12-06T01:38:57.891Z INFO Target device closed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The green LED is turned on, but nRF Connect doesn&amp;#39;t detect the dongle till I reset it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/221490?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 08:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95b9b280-b0e2-4c60-8c4a-929853ff1f05</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shai,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After pressing the reset button the red LED blincks, p&lt;/span&gt;lease use nRF Connect &lt;span&gt;Programmer&amp;nbsp;&lt;/span&gt;to flash the ble_app_blinky_pca10059_s140.hex under &amp;lt;nRF5_SDK&amp;gt;\examples\ble_peripheral\ble_app_blinky\hex which already contains MBR, SD and application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/221379?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 15:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73a723ce-6e49-4698-8bb6-ad23623f2efd</guid><dc:creator>Shai</dc:creator><description>&lt;p&gt;What I&amp;rsquo;m trying to say is that I followed it, clear so the files and flush only the softDevice, and still seems to be dead&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/221376?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 15:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b83598f-601f-484d-819e-2f83179c54c1</guid><dc:creator>Shai</dc:creator><description>&lt;p&gt;I&amp;rsquo;m familiar with that tutorial.&amp;nbsp;&lt;br /&gt;however it&amp;rsquo;s not clear enough.&amp;nbsp;&lt;br /&gt;when the dongle is such state what does it mean?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is it the bolder?&amp;nbsp;&lt;br /&gt;the MBR?&lt;br /&gt;he UICR?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you point to a specific section in the tutorial?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle in bad state</title><link>https://devzone.nordicsemi.com/thread/221321?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 12:44:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af086013-ca8a-40a4-b8af-5936a1239598</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Shai,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please refer to the Program application using nRF Connect Programmer section in this &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;tutorial&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>