<?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>DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57144/dfu</link><description>Hi, I am developing the application in nRF52832 with SDK_16 in SES. 
 I have a problem with DFU 
 I need to run the application and DFU has to be activate only if the mobile application gives permission 
 I have seen that Two method in DFU 
 Button DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Feb 2020 07:44:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57144/dfu" /><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/234317?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 07:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e8606cc-2ef5-46a6-8a31-ea3cb761df52</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;See&amp;nbsp;&lt;a title="Bootloader Settings page" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader.html?cp=7_1_3_5_0_0#lib_bootloader_settings_page"&gt;Bootloader Settings page&lt;/a&gt;&amp;nbsp;in our documentation. It basically contains information that tells the bootloader if there is a valid application and softdevice present in addition to the&amp;nbsp;progress of the firmware update and the progress of the firmware activation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/234306?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 05:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bde376c-9b04-4cb8-a5f8-c92cf3fc4423</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;can you tell what is the role of BLE settings&amp;nbsp; bl_settings &lt;/p&gt;
&lt;p&gt;why need to create the bl_settings.hex hex file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/234275?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 19:08:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e94614-9f49-4545-8309-93d794a02830</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;See the&amp;nbsp;Firmware version section under&amp;nbsp;&lt;a title="Acceptance rules for versions" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader_dfu_validation.html?cp=7_1_3_5_1_1_2_1#lib_bootloader_dfu_init_validation_acceptance_rules"&gt;Acceptance rules for versions&lt;/a&gt;&amp;nbsp;in our Bootloader documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/234193?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 13:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb2ae4c0-f174-4421-89ad-4462e7db7480</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;I have a doubt that&lt;/p&gt;
&lt;p&gt;i have run the application with SDK_15.3 and respective SD.&lt;/p&gt;
&lt;p&gt;now i need to change it to SDK_16.0 with respective SD.&lt;/p&gt;
&lt;p&gt;through DFU&lt;/p&gt;
&lt;p&gt;How can i do&lt;/p&gt;
&lt;p&gt;i have refer this &lt;a href="https://www.pureengineering.com/puremodules/dfu"&gt;link &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;got error like this&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1581600977068v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/233742?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 12:53:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ff9a1da-250b-4492-9cfc-5571cf453c76</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Its --bl-settings-version, not --ble-settings-version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/233724?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 12:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e7c0260-40ca-4bba-b8ac-44a0de4ee4a4</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to implement BLE_UART_DFU.&lt;/p&gt;
&lt;p&gt;in process i got stuck in nrfutil settings generate.&lt;/p&gt;
&lt;p&gt;I am using SDK_16&lt;/p&gt;
&lt;p&gt;but in settings generate is upto SDK_15.3.0. i am using nrfutil 6.0.1&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;D:\HEXFILE&amp;gt;nrfutil settings generate --help
Usage: nrfutil settings generate [OPTIONS] HEX_FILE

Options:
  --family [NRF51|NRF52|NRF52QFAB|NRF52810|NRF52840]
                                  nRF IC family: NRF51 or NRF52 or NRF52QFAB
                                  or NRF52810 or NRF52840  [required]
  --application TEXT              The application firmware file. This can be
                                  omitted ifthe target IC does not contain an
                                  application in flash.Requires --application-
                                  version or --application-version-string.
  --application-version INTEGER   The application version.
  --application-version-string TEXT
                                  The application version string, e.g.
                                  &amp;quot;2.7.31&amp;quot;. Will be converted to an integer,
                                  e.g. 207031.
  --bootloader-version INTEGER    The bootloader version.  [required]
  --bl-settings-version INTEGER   The Bootloader settings version.Defined in
                                  nrf_dfu_types.h, the following apply to
                                  released SDKs:
                                  |SDK12.0.0 - SDK15.2.0|1|
                                  |SDK15.3.0 -          |2|  [required]
  --start-address INTEGER         Custom start address for the settings page.
                                  If not specified, then the last page of the
                                  flash is used.
  --no-backup                     Do not overwrite DFU settings backup page.
                                  If not specified, than the resulting .hex
                                  file will contain a copy of DFU settings,
                                  that will overwrite contents of DFU settings
                                  backup page.
  --backup-address INTEGER        Address of the DFU settings backup page
                                  inside flash. By default, the backup page
                                  address is placed one page below DFU
                                  settings. The value is precalculated based
                                  on configured settings address
                                  (&amp;lt;DFU_settings_address&amp;gt; - 0x1000).
  --app-boot-validation [NO_VALIDATION|VALIDATE_GENERATED_CRC|VALIDATE_GENERATED_SHA256|VALIDATE_ECDSA_P256_SHA256]
                                  The method of boot validation for
                                  application.
  --sd-boot-validation [NO_VALIDATION|VALIDATE_GENERATED_CRC|VALIDATE_GENERATED_SHA256|VALIDATE_ECDSA_P256_SHA256]
                                  The method of boot validation for
                                  SoftDevice.
  --softdevice FILE               The SoftDevice firmware file. Must be given
                                  if SD Boot Validation is used.
  --key-file FILE                 The private (signing) key in PEM format.
                                  Needed for ECDSA Boot Validation.
  --help                          Show this message and exit.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;D:\HEXFILE&amp;gt;nrfutil settings generate --family NRF52 --application ble_app_uart_dfu.hex --application-version 0 --bootloader-version 0 --ble-settings-version 2 bl_setting.hex
