<?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-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75142/nrf52840-dongle-usb-dfu-problem</link><description>Hello 
 I want to flash my simple coap server code in nRF52840-Dongle using USB DFU mode with nRFConnect but I did not find COMPORT/ Any Jlink Device after put donge in USB DFU mode. I want to inform you that, accidentally UICR was erased and I need secure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 May 2021 15:29:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75142/nrf52840-dongle-usb-dfu-problem" /><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/311565?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 15:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d619fa79-87ce-4cc3-a505-693fe4f1b0d0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This blinking would be because there is a timeout (see usage of &lt;code&gt;m_dfu_progress_led_timer&lt;/code&gt; in&amp;nbsp;examples\dfu\open_bootloader\main.c). Are you sure you did not damage anything that could explain lack of USB connectivity when soldering on wires for the debugger? It is also very odd that the behavior depends on if a debugger is attached or not. Or are you able to reproduce on another dongle?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/311294?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 04:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baac2dca-3173-4da8-8688-97d2fb163085</guid><dc:creator>senthil_kumar</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any update? for dongle dfu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/311153?ContentTypeID=1</link><pubDate>Sat, 22 May 2021 04:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d27f88a3-41c5-4330-b890-083a3abe6af3</guid><dc:creator>senthil_kumar</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am a Hinal colleague. We both are on the same project.&amp;nbsp;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/75142/nrf52840-dongle-usb-dfu-problem/311086#311086"]Is it rapidly blinking, toggeling every 100 ms? [/quote]
