<?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>SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27180/sdk-12-3-0-dfu-service-not-work</link><description>Hi Forums, 
 I work 51822 custom board. 
 I try to add Buttonless DFU so I test the &amp;quot;experimental_ble_app_buttonless_dfu&amp;quot; compile is good. 
 But flash to the board can&amp;#39;t find DFU service on NRF Connect tool. 
 I search online then find most discuss</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Nov 2017 14:32:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27180/sdk-12-3-0-dfu-service-not-work" /><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107079?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 14:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4efa786-f6e0-4e38-a097-42d44545659c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@johnathan_lyu: I apologize for the late reply, I have been looking at the secure bootloader and buttonless examples in SDK v12.3.0 and it would appear that the &lt;code&gt;.enter_buttonless_dfu&lt;/code&gt; field in the s_dfu_settings is not correctly written to flash by the buttonless application. All callbacks from the fstorage module indicate that the flash write operation was OK, but once you reset to the bootloader and read it back, the value is set to 0. I have not been able to determine why, but I do not think this is worth looking into as this is an experimental implementation. We reverted to using the GPREGRET registers instead of writing to flash in SDK v13.x.x.  Hence, my suggestion would be to backport the buttonless example and bootloader from SDK v13.0.0 to SDK v12.3.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107078?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 01:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed0787d3-7cf6-4eb0-9196-7800f909a37a</guid><dc:creator>JohnathanLyu</dc:creator><description>&lt;p&gt;Hi Bjørn Spockeli: I can use DFU now. But, yes I need send the cmd to my board make it to into DFU mode. Then I need connect to DFUTARG then select my package file to starting DFU.&lt;/p&gt;
&lt;p&gt;For now it is work. But have a lousy step.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I need connect my board trigger to DFU mode.&lt;/li&gt;
&lt;li&gt;Dissconnect my board.&lt;/li&gt;
&lt;li&gt;Connect my board with device name &amp;quot;DFUTARG&amp;quot;&lt;/li&gt;
&lt;li&gt;press DFU and select my package file.&lt;/li&gt;
&lt;li&gt;wait finish.&lt;/li&gt;
&lt;li&gt;disconnect.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107077?ContentTypeID=1</link><pubDate>Sat, 04 Nov 2017 00:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a38f1888-5650-4aa1-a473-893dc3af6587</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@johnathan_lyu: Are you still experiencing this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107076?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 05:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8100bb53-971a-4672-92c0-10fdcb870632</guid><dc:creator>JohnathanLyu</dc:creator><description>&lt;p&gt;Hi Bjørn,&lt;/p&gt;
&lt;p&gt;Thanks your patient answer now is great see the DFU service back on buttonless example.&lt;/p&gt;
&lt;p&gt;But still have some little problem I can&amp;#39;t jump to the bootloader when I press DFU on NRF Connect App.&lt;/p&gt;
&lt;p&gt;My flow is erase flash -&amp;gt; load softdevice s130 2.0.1 -&amp;gt; load secure bootloader&lt;/p&gt;
&lt;p&gt;switch to android NRF Connect:
connect DfuTarg -&amp;gt;press DFU update DFU app_package.zip -&amp;gt; success -&amp;gt; connect buttonless service -&amp;gt; press DFU update DFU app_package.zip -&amp;gt; loop connecting then staring bootloader.&lt;/p&gt;
&lt;p&gt;Is I did something wrong of bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107075?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b230bd46-48c2-405a-b96e-0d4eff6d180a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;There is a bootloader settings section that is missing in the linker script, so if you modify the &lt;code&gt;ble_app_buttonless_dfu_gcc_nrf51.ld&lt;/code&gt; to the following you should be able to get the buttonless example to run.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Linker script to configure memory regions. */

SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)

MEMORY
{
  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x24000
  RAM (rwx) :  ORIGIN = 0x20001ff8, LENGTH = 0x6008
  BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0003F000, LENGTH = 0x1000
}

SECTIONS
{
  .bootloaderSettings(NOLOAD) :
  {

  } &amp;gt; BOOTLOADER_SETTINGS
  
  .fs_data :
  {
    PROVIDE(__start_fs_data = .);
    KEEP(*(.fs_data))
    PROVIDE(__stop_fs_data = .);
  } &amp;gt; RAM
  .pwr_mgmt_data :
  {
    PROVIDE(__start_pwr_mgmt_data = .);
    KEEP(*(.pwr_mgmt_data))
    PROVIDE(__stop_pwr_mgmt_data = .);
  } &amp;gt; RAM
} INSERT AFTER .data;

INCLUDE &amp;quot;nrf5x_common.ld&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107074?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 01:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:543c940f-9df4-4d7b-995e-67a4eda26709</guid><dc:creator>JohnathanLyu</dc:creator><description>&lt;p&gt;Yes, our board has the optional 32kHz crystal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107073?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 14:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fcd65b1-a9f4-4112-bf0a-f2f1a7e130a6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Does your custom board have the optional 32kHz crystal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107072?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 07:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77f7ac7b-02a7-4a3d-ac76-04415e615670</guid><dc:creator>JohnathanLyu</dc:creator><description>&lt;p&gt;I try to edit value. Still not work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107071?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 06:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27c16b7c-a3cd-471c-8923-8a46b51ced8e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you please change it to the values in my comment above and see if that resolves the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107070?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 01:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03cb880b-5c73-4ccf-8519-bcc6efc92938</guid><dc:creator>JohnathanLyu</dc:creator><description>&lt;p&gt;I find different.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RAM (rwx) :  ORIGIN = 0x20001fe8, LENGTH = 0x6018
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But I take a look 12.1.0 linker script is same as 12.3.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.3.0 DFU service not work</title><link>https://devzone.nordicsemi.com/thread/107069?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 13:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0628f802-1df9-4459-9e7c-81233444f8c7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you verify that the RAM section in the linker script (ble_app_buttonless_dfu_gcc_nrf51.ld) is set to the following&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  RAM (rwx) :  ORIGIN = 0x20001ff8, LENGTH = 0x6008
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>