<?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>MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112379/mcumgr-remote-firmware-update</link><description>| Host | &amp;lt;---- UART ----&amp;gt; | nRF52833 (central) | &amp;lt;-- BLE--&amp;gt; | nRF52833 (Target) | 
 I have a requirement where I hope to update the central&amp;#39;s firmware image through the Host . However, I also want the Host to be able to update the firmware image of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2024 06:39:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112379/mcumgr-remote-firmware-update" /><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/497725?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 06:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eb96546-d124-4e60-8491-d6ab8c701f42</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, it is recommended to enable HW byte counting to prevent data loss:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/9e30235cce8e4b5df694d1f7689d7378ec8329cf/drivers/serial/Kconfig.nrfx_uart_instance#L52"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/9e30235cce8e4b5df694d1f7689d7378ec8329cf/drivers/serial/Kconfig.nrfx_uart_instance#L52&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/497392?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 23:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f87673d-becf-46f5-933d-04f57626dd87</guid><dc:creator>AngusKu</dc:creator><description>&lt;p&gt;It seems that the software counting has bugs. &lt;br /&gt;Do you suggest that I use hardware counting by modifying the &lt;code&gt;prj.conf&lt;/code&gt; file as shown below?&lt;/p&gt;
&lt;ul class="p-rich_text_list p-rich_text_list__bullet" data-stringify-type="unordered-list" data-indent="0" data-border="0"&gt;
&lt;li data-stringify-indent="0" data-stringify-border="0"&gt;CONFIG_UART_0_NRF_HW_ASYNC_TIMER=1&lt;/li&gt;
&lt;li data-stringify-indent="0" data-stringify-border="0"&gt;CONFIG_UART_0_NRF_HW_ASYNC=y&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Others have encountered the same issue and have discussed it &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104146/zephyr-2-4-0-with-async-uart/449240"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A similar problem has also been raised on GitHub.&lt;br /&gt;&lt;a class="c-link" href="https://github.com/zephyrproject-rtos/zephyr/issues/49021" rel="noopener noreferrer" target="_blank" data-stringify-link="https://github.com/zephyrproject-rtos/zephyr/issues/49021" data-sk="tooltip_parent"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/49021&lt;/a&gt;&lt;br /&gt;&lt;a class="c-link" href="https://github.com/zephyrproject-rtos/zephyr/pull/24209" rel="noopener noreferrer" target="_blank" data-stringify-link="https://github.com/zephyrproject-rtos/zephyr/pull/24209" data-sk="tooltip_parent"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/24209&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/492351?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 05:27:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a9b270-113c-42ee-b86f-ab5ba0ec67b7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;This setting allows you to&amp;nbsp;use the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/hardware/peripherals/uart.html#uart-async-api"&gt;&lt;span&gt;Asynchronous API&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;instead of the&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/hardware/peripherals/uart.html#uart-interrupt-api"&gt;&lt;span&gt;Interrupt-driven API&lt;/span&gt;&lt;/a&gt;&amp;nbsp;in the mcumgr driver. The async UART driver provides better utilization of the DMA feature at the cost of increased memory usage. It can make the data reception more reliable when you don&amp;#39;t use hardware flow control.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/492340?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 22:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1109eea-e281-41b8-8be2-765d161cdfbf</guid><dc:creator>AngusKu</dc:creator><description>&lt;p&gt;Thanks for sharing this information.&lt;br /&gt;&lt;br /&gt;Due to our need for relay functionality, &lt;br /&gt;I&amp;nbsp;have been recently referencing the &lt;em&gt;uart_mcumgr.c&lt;/em&gt; implementation in the Nordic Zephyr SDK.&lt;/p&gt;
&lt;p&gt;I would like to ask under what circumstances one would choose the &lt;strong&gt;CONFIG_MCUMGR_SMP_UART_ASYNC&lt;/strong&gt; option?&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/491983?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 07:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66dfce71-a0af-482a-95ab-5f89302fe96a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You will get a image upload response for each chunk of data you send through the image upload request command:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/smp_groups/smp_group_1.html#image_upload_response"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/smp_groups/smp_group_1.html#image_upload_response&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/491949?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 03:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77f23562-c760-4d83-baa1-04af5fbfc7e2</guid><dc:creator>AngusKu</dc:creator><description>&lt;p&gt;&lt;span&gt;I would like to ask a question about the DFU SMP service.&lt;br /&gt;&lt;br /&gt;In &lt;em&gt;dfu_smp.c&lt;/em&gt; ,&lt;br /&gt;Why does&amp;nbsp;&lt;strong&gt;bt_dfu_smp_command&lt;/strong&gt; invokes&amp;nbsp;&lt;strong&gt;bt_gatt_write_without_response&lt;/strong&gt; ?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;	/* Send request */
	ret = bt_gatt_write_without_response(dfu_smp-&amp;gt;conn,
					     dfu_smp-&amp;gt;handles.smp,
					     cmd_data,
					     cmd_size,
					     false);
	if (ret) {
		dfu_smp-&amp;gt;cbs.rsp_part = NULL;
	}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;How can we ensure that the SMP server receives every data packet sent by the Central during image upload?&lt;/span&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:9px;position:absolute;top:8px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/491472?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 06:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c9d932-6731-4544-bcb5-4a2cf7c3edcb</guid><dc:creator>AngusKu</dc:creator><description>&lt;p&gt;Thanks for sharing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/491345?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 13:11:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:391b60cf-c9b6-405b-8854-894cc0e50921</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I think you can use this demo sample as a starting point:&amp;nbsp;&lt;a id="" href="https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu"&gt;https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/490617?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 12:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304885c6-b832-4484-b83f-f751dce869e7</guid><dc:creator>AngusKu</dc:creator><description>&lt;div class="flex-1 overflow-hidden"&gt;
