<?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>Not able to do firmware update using MCUBOOT over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76965/not-able-to-do-firmware-update-using-mcuboot-over-uart</link><description>Hi Team, 
 
 I am trying to perform firmware update of nrf52840DK using MCUBOOT bootloader over UART. I have followed the link: https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/device-firmware-update-dfu-with-mcuboot-bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Jul 2021 11:58:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76965/not-able-to-do-firmware-update-using-mcuboot-over-uart" /><item><title>RE: Not able to do firmware update using MCUBOOT over UART</title><link>https://devzone.nordicsemi.com/thread/319153?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 11:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4bf62e4-402e-4897-b8ac-f255b8c6bba4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you p&lt;/span&gt;&lt;span&gt;ut the DK into MCUBoot’s DFU mode b&lt;/span&gt;&lt;span&gt;y pressing the reset button on the DK while holding down Button 1 on the DK?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Maybe you could try this&amp;nbsp;uart_log_recovery.conf with ncs v1.4.0.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7c544709d148464396f9e378b123731c/uart_5F00_log_5F00_recovery.conf"&gt;devzone.nordicsemi.com/.../uart_5F00_log_5F00_recovery.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=y

# The build won&amp;#39;t fit on the partition allocated for it without size
# optimizations.
CONFIG_SIZE_OPTIMIZATIONS=y

# Serial
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=n
CONFIG_UART_LINE_CTRL=y

# MCUBoot serial
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_UART=y

CONFIG_LOG_BACKEND_UART=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_RTT_TX_RETRY_CNT=2
CONFIG_RTT_TX_RETRY_DELAY_MS=2

CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;My colleague also uploaded the solution with NCS 1.6.0 to the &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/device-firmware-update-dfu-with-mcuboot-bootloader?CommentId=c963d7c6-b8e2-40f7-a48e-daf00a826fe6"&gt;blog&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>