<?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>Power consumption increase when adding MCUBOOT with BT OTA DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109578/power-consumption-increase-when-adding-mcuboot-with-bt-ota-dfu</link><description>Hi, 
 I&amp;#39;m developing a project using nrf52840 SoC and zephyr v2.5.1. 
 I have only added this configurations on my project&amp;#39;s prj.conf: 
 #Enable MCUBOOT bootloader build in the application CONFIG_BOOTLOADER_MCUBOOT=y #Include MCUMGR and the dependencies</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2024 11:46:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109578/power-consumption-increase-when-adding-mcuboot-with-bt-ota-dfu" /><item><title>RE: Power consumption increase when adding MCUBOOT with BT OTA DFU</title><link>https://devzone.nordicsemi.com/thread/475877?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 11:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b26d9167-0e54-41d3-bfb8-78a871a4f987</guid><dc:creator>ananda.nogueira</dc:creator><description>&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div data-message-author-role="assistant" data-message-id="fe7f06b0-7ba3-448b-aee5-4ddd9a69b4c7"&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;It worked, the current consumptions are the same now!&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ananda&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption increase when adding MCUBOOT with BT OTA DFU</title><link>https://devzone.nordicsemi.com/thread/475831?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 08:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3daf463-b85e-4f8b-804e-d3e6cf3655c3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MCUBoot is a &amp;quot;child image&amp;quot;, and the build of child images are defined in the project&amp;#39;s &amp;quot;child_image&amp;quot; folder (you may need to create one). For MCUBoot this is &amp;quot;child_image/mcuboot.conf&amp;quot; and the overlays are in &amp;quot;child_image/mcuboot/boards&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption increase when adding MCUBOOT with BT OTA DFU</title><link>https://devzone.nordicsemi.com/thread/475635?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 12:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6acbe771-acc1-433c-bbff-81b2a74c5e7e</guid><dc:creator>ananda.nogueira</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;When comparing the &lt;strong&gt;build&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;/zephyr/zephyr.dts&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;build/mcuboot/zephyr/zephyr.dts&lt;/strong&gt;&lt;/span&gt; I noticed that there are indeed some differences. Certain features are enabled in mcuboot but disabled in the normal build. These features include: uart0, spi1, pwm0, usbd, qspi and spi3.&lt;/p&gt;
&lt;p&gt;I have an overlay file in wich I disable this modules like this:&lt;/p&gt;
&lt;p&gt;&amp;amp;uart0 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;/p&gt;
&lt;p&gt;};&lt;br /&gt;&amp;amp;spi1 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;br /&gt;&amp;amp;pwm0 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;br /&gt;zephyr_udc0: &amp;amp;usbd {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;br /&gt;&amp;amp;qspi {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;br /&gt;arduino_spi: &amp;amp;spi3 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Can you tell me how to disable these things in mcuboot as well, please?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Ananda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption increase when adding MCUBOOT with BT OTA DFU</title><link>https://devzone.nordicsemi.com/thread/475590?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 10:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a79f158-437c-4710-9f2d-af672e521c19</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Ananda&lt;/p&gt;
&lt;p&gt;Can you compare your &lt;strong&gt;build&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;/zephyr/zephyr.dts&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;build/mcuboot/zephyr/zephyr.dts&lt;/strong&gt; to verify if they are the same? As if they are not set up identically, the MCUBoot might be enabling something that the application does not resulting in this higher current consumption. A normal problem here is that one of the serial instances are enabled by default in the MCUBoot that will result in a current consumption increase similar to what you&amp;#39;re seeing.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>