<?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>uart DFU in mcuboot bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83161/uart-dfu-in-mcuboot-bootloader</link><description>We plan to use nRF52840 in our new project. But the application is likely to be larger than 500 Kbytes 
 So we are going to use the only one Bank flash for DFU as in following screen shot . 
 
 
 This means that we need to do UART DFU in mcuboot bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Dec 2021 08:09:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83161/uart-dfu-in-mcuboot-bootloader" /><item><title>RE: uart DFU in mcuboot bootloader</title><link>https://devzone.nordicsemi.com/thread/345321?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 08:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21d5c539-3e15-4e71-aa9d-f27c81efd42c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you want to know exactly how mcumgr works, see the source code: &lt;a href="https://github.com/zephyrproject-rtos/mcumgr,"&gt;https://github.com/zephyrproject-rtos/mcumgr&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;customize the uart protocol&amp;quot;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart DFU in mcuboot bootloader</title><link>https://devzone.nordicsemi.com/thread/345302?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 03:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1ae047f-b671-48e0-8b1c-c9906def7cb0</guid><dc:creator>sixuanlu&amp;amp;sky</dc:creator><description>&lt;p&gt;Hi Sigurd&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;in our solution we need to customize our uart protocol, so that we can fetch the image file from the&amp;nbsp; modem module properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I use mcumgr to upload image file , the command is as following&lt;/p&gt;
&lt;p&gt;mcumgr --conntype=serial --connstring=COM14 image upload build/zephyr/app_update.bin&lt;/p&gt;
&lt;p&gt;what&amp;#39;s protocol is the uart communication using ? How is the image data sending&amp;nbsp; by uart ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Sky Lu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart DFU in mcuboot bootloader</title><link>https://devzone.nordicsemi.com/thread/345193?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 08:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717cb787-3e9c-4997-b1ff-34f929e731ea</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP server sample&lt;/a&gt; showcases how MCUBoot can be used with mcumgr. In this sample you can choose between different protocols for DFU, one of which is UART.&lt;/p&gt;
&lt;p&gt;For documentation on MCUBoot, see our pages on &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/nrf/app_bootloaders.html?highlight=device%20firmware%20upgrade"&gt;Bootloaders and Device Firmware Updates&lt;/a&gt; as well as &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.1/mcuboot/wrapper.html"&gt;MCUboot documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you have any questions to the documentation or face any issues, let us know, and we will help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>