Usage: nrfutil settings generate [OPTIONS] HEX_FILE
Try &amp;quot;nrfutil settings generate --help&amp;quot; for help.

Error: no such option: --ble-settings-version&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/232839?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 12:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c2cef3-b8fd-4c66-bcb6-9fd623075456</guid><dc:creator>bjorn-spockeli</dc:creator><description>[quote user="Sunil vignesh"]If the device is Fitness tracker (Health care product) which one you suggest&amp;nbsp; Button DFU or Buttonless DFU&amp;nbsp; or Background DFU.[/quote]
&lt;p&gt;&amp;nbsp;I would recommend the Buttonless DFU solution.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="Sunil vignesh"][/quote]&lt;/p&gt;
&lt;p&gt;I tried to implement Buttonless DFU to BLE_UART or BLE_Blinky&amp;nbsp; it has build but the problem&lt;/p&gt;
&lt;p&gt;But after successive upload into the device it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you provide a detailed description on how you added the DFU service to the &lt;span&gt;BLE_UART and BLE_Blinky applications? By upload to you mean flashing the application code with the DFU service added ? Or do you mean that you were able to perform DFU, but the application did not start after the DFU finished?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If its the latter, then please provide the log output from the bootloader ( make sure that you use the debug version of the bootloader in our SDK) as well as the logs from the nRF Connect mobile app if you are using this to perform the update.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/232647?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 15:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3ef0112-4ba9-4b36-a9b1-1c341ec435d1</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Bjorn are you there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/232291?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 11:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ee4bc2f-f93b-446a-a25f-9db954e3d554</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i need your opinion that, i need to do DFU&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Button DFU - Works, but the problem is after sleep when it wake up with button press it enter into DFU mode (note: device has one button)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Buttonless DFU and Background DFU as different means . and code reference for background DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the device is Fitness tracker (Health care product) which one you suggest&amp;nbsp; Button DFU or Buttonless DFU&amp;nbsp; or Background DFU.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to implement Buttonless DFU to BLE_UART or BLE_Blinky&amp;nbsp; it has build but the problem&lt;/p&gt;
&lt;p&gt;But after successive upload into the device it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;do you have any BLE_UART_DFU code (buttonless)&amp;nbsp; reference .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU</title><link>https://devzone.nordicsemi.com/thread/231813?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 09:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e7ade2d-ff75-47a7-85e8-7f39057bae01</guid><dc:creator>bjorn-spockeli</dc:creator><description>[quote user=""]Is Buttonless DFU as same as Background DFU or both are different[/quote]
&lt;p&gt;&amp;nbsp;Buttonless DFU means that you can trigger the nRF52xxx device to enter bootloader mode by writting to one of the characteristics in the DFU service. The nRF52xxx will then reset into the bootloader and&amp;nbsp; the bootloader that receives the new firmware image and when the entire image is received it will replace the old image with the new one. In other words, the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Background DFU is different. Here its the application that receives the new firmware image while it is continuing to perform the regular application tasks. Once the entire firmware image has been received the nRF52xxx will reset into bootloader mode and replace the old application with the new one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So the main difference is that with regular buttonless DFU the device will not function as &amp;quot;normal&amp;quot; when the firmware image is being received, but if the update is done in the background in the application, i.e. Background DFU, then the only downtime will be the time it takes to replace the old application with the new one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;I have done Button DFU.&lt;/p&gt;
&lt;p&gt;But while running Buttonless DFU for my application. the application doesn&amp;#39;t work. i don&amp;#39;t know how to debug my application&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you using the _debug version of the bootloader as suggested by my colleague in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/51844/ble_app_buttonless_dfu-my-application"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/51844/ble_app_buttonless_dfu-my-application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please describe in detail what that is not working with your application.&amp;nbsp;Are you not able to perform DFU? Doesnt the nRF52xxx device enter the bootloader when you write to the DFU characteristic? Do you get an error when you try to perform DFU?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>