<?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 for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107338/dfu-for-the-usbd_ble_uart_freertos-based-application-in-nrf5x-sdk-nrf5_sdk_17-1-0_ddde560</link><description>Hi I am about to deploy a product that is based on the usbd_ble_uart_freertos example application in the nrf5x sdk (version nRF5_SDK_17.1.0_ddde560). I want to add capability to it so that I can upgrade the firmware over usb (preferred) or uart. Is it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jan 2024 17:53:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107338/dfu-for-the-usbd_ble_uart_freertos-based-application-in-nrf5x-sdk-nrf5_sdk_17-1-0_ddde560" /><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/465433?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 17:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbceca25-a5bf-46fc-8810-8859fe6fc176</guid><dc:creator>MahendraTailor</dc:creator><description>&lt;p&gt;Thank you for spotting that typo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/465223?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 07:56:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fc30f3d-d85f-4c0b-aa08-a7c923c89bef</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="MahendraTailor"]E:\Temp\NordicDfuTest&amp;gt;nrfutil nrfsdk-tools pkg generate --application app.hex app_dfu_package.zip[/quote]
&lt;p&gt;It&amp;#39;s supposed to be&amp;nbsp;nrf5sdk-tools, not nrfsdk-tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/465192?ContentTypeID=1</link><pubDate>Sun, 21 Jan 2024 10:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f275dc34-f6d3-41c1-96c6-80435b5993e0</guid><dc:creator>MahendraTailor</dc:creator><description>&lt;p&gt;Hi Vidar&lt;br /&gt;Thank you for the information however I am struggling.&lt;br /&gt;&lt;br /&gt;I have&amp;nbsp;&lt;br /&gt;&lt;strong&gt;nrfutil 7.5.0 (063f665 2023-05-11)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;commit-hash: 063f665c8ef5e4d46167077b52d39cf4e66ca24f&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;commit-date: 2023-05-11&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;host: x86_64-pc-windows-msvc&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;build-timestamp: 2023-05-11T07:46:36.6366955Z&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;classification: nrf-external&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Running as per your suggestion I have ..&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;E:\Temp\NordicDfuTest&amp;gt;nrfutil nrfsdk-tools pkg generate --application app.hex app_dfu_package.zip&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Error: nrfutil command `nrfsdk-tools` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Caused by:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; Subcommand nrfutil-nrfsdk-tools.exe not found&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And the following:-&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;E:\Temp\NordicDfuTest&amp;gt;nrfutil list&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Command Version Description&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;nrf5sdk-tools 1.0.1 nRF5 SDK tools that were available in nRF Util 6&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; dfu&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; keys&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; pkg&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; settings&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; zigbee&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Found 1 installed command(s)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Goal: I have created an APP.hex built using the example application &amp;quot;usbd_ble_uart_freertos&amp;quot; and I want to create a dfu package that can be deployed to customers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/464297?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 07:13:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2bab774-b9bb-46d7-8530-a67e15307ffd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Mahendra,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;No problem.&amp;nbsp;Yes, you should use&amp;nbsp;nRF Util to generate the DFU distribution packets, see &amp;#39;&lt;a title="Generating DFU packages" href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_pkg.html?cp=11_8_3"&gt;Generating DFU packages&lt;/a&gt;&amp;#39; for what commands to use. I also recommend taking a look at the getting started guide here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h23sjziacp7vrw0scs2t3tua1ax0426"&gt;&lt;/a&gt;Note: For secure DFU commands in nrfutil version 7.0 or higher, &amp;#39;nrf5sdk-tools&amp;#39; must be specified as the initial command argument.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;E.g.,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfutil &amp;lt;= 6.x.x&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil pkg generate --application app.hex app_dfu_package.zip&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfutil &amp;gt;= v.7.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil nrf5sdk-tools pkg generate --application app.hex app_dfu_package.zip&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/464249?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 16:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb3ff25d-53ee-4065-99a4-ac1c64900128</guid><dc:creator>MahendraTailor</dc:creator><description>&lt;p&gt;Hi Vidar&lt;br /&gt;Thank you for your feedback.&lt;br /&gt;I was able to get to that understanding.&lt;br /&gt;What I am struggling with is &lt;br /&gt;(1) taking my APP.hex and SD.hex and creating a package so that I can feed it into the upgrade process.&lt;br /&gt;(2) what utility do I use to upgrade that implements that process.&lt;br /&gt;&lt;br /&gt;I bet that information is somewhere but I struggling to locate it.&lt;br /&gt;I know nrfutil is involved but not how.&lt;br /&gt;&lt;br /&gt;Kind regards&lt;br /&gt;Mahendra&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/464140?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 10:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5ddca6c-fd68-49a8-b240-2aaade224727</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Mahendra,&lt;/p&gt;
&lt;p&gt;It is possible to perform DFU over USB within the bootloader&amp;nbsp;if you&amp;nbsp;use the /examples/dfu/secure_bootloader/pca10056_usb example &lt;span&gt;&amp;nbsp;(&lt;/span&gt;&lt;a title="Secure DFU Bootloader over Serial Link (UART/USB)" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html?cp=9_1_4_4_4"&gt;Secure DFU Bootloader over Serial Link (UART/USB)&lt;/a&gt;. DFU can be&amp;nbsp;performed via the bootloader without involvement from the application. The only requirement is to have a mechanism in place for resetting the device into bootloader DFU mode. This can be achieved by&amp;nbsp;having the application set the &amp;#39;DFU enter&amp;#39; flag in the GPREGRET register followed by a soft reset, or by assigning a button that triggers the bootloader to enter DFU mode upon startup.&lt;/p&gt;
&lt;p&gt;There are several methods to signal the bootloader to enter DFU mode following a reset. You can find an overview of the different available methods by searching for NRF_BL_DFU_ENTER_METHOD_ in the bootloader&amp;#39;s sdk_config.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/464031?ContentTypeID=1</link><pubDate>Sat, 13 Jan 2024 02:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a92a3d5-28f1-45fa-91be-5a4e8ff954d2</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The DFU is a separate firmware that is flashed at the end of the Program Flash. &amp;nbsp;No extra work in application firmware except if you want it to be able to boot into DFU directly or use Nordic DFU ble service.&lt;/p&gt;
&lt;p&gt;Send me PM for paid services. &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/463958?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 11:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e046ade9-dc8f-4a05-bbe7-896e86150cc0</guid><dc:creator>MahendraTailor</dc:creator><description>&lt;p&gt;Magic. Thank you for the suggestion. However quick glance there is no further documentation regarding how to integrate my usdb_ble_uart_freertos application on top of that.&lt;br /&gt;&lt;br /&gt;Or is it the case that the DFU application will be loaded at the top of the flash and so there is nothing extra I need to add to my application?&lt;br /&gt;&lt;br /&gt;Offer still on table for paid help :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU for the usbd_ble_uart_freertos based application in nrf5x sdk (nRF5_SDK_17.1.0_ddde560)</title><link>https://devzone.nordicsemi.com/thread/463955?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 10:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc08876b-20a7-4514-bbf7-0ddf98f03b2b</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;look in the examples/dfu of your SDK folder&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>