&lt;div class="h-full"&gt;
&lt;div class="react-scroll-to-bottom--css-ohshx-79elbk h-full"&gt;
&lt;div class="react-scroll-to-bottom--css-ohshx-1n7m0yu"&gt;
&lt;div class="flex flex-col text-sm md:pb-9"&gt;
&lt;div class="w-full text-token-text-primary" dir="auto" data-testid="conversation-turn-7" data-scroll-anchor="true"&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class="group/conversation-turn relative flex w-full min-w-0 flex-col agent-turn"&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="afc4b163-454d-4553-a44d-c6f8734fcb9a"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p&gt;Since the host chip does not have BT functionality, it is connected to the central via a serial port. We thought we could use mcumgr for updates directly.&lt;/p&gt;
&lt;p&gt;Currently, we are temporarily using the PC as the Host to facilitate our development.&lt;/p&gt;
&lt;p&gt;The target and central are connected via BLE, and we plan for the central to handle the firmware updates for the target.&lt;/p&gt;
&lt;p&gt;I was thinking to first transfer the target&amp;#39;s firmware to the central&amp;#39;s flash, and then have the central handle the firmware update for the target. Does this mean that the host chip, as well as the central and target, all need to be configured with mcumgr?&lt;/p&gt;
&lt;p&gt;All programs on the host, central, and target are using Nordic&amp;#39;s Zephyr project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you provide any example programs for this architecture?&lt;/p&gt;
&lt;p&gt;Is it reasonable to extend a mgnt ID to determine firmware updates as a solution?&amp;quot;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="mt-1 flex gap-3 empty:hidden juice:-ml-3"&gt;
&lt;div class="items-center justify-start rounded-xl p-1 flex"&gt;
&lt;div class="flex items-center"&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" data-state="closed"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div class="flex"&gt;Since we are not very familiar with your SDK, could you please provide any recommendations regarding this requirement?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/490589?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 11:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5b2a32a-b290-4e3d-9636-b23f8cc81a1d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It sounds like a simpler approach would be to just update the central and peripheral separately from your PC. Auterm (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/mcumgr.html#toolslibraries"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/mcumgr.html#toolslibraries&lt;/a&gt;) supports BLE on Windows, not just Linux, like mcumgr.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/490566?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 10:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62979ce9-133e-44c5-8237-081ea932de9d</guid><dc:creator>AngusKu</dc:creator><description>&lt;p&gt;It will be the other nordic chip and connect to central by serial port (Uart)&lt;/p&gt;
&lt;p&gt;For now, The host is that We ran a mcumgr command line tool on PC to send the central board and target board image.&lt;/p&gt;
&lt;p&gt;Currently, we want to use the mcumgr on the PC to facilitate the development of the BLE firmware update feature between the central and target.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/490563?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:59:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5972acd-9962-4cbd-88c6-2fda017dfddb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;What is the host in this case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/490550?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fcb6823-37c6-4ba8-bf52-dbfbb7a01d9e</guid><dc:creator>AngusKu</dc:creator><description>&lt;p&gt;Thanks for information.&lt;/p&gt;
&lt;p&gt;The target which needs to be updated by Central and the image is from Host.&lt;/p&gt;
&lt;p&gt;Have any suggestions for it? For now, I am looking the smp_svr sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was thinking that I have to enable the mcumgr at central and traget both. And maybe I have to create a proprietary mgnt command at central for forwarding the image to target.&lt;/p&gt;
&lt;p&gt;Could you please give me some comments for the thought or maybe it isn&amp;#39;t a good idea.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUMGR remote firmware update</title><link>https://devzone.nordicsemi.com/thread/490540?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 09:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e89ae805-1775-4a72-890a-b66c1fe04a6d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can integrate the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/libraries/bluetooth_services/services/dfu_smp.html"&gt;GATT DFU SMP Service Client&lt;/a&gt;&amp;nbsp;on your GAP central as demonstrated by the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/samples/bluetooth/central_smp_client/README.html#bluetooth-central-dfu-smp"&gt;Bluetooth: Central SMP Client&lt;/a&gt;&amp;nbsp;sample. Unfortunately, there are not official samples that implements DFU support. You may have a look at this example for that:&amp;nbsp;&lt;a href="https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu"&gt;https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfu&lt;/a&gt;&amp;nbsp;&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></channel></rss>