&lt;p&gt;&amp;nbsp;Yes, LD2 led toggling every 100 ms rapidly blinking.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/WhatsApp-Video-2021_2D00_05_2D00_22-at-9.41.20-AM.mp4"&gt;devzone.nordicsemi.com/.../WhatsApp-Video-2021_2D00_05_2D00_22-at-9.41.20-AM.mp4&lt;/a&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/75142/nrf52840-dongle-usb-dfu-problem/311086#311086"]Have you made any HW changes to the dongle? Which?[/quote]
&lt;p&gt;There are &amp;quot;NO&amp;quot; changes in the dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/311086?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 14:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:311900d6-9e88-464b-ab1f-230698f50935</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Is it rapidly blinking, toggeling every 100 ms? That is the only thing that would make sense from what I can see from &amp;lt;SDK&amp;gt;\examples\dfu\open_bootloader\main.c. I am not ablet o see why you should get in this state though, and certainly not why having a debugger attached or not matters. Have you made any HW changes to the dongle? Which?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/310898?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 05:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4dbe763-6a50-407d-8eb1-71b5f88f97a6</guid><dc:creator>Hinal Tailor</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Yes here i refer LD2 red led. Yeah that is &amp;quot;hard&amp;quot; blinking red led. Weather a debugger is not connected.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/310841?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 16:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cca33f8-55fa-44fd-a0b6-e90937b0f857</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;By red LED here you refer to LD2? And that is &amp;quot;hard&amp;quot; blinking red instead of soft blinking red? And the behavior here is dependent on only weather a debugger is connected or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/310641?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 08:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0a8582d-75dd-43b7-878f-e50f2afed790</guid><dc:creator>Hinal Tailor</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I am connecting Dongle with Debugger that time RED LED is pulsating (soft blink) and when I have disconnect dongle from debugger RED LED is continuously blinking.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have identify that nRF52840-Dongle is not in DFU mode by not getting any comport in nRF connect to flash the code.&lt;/p&gt;
&lt;p&gt;Hinal Tailor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/310095?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 10:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58e4c64c-7052-40a4-809e-7e5c3f4af096</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Hinal,&lt;/p&gt;
&lt;p&gt;The LD2&amp;nbsp; LED will pulsate (soft blink) read to indicate DFU mode. Is that what you see when you say &amp;quot;RED led is always blikning&amp;quot;?&amp;nbsp;How have you validated that it is not in USB DFU mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/309876?ContentTypeID=1</link><pubDate>Sat, 15 May 2021 05:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9394b104-ff3a-480c-bb5c-955a8adcc037</guid><dc:creator>Hinal Tailor</dc:creator><description>&lt;p&gt;Hi Einar&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have uploaded bootloader HEX file and set UICR . I am getting 3V at VDD_nRF pin but still not getting comport and power on LED also not blink. When I pressed RESET button it will not enter in USB DFU mode and RED led is always blinking.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Hinal Tailor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/309768?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 11:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cc0073b-6447-4ca0-8c31-ce3e89a29f20</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Tailor,&lt;/p&gt;
&lt;p&gt;The UICR does not contain any configuration for REGOUT0, which sets the output voltage, so you need to set that. That is a bit odd as&amp;nbsp;I though should have been set by the bootloader, but that may not be the case. Then, you can set via a debugger using nrfjprog like this:&amp;nbsp;&lt;code&gt;nrfjprog --memwr 0x10001304 --val 0x4&lt;/code&gt;. This will make the VDD voltage (after the high voltage regulator) 3 V after a reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/309745?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 10:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da189330-b70c-47b0-afba-884b4626d19b</guid><dc:creator>Hinal Tailor</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have read UICR Register you can find it from attached HEX file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0458.uicr.hex"&gt;devzone.nordicsemi.com/.../0458.uicr.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1854.uicr.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;You can see this command &amp;quot;nrfjprog.exe --readuicr uicr.hex&amp;quot; is not found that&amp;#39;s why I have tried &amp;quot;nrfjprog --readuicr uicr.hex&amp;quot; and it is reading UICR.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Best regards,&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Hinal Tailor&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/309723?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 09:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c122423d-d79b-4d62-942a-5d2681acd468</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Hinal,&lt;/p&gt;
&lt;p&gt;I see, that is odd. Then the UICR should have been updated as well. Can you read out the&amp;nbsp;UICR using&amp;nbsp;&lt;code&gt;nrfjprog.exe --readuicr uicr.hex&lt;/code&gt; and upload it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/309722?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 08:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db490fd6-80e0-4466-8a6e-576f617492d1</guid><dc:creator>Hinal Tailor</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thank you for your response. I want to inform you that I already uploaded HEX file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/graviton_5F00_bootloader_5F00_mbr_5F00_v1.0.1_2D005B00_nRF5_5F00_SDK_5F00_15.0.1_2D00_1.alpha_5F00_f76d012_5D00_.hex"&gt;devzone.nordicsemi.com/.../graviton_5F00_bootloader_5F00_mbr_5F00_v1.0.1_2D005B00_nRF5_5F00_SDK_5F00_15.0.1_2D00_1.alpha_5F00_f76d012_5D00_.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I didn&amp;#39;t get 3V at VDD_nRF pin and comport is not coming.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Hinal Tailor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle USB DFU problem.</title><link>https://devzone.nordicsemi.com/thread/309704?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 07:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b26892df-33ab-4928-8a8c-a325f5e1dfc2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Hinal,&lt;/p&gt;
[quote user=""]I want to inform you that, accidentally UICR was erased and I need secure bootloader HEX file for Dongle. I also want to know that problem is in Hardware or software because when I am applying 5V to VBUS pin It will not give 3V at D+ and D- pins and&amp;nbsp;internal buck regulator output is 1.8V coming.[/quote]
&lt;p&gt;At least two things happen when you erase the UICR:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The bootloader start address is removed (though also the bootloader and MBR so that is not a problem in itself).&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;REGOUT0&amp;nbsp;register that controls the output voltage out of Reg 0 is reset to the default value which is 1.8V.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So, you need to program the MBR and bootloader and UICR again. If you are able to use SWD using a J-Link Pro or similar, then you can get the hex file from the&amp;nbsp;&lt;em&gt;Revert to production bootloader&lt;/em&gt; section in the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle programming tutorial&lt;/a&gt; program that and you should be good after a&amp;nbsp;reset. If you are not able to program via SWD due to the low VDD voltage you need to make some HW adjustments first, as described under&amp;nbsp;&lt;em&gt;Recover after an accidental UICR erase&lt;/em&gt; in the same tutorial.&lt;/p&gt;
[quote user=""]Please provide best solution. I need to create openthread mesh network for my application as early as possible because I am working on a sharp deadline project.[/quote]
&lt;p&gt;Please create a separate question for this as it is not directly related to the programming issue (keeping separate questions in separate threads makes it easier to maintain focus).&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>