<?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>External OTA related issue (SPI + External Flash + OTA)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128291/external-ota-related-issue-spi-external-flash-ota</link><description>Hi Team, 
 I am working on OTA using an external Winbond flash IC (W25Q64) with the nRF52832 controller in NCS SDK version 2.9.2. I have completed all the required configurations, but I am still facing errors during the OTA process. 
 Currently, I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jun 2026 16:20:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128291/external-ota-related-issue-spi-external-flash-ota" /><item><title>RE: External OTA related issue (SPI + External Flash + OTA)</title><link>https://devzone.nordicsemi.com/thread/567856?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2026 16:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fe51b66-c041-4fc0-8224-b2d6c773c4f7</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Rohit,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s good that sample works after adding anomaly-58 workaround. I am not fully cleat though how it helps. Because this error&amp;nbsp;&lt;em&gt;&lt;code dir="ltr"&gt;Failed to open flash area ID 1 (image 0 slot 1): -19&lt;/code&gt;&amp;nbsp;&amp;nbsp;&lt;/em&gt;is related to mcuboot partition.&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&lt;span&gt;I have one question: Is it possible for the DFU service and DFU logo to be visible only when the user chooses to perform a firmware update? Otherwise, the DFU service and logo should remain hidden.&amp;#39;&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think this previous case&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/127169/smp-dfu-service-enabling-disabling---can-i-set-the-default-in-kconfig?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;(+) SMP (DFU) service enabling/disabling - can I set the default in kconfig? - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;&amp;nbsp;is relevant to find the answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kazi&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External OTA related issue (SPI + External Flash + OTA)</title><link>https://devzone.nordicsemi.com/thread/567538?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2026 11:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da3ec9a0-34ec-4c3a-9ab2-91a9f4106686</guid><dc:creator>Rohit15</dc:creator><description>&lt;p class="isSelectedEnd"&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p class="isSelectedEnd"&gt;&lt;span&gt;It is working after adding &lt;/span&gt;&lt;code dir="ltr"&gt;&lt;span&gt;anomaly-58-workaround;&lt;/span&gt;&lt;/code&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have one question: Is it possible for the DFU service and DFU logo to be visible only when the user chooses to perform a firmware update? Otherwise, the DFU service and logo should remain hidden.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohit&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External OTA related issue (SPI + External Flash + OTA)</title><link>https://devzone.nordicsemi.com/thread/567246?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2026 07:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4afe253d-3331-47c2-ab9e-b5aa95651446</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you have sysbuild.conf?&lt;/p&gt;
&lt;p&gt;You should have the following in the sysbuild.conf file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SB_CONFIG_BOOTLOADER_MCUBOOT=y
SB_CONFIG_PARTITION_MANAGER=y
SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
SB_CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;-19&lt;/code&gt;&lt;span&gt;&amp;nbsp;(&lt;/span&gt;&lt;code dir="ltr"&gt;ENODEV&lt;/code&gt;&lt;span&gt;) error at runtime almost certainly means the&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;W25Q64 device node is not visible to MCUboot.&lt;/p&gt;
&lt;p&gt;The size of the flash is also not correct in the overlay file. You can try the following overlay (sysbuild/mcuboot.overlay). The SPI configuration from the main dts file should also be included in the sysbuild mcuboot overlay.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
    spi0_default: spi0_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(SPIM_SCK,  0, 30)&amp;gt;,
                    &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 29)&amp;gt;,
                    &amp;lt;NRF_PSEL(SPIM_MISO, 0, 27)&amp;gt;;
        };
    };
    spi0_sleep: spi0_sleep {
        group1 {
            psels = &amp;lt;NRF_PSEL(SPIM_SCK,  0, 30)&amp;gt;,
                    &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 29)&amp;gt;,
                    &amp;lt;NRF_PSEL(SPIM_MISO, 0, 27)&amp;gt;;
            low-power-enable;
        };
    };
};

&amp;amp;spi0 {
    status = &amp;quot;okay&amp;quot;;
    compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
    pinctrl-0 = &amp;lt;&amp;amp;spi0_default&amp;gt;;
    pinctrl-1 = &amp;lt;&amp;amp;spi0_sleep&amp;gt;;
    pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
    cs-gpios = &amp;lt;&amp;amp;gpio0 26 GPIO_ACTIVE_LOW&amp;gt;;

    w25q64: w25q64@0 {
        compatible = &amp;quot;jedec,spi-nor&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        status = &amp;quot;okay&amp;quot;;
        spi-max-frequency = &amp;lt;8000000&amp;gt;;
        jedec-id = [ef 40 17];
        size = &amp;lt;0x4000000&amp;gt;;  /* 64 Mbit in bits */
        sfdp-bfp = [
            e5 20 f1 ff  ff ff ff 03
            44 eb 08 6b  08 3b 04 bb
            ee ff ff ff  ff ff 00 ff
            ff ff 00 ff  0c 20 0f 52
            10 d8 00 ff  23 72 f5 00
            82 ed 04 cc  44 83 68 44
            30 b0 30 b0  f7 c4 d5 5c
            00 be 29 ff  f0 d0 ff ff
        ];
        has-dpd;
        t-enter-dpd = &amp;lt;3000&amp;gt;;
        t-exit-dpd  = &amp;lt;30000&amp;gt;;
    };
};

/ {
    chosen {
        nordic,pm-ext-flash = &amp;amp;w25q64;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Sysbuild/mcuboot.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# ── Clock (nRF52832 custom board: no 32 kHz XTAL) ───────────────
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

# ── Console (RTT only) ──────────────────────────────────────────
CONFIG_SERIAL=n
CONFIG_UART_CONSOLE=n
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG=y
CONFIG_LOG_BACKEND_RTT=y

# ── SPI NOR flash driver ─────────────────────────────────────────
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_NOR=y
CONFIG_SPI_NOR_SFDP_DEVICETREE=y
CONFIG_FLASH=y
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
CONFIG_NORDIC_QSPI_NOR=n
CONFIG_MULTITHREADING=y

# ── nRF52832 PAN-58 errata workaround ───────────────────────────
CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y

# ── MCUboot sectors ─────────────────────────────────────────────
CONFIG_BOOT_MAX_IMG_SECTORS=512&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Try these and do a pristin build. You can check if the error still persists there.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>