<?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 speed over UART on NCS/Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63500/dfu-speed-over-uart-on-ncs-zephyr</link><description>Hey all, 
 Here&amp;#39;s another question. Many of the examples in the Nordic Connect SDK are rather large. Transferring them with MCUmgr at 115200 BAUD takes sometimes more than a minute. I took a look at how MCUmgr is implemented. It appears it uses the tarm</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Aug 2020 04:20:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63500/dfu-speed-over-uart-on-ncs-zephyr" /><item><title>RE: DFU speed over UART on NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/262885?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 04:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1892c3a0-615a-45f8-b0b1-de42899d8cf6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;I figured out what was going on. By default the bootloader uses &lt;strong&gt;dts.overlay&lt;/strong&gt;&amp;nbsp;In order to include another &lt;strong&gt;.overlay&lt;/strong&gt;&amp;nbsp;file it needs to be added like this:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd ncs/bootloader/mcuboot/boot/zephyr
west build -b circuitdojo_feather_nrf9160 -p -- -DDTC_OVERLAY_FILE=boards/circuitdojo_feather_nrf9160.overlay&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m compiling the bootloader separate and flashing it first. I can then upload application code using&amp;nbsp;&lt;strong&gt;mcumg&lt;/strong&gt;r or&amp;nbsp;&lt;strong&gt;newtmgr.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU speed over UART on NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/260489?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 08:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8418a0b-02a5-4fc9-9edb-850148b129ba</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="jaredwolff"]It does work the other way around (i.e. if I set the BAUD to 1M in the base .dts file and then update it to 115200 in the application)[/quote]
&lt;p&gt;&amp;nbsp;I am not an expert at this, but first setting the bad to 1M and then updating this in the application should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU speed over UART on NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/259991?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 19:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0e519e2-1374-457c-b3b2-bfa8387e4b83</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel Nuguru&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;I got&amp;nbsp;it working at 1M&amp;nbsp;BAUD using pynrfjprog. Speeds are so much faster now!&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now my question is, it seems that my .overlay file in the&amp;nbsp;ncs/bootloader/mcuboot/boot/zephyr/boards directory is not being applied. I want to set the speed to 1M BAUD while leaving the application at 115200. Any thoughts there?&lt;/p&gt;
&lt;p&gt;It does work the other way around (i.e. if I set the BAUD to 1M in the base .dts file and then update it to 115200 in the application) I&amp;#39;m still getting my head around devicetree configuration. Any help is appreciated!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU speed over UART on NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/259101?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 08:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6716927-9ce1-40c1-b38c-223eac5d03d4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;I do not think that any of us have experimented with UART + MCUBoot with higher speeds.&amp;nbsp;&lt;/p&gt;
[quote userid="3604" url="~/f/nordic-q-a/63500/dfu-speed-over-uart-on-ncs-zephyr"] It also seems like there may be some work being done in &lt;em&gt;pynrfjprog&lt;/em&gt;&amp;nbsp;&lt;em&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/em&gt;but no direct developer tools like&amp;nbsp;&lt;em&gt;nrfjprog&amp;nbsp;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;have been updated to use this functionality.[/quote]
&lt;p&gt;You are right, So we need to wait until higher speeds support is officially added in Zephyr. I do not have any timelines for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>