<?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>There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51398/there-is-a-question-in-test-setp-about-the-buttonless-dfu-sample-using-the-nrf52832-dk-board-sdk-is-using-12-3</link><description>Hi I am currently testing Buttonless DFU using SDK 12.3, nRF52832 DK. Example test was conducted first using the DK board, but as you can see in the picture, it will fail. I don&amp;#39;t know why. Is the method wrong?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Aug 2019 11:34:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51398/there-is-a-question-in-test-setp-about-the-buttonless-dfu-sample-using-the-nrf52832-dk-board-sdk-is-using-12-3" /><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206602?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 11:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:214b1ed6-5dff-43fa-8eb8-51912770f3af</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aser,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;RAM overlapping shouldn&amp;#39;t be a problem. The bootloader and the application wouldn&amp;#39;t run at the same time. I just tested here and don&amp;#39;t see the problem that you are having.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you let me know how exactly you flashed the bootloader and the application ? with step by step. For example:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Flash softdevice using nrfjprog. (please specify what exact command you used to test)&lt;/p&gt;
&lt;p&gt;2. Flash bootloader&lt;/p&gt;
&lt;p&gt;3. ....&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I attached here the hex files (BL,SD,APP) that I read from my board. You can use this file to test.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have modified the bootloader so that it by default will jump to the application. The sequence you would need to do with nrfjprog (don&amp;#39;t use nrfconnect) is:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. nrfjprog --eraseall&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;nrfjprog --program .\s132_nrf52_3.0.0_softdevice.hex&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;nrfjprog --program .\buttonless.hex --sectorerase&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;nrfjprog --program .\nrf52832_xxaa_s132_compressed.hex --sectorerase&lt;/p&gt;
&lt;p&gt;Please use the exact sequence. If you flash the bootloader before the application you may risk erasing the bootloader setting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b15bb1601bbd4f729a7a2d444bdc16d0/buttonless.zip"&gt;devzone.nordicsemi.com/.../buttonless.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206532?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 08:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d74c7c09-de4d-4423-9fa3-b88176fbb3f4</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;Oh! I solved it.&lt;br /&gt;I didn&amp;#39;t know that I had to merge boot.hex and application.hex and download them to the chip in order to set the device to invoke boot mode without a button when the application is up.&lt;br /&gt;I&amp;#39;m working on fixing that issue now and applying source to my project.&lt;/p&gt;
&lt;p&gt;But I still can&amp;#39;t find a command to call boot mode haha .... ㅠㅠ :(&lt;br /&gt;Instead, the command you gave me seems to help a bit.&lt;br /&gt;Is it right to call boot mode using that part?&lt;br /&gt;I will try more. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206485?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 04:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d636c420-10e4-47e8-8ec1-6ecaa495512c</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;I just found the source of this problem through the nRF Connect utility.&lt;br /&gt;The problem was confirmed that the memory map areas overlap.&lt;br /&gt;The bootloader area overlaps with the application (buttonless) area.&lt;br /&gt;However, I do not understand that these two sources were tested using the original ones, and I do not understand that this phenomenon occurs.&lt;br /&gt;Do you have a solution that you know?&lt;/p&gt;
&lt;p&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/20190828_5F00_134939.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/20190828_5F00_135342.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206477?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 02:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da31eb9c-1689-401f-92c0-636673e132da</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;This file is a log of an issue where only the same log I talked about repeatedly is taken and DFU is not going on. This log is from Nordic&amp;#39;s nRF Connect app.&lt;br /&gt;Would you please take a look?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Log-2019_2D00_08_2D00_28-11_5F00_37_5F00_52.txt"&gt;devzone.nordicsemi.com/.../Log-2019_2D00_08_2D00_28-11_5F00_37_5F00_52.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206475?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 01:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e1777f4-8d79-4d82-a9a1-42e4c2909994</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;Hello Bui. Good morning.&lt;br /&gt;I&amp;#39;ve done a lot of DFU with the DFU Button you mentioned, but it&amp;#39;s repeatedly output the same log as an infinite loop.&lt;br /&gt; I don&amp;#39;t know why.&lt;br /&gt;When this is resolved, the phone sends a signal to the boot mode and it will be able to apply it to the My Project.&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206330?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 11:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:266f3489-5fa8-4216-8d71-35e35f2aab81</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aser,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you instead click on the DFU button can you do a DFU update&amp;nbsp; ? The app should detect that it&amp;#39;s a buttonless application and perform the DFU buttonless automatically.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The buttonless application is quite simple. It waits for a write request to write to a flag in flash and then reset to the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can debug the buttonless application quite easily. You can check if&amp;nbsp;enter_bootloader() is called inside on_ctrlpt_write() when there is a&amp;nbsp;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please be aware that SDK v12.3 is pretty old. We changed the way we enter DFU bootloader (using GPREGRET instead of flash ) from SDK v13. The current SDK is v15.3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206279?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 08:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:501db5a8-ee64-42c5-bc61-c4aa9018e26f</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;I realized that I was doing something wrong after all my attempts.&lt;br /&gt;First, mark the &amp;quot;&amp;darr;x3&amp;quot; button and press the &amp;quot;&amp;uarr;&amp;quot; button.&lt;br /&gt;I realized that I had to choose Request instead of Command in a pop-up window.&lt;br /&gt;But even though I have tried to switch to boot mode countless times through this method, I still use Nordic Buttonless to do it.&lt;br /&gt;:(What should I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206203?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 00:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3256611a-ee44-484b-a9e9-fcbfc755624f</guid><dc:creator>Aser</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi, Bui.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Thank you very much for your reply.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Thanks to your kind Tutorial, the bootloader example has been successfully used.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Thank you for this, too.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After setting up the boot loader mode, when BLE Scan is done again, &amp;quot;DFU Targ&amp;quot; is not detected.&lt;br /&gt;The application is original and no modifications have been made to Source.&lt;br /&gt;Now I suspect that the red box button is the one that sets the Bootloader mode after the connection.&lt;br /&gt;In the above test, we downloaded the Buttonless Application with only the Bootloader Source downloaded. In this case, the next buttonless application was downloaded while the update was completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: There is a question in Test Setp about the buttonless DFU sample using the nRF52832 DK board.
(SDK is using 12.3.)</title><link>https://devzone.nordicsemi.com/thread/206174?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 16:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10612314-9181-4808-a326-90e690739b28</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aser,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume that you didn&amp;#39;t see the device advertised as &amp;quot;DFU Targ&amp;quot; after you set it to bootloader mode? What was the behavior after the write ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I suspect that the application has crashed, you may want to check if it enters any assert handler or if it resets.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you flashed the bootloader ? Do you have any issue if you test the bootloader (without the buttonless application)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>