<?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>OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126667/ota-over-ble-same-version-update-issue</link><description>Hello, 
 I am using nRF52833 with nrf connect sdk for vs code (SDK and Toolchain version : 2.9.1). 
 Hello Nordic Team, 
 I am using OTA DFU with MCUboot on the nRF Connect SDK (v2.9.0) in a no-sysbuild setup. OTA DFU is working correctly for downgrade</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 25 Jan 2026 07:58:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126667/ota-over-ble-same-version-update-issue" /><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559505?ContentTypeID=1</link><pubDate>Sun, 25 Jan 2026 07:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85ae11e9-182a-409d-94dd-08d5a00af587</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p data-start="32" data-end="43"&gt;Hello Team,&lt;/p&gt;
&lt;p data-start="45" data-end="169"&gt;I am using an nRF52833 custom board with a no-sysbuild configuration. For OTA updates, I am creating an &lt;code data-start="149" data-end="163"&gt;mcuboot.conf&lt;/code&gt; file.&lt;/p&gt;
&lt;p data-start="171" data-end="188"&gt;&lt;strong data-start="171" data-end="188"&gt;mcuboot.conf:&lt;/strong&gt;&lt;/p&gt;
&lt;p data-start="171" data-end="188"&gt;&lt;strong data-start="171" data-end="188"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y&lt;br /&gt;CONFIG_BOOT_SIGNATURE_KEY_FILE=&amp;quot;C:/Users/Embel/ibeacon_2/mcuboot_priv.pem&amp;quot;&lt;/p&gt;
&lt;p&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/p&gt;
&lt;p&gt;# This file configures the MCUboot bootloader specifically&lt;br /&gt;CONFIG_MCUBOOT_DOWNGRADE_PREVENTION=y&lt;br /&gt;CONFIG_BOOT_UPGRADE_ONLY=y&lt;br /&gt;CONFIG_BOOT_SWAP_USING_MOVE=n&lt;/p&gt;
&lt;p&gt;# Logging&lt;br /&gt;CONFIG_LOG=y&lt;br /&gt;CONFIG_MCUBOOT_LOG_LEVEL_INF=y&lt;/p&gt;
&lt;p&gt;# Serial recovery over UART&lt;br /&gt;CONFIG_MCUBOOT_SERIAL=y&lt;br /&gt;CONFIG_BOOT_SERIAL_UART=y&lt;br /&gt;CONFIG_UART_CONSOLE=n&lt;/p&gt;
&lt;p&gt;CONFIG_LOG_MODE_IMMEDIATE=y&lt;/p&gt;
&lt;p&gt;CONFIG_LOG_BACKEND_UART=y&lt;br /&gt;CONFIG_UART_CONSOLE=y&lt;br /&gt;CONFIG_BOOT_SERIAL=y&lt;br /&gt;CONFIG_BOOT_SERIAL_ENTRANCE_MODE_ALWAYS=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;prj.conf:&lt;/p&gt;
&lt;p&gt;# Enable MCUboot bootloader&lt;br /&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;/p&gt;
&lt;p&gt;# BLE DFU via MCUmgr (recommended helper)&lt;br /&gt;CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y&lt;/p&gt;
&lt;p&gt;# Optional: speed up DFU (automatically extends BT buffers &amp;amp; data length)&lt;br /&gt;CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP=y&lt;/p&gt;
&lt;p&gt;# 32 kHz RC oscillator&lt;br /&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/p&gt;
&lt;p&gt;CONFIG_BT=y&lt;br /&gt;CONFIG_BT_PERIPHERAL=y&lt;br /&gt;CONFIG_BT_DEVICE_NAME=&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;# Flash support (required for MCUboot / DFU)&lt;br /&gt;CONFIG_FLASH=y&lt;br /&gt;CONFIG_FLASH_PAGE_LAYOUT=y&lt;br /&gt;CONFIG_FLASH_MAP=y&lt;/p&gt;
&lt;p&gt;CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION=&amp;quot;1.1.6+0&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559499?ContentTypeID=1</link><pubDate>Sat, 24 Jan 2026 18:34:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb738755-a41f-445a-9e12-a391feed4bd5</guid><dc:creator>Rohit15</dc:creator><description>&lt;p style="text-align:center;"&gt;&amp;nbsp;I am use nrf52833&amp;nbsp; custome board board no sysbuild configuration I am use in ota I am creating mcuboot.conf insidI am using an nRF52833 custom board with a no-sysbuild configuration. For OTA updates, I am creating an mcuboot.conf file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559493?ContentTypeID=1</link><pubDate>Sat, 24 Jan 2026 13:22:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aab9431c-93fd-4927-9ef2-ca743fe5af71</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;On what hardware? I don&amp;#39;t see a board specification in your post.&lt;/p&gt;
&lt;p&gt;DK boards have UART console on by default in the sample codes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559492?ContentTypeID=1</link><pubDate>Sat, 24 Jan 2026 12:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30881a22-6261-4eb0-854d-4f182a15a4ab</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p data-start="62" data-end="74"&gt;Hello Terje,&lt;/p&gt;
&lt;p data-start="76" data-end="108"&gt;Thank you for the clarification.&lt;/p&gt;
&lt;p&gt;I want to see the bootloader and application logs over UART console . What configurations do I need to enable? Can you please provide the required configuration&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br data-start="617" data-end="620" /&gt;Embel_Tech&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559475?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 13:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83859c4d-b9ef-4b06-8a04-bba2738a0347</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry, but there are no configurations for adding such functionality. You would have to dive into he source code and change it manually. However I highly advice against doing so, because you might just as easily inadvertently introduce new security issues.&lt;/p&gt;
&lt;p&gt;A fundamental assumption regarding versioning and upgrades, is that you give different images different version numbers. Our current implementations seem to require that assumption to hold. Is this not a safe assumption for your project?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559425?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 05:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fbcbd4f-9665-46ce-818b-7ceb5f597803</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;&amp;quot;If I don&amp;rsquo;t want the same version to be accepted during OTA, what additional configuration do I need to enable or add?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i don&amp;#39;t want same version accepted&amp;nbsp;&amp;nbsp;&lt;span&gt;CONFIG_BOOT_VERSION_CMP_USE_BUILD_NUMBER i enable this&amp;nbsp;configuration &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA over BLE Same Version Update Issue</title><link>https://devzone.nordicsemi.com/thread/559397?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 17:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:401322c0-581a-4401-a5b7-7e7a41c1627d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The behavior that you observe is in line with the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_downgrade_protection.html"&gt;Downgrade protection&lt;/a&gt; documentation for MCUboot:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;After you upload a new image and reset the development kit, MCUboot attempts to boot the secondary image. If this image has, in order of precedence, a &lt;em&gt;major&lt;/em&gt;, &lt;em&gt;minor&lt;/em&gt;, or &lt;em&gt;revision&lt;/em&gt; value that is lower than the primary application image, it is considered invalid and the existing primary application boots instead.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In other words, only lower version numbers are rejected. Equal or greater version numbers will be accepted.&lt;/p&gt;
&lt;p&gt;Please note that by default the check is on major, minor and revision (patch) numbers, not tweak. If you also want to check for the optional tweak number, you need to enable CONFIG_BOOT_VERSION_CMP_USE_BUILD_NUMBER in the MCUboot image.&lt;/p&gt;
&lt;p&gt;As you have already found out, an upgrade to an identical image is skipped. The only way for an upgrade to the same version to happen, is therefore if you create two different images but with the same version. The protection against same-version upgrades between different images, is therefore that you never make such images with identical version in the first place. If you do make such images, then it will be possible to upgrade between them. If that is not your intended behavior, then simply do not make such images.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>