<?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>Enter DFU mode using open USB bootloader example on pca10056</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52115/enter-dfu-mode-using-open-usb-bootloader-example-on-pca10056</link><description>Question - How to enter in DFU mode using open USB bootloader example on pca10056 ? 
 i tried writing nRF52840DK with examples-DFU-open_botloader-pca10056_usb and usb_debug by SWD debugging port J2 and when i plugged the usb to J3 connector and pressed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Sep 2019 08:10:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52115/enter-dfu-mode-using-open-usb-bootloader-example-on-pca10056" /><item><title>RE: Enter DFU mode using open USB bootloader example on pca10056</title><link>https://devzone.nordicsemi.com/thread/209768?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 08:10:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad1a7ff3-5f77-4f84-b2b8-a5a65cfe43e7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Anmol,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Open Bootloader is quite new so we don&amp;#39;t have good documentation for it.&amp;nbsp;&lt;br /&gt;What you basically need to do is :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- If you are using softdevice, please flash the softdevice prior to the bootloader. When you flash the bootloader, it&amp;#39;s better to use nrfjprog.exe&lt;/p&gt;
&lt;p&gt;- If you don&amp;#39;t plan to use the softdevice, you need to flash the MBR (master boot record) . The MBR is located at&amp;nbsp;\components\softdevice\mbr&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t tried any example in the SDK, I would suggest to get familiar with other examples before starting with the bootloader.&lt;/p&gt;
&lt;p&gt;For the bootloader, I have made a tutorial &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here&lt;/a&gt;. It&amp;#39;s for Secure bootloader but quite similar to the open bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enter DFU mode using open USB bootloader example on pca10056</title><link>https://devzone.nordicsemi.com/thread/209717?ContentTypeID=1</link><pubDate>Sat, 14 Sep 2019 13:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7ad9777-6458-4b20-859e-e5dc2463b0a5</guid><dc:creator>Anmol</dc:creator><description>&lt;p&gt;Hi Hung Bui&lt;/p&gt;
&lt;p&gt;Thank you for your response.&lt;br /&gt;Actually i am new to this, yes i have not flashed the soft device.&lt;/p&gt;
&lt;p&gt;what i did was write the nRF5_SDK_15.3.0_59ac345\examples\dfu\open_bootloader\pca10056_usb to a empty PCA10056board&lt;/p&gt;
&lt;p&gt;can you tell me which soft device do i need flash ? where can i read guide or steps for USB bootloader dfu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enter DFU mode using open USB bootloader example on pca10056</title><link>https://devzone.nordicsemi.com/thread/209668?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 14:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbe0d8b8-d12a-40fb-af10-86d664585007</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Anmol,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The open bootloader example should work out of the box. How do you flash the bootloader hex file ? Have you flashed the softdevice ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to use nrfjprog to flash the softdevice first, and then flash the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since there is no valid application the bootloader shoud start automatically. You should see LED2 lid up and down (breathing)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you connect USB cable to J3 you should see a SDFU virtual comport created.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However which DK are you using to test ?&amp;nbsp; We have a known issue with PCA10056 DK v0.9.2 that USB on J3 doesn&amp;#39;t work. I would suggest to test with PCA10056 from V1.x&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If there is a valid application, you can enter DFU mode by triggering a pin reset (SW5) or follow this &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_dfu_trigger_usb.html?cp=5_1_3_5_3"&gt;triggering procedure.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>