<?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>Can&amp;#39;t select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26649/can-t-select-device-in-dfu-mode-using-nrf-toolbox</link><description>Hi all, 
 I have a question to complete the tutorial &amp;#39;Setting up device firmware update(DFU) on the nRF5 DK&amp;#39;. this 
 I have tried to set up my nRF51 Development Kit.
Everything was Ok, but when I look for my device in DFU mode using nRF Toolbox, I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2017 18:12:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26649/can-t-select-device-in-dfu-mode-using-nrf-toolbox" /><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104854?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 18:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9911ac8f-1568-4f04-9671-c74aff40d36e</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;I&amp;#39;m glad I could help out.  Please let me know how it works out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104853?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 17:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3b11921-4891-4c1d-9127-094e3f6feb06</guid><dc:creator>jm</dc:creator><description>&lt;p&gt;@AmbystomaLabs Thank you very much for your kind answers. I seem to have a lot of silly questions because of lack of knowledge. I have not solved it yet, but I&amp;#39;ll continue to try it based on your advice. Best,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104852?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 17:38:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:142dc188-5e81-4a64-bcdd-118b64b253e9</guid><dc:creator>jm</dc:creator><description>&lt;p&gt;@Hung Bui Thank you for your comment. Unfortunately, I&amp;#39;m using SDK v10. However, I think that tutorial might be useful to understand the procedure for implementing bootloader. Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104851?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 13:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:559f1ce5-a08b-4f18-92e0-6fad10419b3d</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;If it doesn&amp;#39;t go into dfu mode then you are either loading the wrong file, or do not have an nRF51DK. You should verify both the model of your DK and the file name precisely!  Many of the files have similar names but are not similar at all.&lt;/p&gt;
&lt;p&gt;The file is: dfu_dual_bank_ble_s130_pca10028.hex&lt;/p&gt;
&lt;p&gt;Your dk should be model# pca10028&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104850?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 13:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb62fd1e-d16a-467b-b8cb-21d949ccba9d</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;JM, yes if you use the precompiled hex you do not need to download the project.  It is ready to go and the image includes the SD. Once loaded your DK will go straight into dfu mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104849?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 12:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2511f66d-b4c2-4826-8192-bf66b2483cd7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@jm: Which SDK are you using ? If you are SDK v12 and above, you can follow &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;this instruction&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104848?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 23:31:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31dfaa3f-7af0-47e8-90a2-91c2cdf5b540</guid><dc:creator>jm</dc:creator><description>&lt;p&gt;Thank you for your quick reply.
Did you mean I don&amp;#39;t need to download the project if I use the precompiled hex file (you referred to)?&lt;/p&gt;
&lt;p&gt;Then, is the following procedure correct in nRFgo Studio?&lt;/p&gt;
&lt;p&gt;1.Device Manager-&amp;gt;nRF5x Programming-&amp;gt;Erase all&lt;/p&gt;
&lt;p&gt;2.Device Manager-&amp;gt;nRF5x Programming-&amp;gt;(Program Application tap) select that hex file-&amp;gt;Program&lt;/p&gt;
&lt;p&gt;And does this procedure make the device show up as DfuTarg?
Because I followed above procedure, but I can&amp;#39;t find my device.
Please advise whether there is a problem in the procedure or an unexpected error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104847?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 22:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51591b54-4173-4bc8-a54d-6fad8a037aee</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;The DFU project is solely the bootloader. So if you mean you compiled the project and installed it then you would still need to load the SD130. Only the precompiled hex file I referred to has a complete image with SD and bootloader/dfu.
As far as the error, not sure.  Normally nRFGo just complains if the hex has code in already programmed space.  Either way when you are programming it, you always best to start fresh and do and &amp;quot;erase all&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104846?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 22:25:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3701cfe-d2be-4387-a038-ec6cfe54146b</guid><dc:creator>jm</dc:creator><description>&lt;p&gt;Thank you! Your comment helps me understand what the problem was.&lt;/p&gt;
&lt;p&gt;1.I flashed that hex file using nRFGoStudio and tried to select, but I couldn&amp;#39;t find my device.&lt;/p&gt;
&lt;p&gt;2.So I tried to download Keil project &amp;quot;..\examples\dfu\bootloader\pca10028\dual_bank_ble_s130\arm5_no_packs\dfu_dual_bank_ble_s110_pca10028&amp;quot;
, but the following error has occurred.&lt;/p&gt;
&lt;p&gt;Reading flash area to program to guarantee it is erased.
ERROR: The area to write is not erased.&lt;/p&gt;
&lt;p&gt;How can I fix it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't select device in DFU mode using nRF Toolbox</title><link>https://devzone.nordicsemi.com/thread/104845?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 20:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2978165-3ab7-4d3d-a572-60b0da69a305</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;If it doesn&amp;#39;t show up as DfuTarg in the nRFToolbox then it is likely not in DFU mode.&lt;/p&gt;
&lt;p&gt;It is not clear from what you have stated that you ever flashed it with SD and DFU code and further that you have put it into DFU mode. Some of the DFU examples do buttonless DFU and others require that you initiate DFU mode with a button press.&lt;/p&gt;
&lt;p&gt;Since the link you referenced was for SDK11, I would recommend you try some of the precompiled DFU examples in the DFU folder of that SDK. in SDK/examples/dfu/bootloader/hex/
you will find dfu_dual_bank_ble_s130_pca10028.hex which is for nRF51. Just do an erase all from nRFGoStudio then use the application tab to flash this hex file only.  It has both bootloader and SD, so it all you need.  Once it reboots your DK will go straight into DFU mode since it doesn&amp;#39;t have an app loaded.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>