<?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 issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128186/dfu-issues-after-migrating-from-ncs2-9-2-to-ncs3-0-2</link><description>hello Nordic 
 we are working with nrf52840/nrf52832 with ncs (currently on v3.0.2) 
 i have noticed that when i try to dfu a merged artifact of my version with the new mcuboot of ncs3.0.2 the device does not work after the dfu at all, it seems bricked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 May 2026 08:18:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128186/dfu-issues-after-migrating-from-ncs2-9-2-to-ncs3-0-2" /><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/567009?ContentTypeID=1</link><pubDate>Thu, 28 May 2026 08:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e5c24a-a2b2-4538-a25f-a6d4cf328879</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;span&gt;These crash logs are strange and difficult to make sense of:&lt;/span&gt;&lt;img style="font-family:inherit;max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1779954118406v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1779955329512v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and it is not really possible to pinpoint what the problem is based on these alone.&lt;/p&gt;
&lt;p&gt;As a next step, I suggest you compare/diff the generated .config file from your&amp;nbsp;new and old MCUBoot build located in &amp;lt;build dir&amp;gt;/mcuboot/zephyr/ to see if anything stands out. You can also build the bootloader with&amp;nbsp;&lt;span&gt;CONFIG_EXTRA_EXCEPTION_INFO&lt;/span&gt;&lt;span&gt;=y to have the handler print out the actual SP and and exec return values.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_MAIN_STACK_SIZE should be set to 10k by default. Not sure why it was only 2k, but&amp;nbsp;that is too little for the bootloader.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566978?ContentTypeID=1</link><pubDate>Wed, 27 May 2026 14:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8887fce-2d5e-423e-a956-83f874870598</guid><dc:creator>ziv123</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/128186/dfu-issues-after-migrating-from-ncs2-9-2-to-ncs3-0-2/566967"]any calls memset() or memcpy()[/quote]
&lt;p&gt;no such calls in those modules.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i tried with another version with logs and added stack sentinal&amp;nbsp; got this after reset after dfu stopped and i re flashed the merged hex:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; SMP_SERVICE: dfu has started. configuring connection watchdog to 10 minutes
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; COMM_MNG: ble_connection_config updated!
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7980000, size 655360, blocks_to_erase=5
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; mcumgr_img_grp: Erased 0xa0000 bytes of image slot
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a40000, size 131072, blocks_to_erase=1
00&amp;gt; [1779891635] &amp;lt;inf&amp;gt; mcumgr_img_grp: Erased 0x20000 bytes of image slot trailer
00&amp;gt; [1779891636] &amp;lt;inf&amp;gt; COMM_MNG: le_param_updated: LE conn param updated: interval 0x0006 latency 0 timeout 400
00&amp;gt; [1779891636] &amp;lt;inf&amp;gt; COMM_MNG: RSSI is -47
00&amp;gt; [00:00:00.250,427] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: boost_on_node
00&amp;gt; [00:00:00.250,823] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: hw_id_on_node
00&amp;gt; [00:00:00.251,220] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: sensors_on_node
00&amp;gt; [00:00:00.251,617] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: flash_on_node
00&amp;gt; [00:00:00.252,014] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: master bus found: spi@40023000
00&amp;gt; [00:00:00.252,380] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: turning flash on...
00&amp;gt; [00:00:00.252,746] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash_w25n_spi_init done
00&amp;gt; [00:00:00.253,051] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: spi init ok
00&amp;gt; [00:00:00.253,356] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: power on ok, sleeping 50ms
00&amp;gt; [00:00:00.303,771] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: reading jedec id (1)
00&amp;gt; [00:00:00.304,138] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: reading jedec id (2)
00&amp;gt; [00:00:00.304,534] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash jedec device id 0xefba21
00&amp;gt; [00:00:00.306,915] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: bad block management lut markdown found
00&amp;gt; [00:00:00.307,281] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash_w25n init done
00&amp;gt; *** Booting My Application v2.1.0-dev-ae1ee57f3906 ***
00&amp;gt; *** Using nRF Connect SDK v3.0.2-89ba1294ac9b ***
00&amp;gt; *** Using Zephyr OS v4.0.99-f791c49f492c ***
00&amp;gt; [00:00:00.308,227] &amp;lt;inf&amp;gt; mcuboot: Starting bootloader
00&amp;gt; [00:00:00.312,896] &amp;lt;inf&amp;gt; mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
00&amp;gt; [00:00:00.313,385] &amp;lt;inf&amp;gt; mcuboot: Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
00&amp;gt; [00:00:00.313,812] &amp;lt;inf&amp;gt; mcuboot: Boot source: primary slot
00&amp;gt; [00:00:00.319,122] &amp;lt;inf&amp;gt; mcuboot: Image index: 0, Swap type: test
00&amp;gt; [00:00:03.057,678] &amp;lt;err&amp;gt; os: r0/a1:  0x00000002  r1/a2:  0xf0f0f0f0  r2/a3:  0x200073c8
00&amp;gt; [00:00:03.058,105] &amp;lt;err&amp;gt; os: r3/a4:  0x00000002 r12/ip:  0x00000001 r14/lr:  0x00008149
00&amp;gt; [00:00:03.058,532] &amp;lt;err&amp;gt; os:  xpsr:  0x01000000
00&amp;gt; [00:00:03.058,807] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00007f7e
00&amp;gt; [00:00:03.059,204] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
00&amp;gt; [00:00:03.059,600] &amp;lt;err&amp;gt; os: Current thread: 0x200019a0 (unknown)
00&amp;gt; [00:00:03.059,936] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;don&amp;#39;t know if it helps to understand more&lt;/p&gt;
&lt;p&gt;i also tried increasing the stack for mcuboot CONFIG_MAIN_STACK_SIZE=10240 (it was set to 2k before)&lt;/p&gt;
&lt;p&gt;and i got this after dfu:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; [1779893114] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; SMP_SERVICE: dfu has started. configuring connection watchdog to 10 minutes
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; COMM_MNG: ble_connection_config updated!
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7980000, size 655360, blocks_to_erase=5
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; mcumgr_img_grp: Erased 0xa0000 bytes of image slot
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a40000, size 131072, blocks_to_erase=1
00&amp;gt; [1779893114] &amp;lt;inf&amp;gt; mcumgr_img_grp: Erased 0x20000 bytes of image slot trailer
00&amp;gt; [1779893115] &amp;lt;inf&amp;gt; COMM_MNG: le_param_updated: LE conn param updated: interval 0x0006 latency 0 timeout 400
00&amp;gt; [1779893115] &amp;lt;inf&amp;gt; COMM_MNG: RSSI is -45
00&amp;gt; [00:00:00.250,396] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: boost_on_node
00&amp;gt; [00:00:00.250,793] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: hw_id_on_node
00&amp;gt; [00:00:00.251,190] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: sensors_on_node
00&amp;gt; [00:00:00.251,617] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: flash_on_node
00&amp;gt; [00:00:00.252,014] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: master bus found: spi@40023000
00&amp;gt; [00:00:00.252,380] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: turning flash on...
00&amp;gt; [00:00:00.252,716] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash_w25n_spi_init done
00&amp;gt; [00:00:00.253,051] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: spi init ok
00&amp;gt; [00:00:00.253,356] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: power on ok, sleeping 50ms
00&amp;gt; [00:00:00.303,771] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: reading jedec id (1)
00&amp;gt; [00:00:00.304,138] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: reading jedec id (2)
00&amp;gt; [00:00:00.304,534] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash jedec device id 0xefba21
00&amp;gt; [00:00:00.306,945] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: bad block management lut markdown found
00&amp;gt; [00:00:00.307,342] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash_w25n init done
00&amp;gt; *** Booting My Application v2.1.0-dev-ae1ee57f3906 ***
00&amp;gt; *** Using nRF Connect SDK v3.0.2-89ba1294ac9b ***
00&amp;gt; *** Using Zephyr OS v4.0.99-f791c49f492c ***
00&amp;gt; [00:00:00.308,288] &amp;lt;inf&amp;gt; mcuboot: Starting bootloader
00&amp;gt; [00:00:00.313,262] &amp;lt;inf&amp;gt; mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
00&amp;gt; [00:00:00.313,751] &amp;lt;inf&amp;gt; mcuboot: Scratch: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2
00&amp;gt; [00:00:00.314,208] &amp;lt;inf&amp;gt; mcuboot: Boot source: primary slot
00&amp;gt; [00:00:00.319,488] &amp;lt;inf&amp;gt; mcuboot: Image index: 0, Swap type: test
00&amp;gt; [00:00:03.216,064] &amp;lt;inf&amp;gt; mcuboot: Starting swap using scratch algorithm.
00&amp;gt; [00:00:03.216,491] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a60000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:03.309,570] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a60000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:03.858,398] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a40000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:03.860,290] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a00000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:08.480,316] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a60000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:09.029,144] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x79e0000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:13.648,193] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a60000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:14.197,021] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x79c0000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:18.817,993] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a60000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:19.366,821] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x79a0000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:23.986,083] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7a60000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:24.534,912] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: flash erase to addr: 0x7980000, size 131072, blocks_to_erase=1
00&amp;gt; [00:00:30.364,501] &amp;lt;inf&amp;gt; mcuboot: Bootloader chainload address offset: 0xf000
00&amp;gt; [00:00:30.364,898] &amp;lt;inf&amp;gt; mcuboot: Image version: v2.2.3
00&amp;gt; [00:00:30.365,203] &amp;lt;inf&amp;gt; mcuboot: Jumping to the first image slot
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: SPSEL in thread mode does not indicate PSP
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: ***** HARD FAULT *****
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os:   Fault escalation (see below)
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os:   Illegal use of the EPSR
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: r0/a1:  0x20009bc8  r1/a2:  0x00002d75  r2/a3:  0x0000a2ef
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: r3/a4:  0x00002d61 r12/ip:  0x00002d61 r14/lr:  0x00002d61
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os:  xpsr:  0x00000000
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00002d61
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 35: Unknown error on CPU 0
00&amp;gt; [00:00:30.365,539] &amp;lt;err&amp;gt; os: Current thread: 0x200019a0 (unknown)
00&amp;gt; [00:00:30.365,539] [1;31m&amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;i also understand that mcuboot on ncs3.0.2 is a bit bigger and uses some other encryption that maybe require more stack .. maybe that is related somehow ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566967?ContentTypeID=1</link><pubDate>Wed, 27 May 2026 13:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7273d770-c673-485d-9b76-86477bb54bf6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Ziv,&lt;/p&gt;
&lt;p&gt;I guess the usage fault is likely&amp;nbsp;what prevents the bootloader from booting the app, and not that the bootloader is failing to access the flash, but it is strange that the exception stack frame is all zeroes. Do you have any calls memset() or memcpy() in&amp;nbsp;AUGU_FLASH_W25N or&amp;nbsp;AUGU_GPIO_POWER that could potentially be zeroing the stack?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566936?ContentTypeID=1</link><pubDate>Wed, 27 May 2026 10:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f1ca531-817d-440c-8754-4cc6dd0fd9cf</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;hi Vidar&lt;/p&gt;
&lt;p&gt;sorry for the delay in response i waited for the HW check and some test that i run&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/128186/dfu-issues-after-migrating-from-ncs2-9-2-to-ncs3-0-2/566757"]Does your HW allow you to power cycle the board so that both the SPI flash and nRF get reset?[/quote]
&lt;p&gt;the design is only based on nRF52840 reset control, then no it resets only the nRF, not the SPI flash.&lt;/p&gt;
&lt;p&gt;i can also add the following findings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;dfu from device with mcuboot v3.0.2 to an app with v3.0.2&amp;nbsp;fails&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(but after i flash a merged version of v2.9.2 i i did see the app comes up with the new app version 3.0.2 and after power off power on it came up with the v2.9.2 version (this is strange) however i did not manage to relet this scenario so i am not sure how valid this result is)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;dfu from device with mcuboot&amp;nbsp;&lt;span&gt;v2.9.2&lt;/span&gt; to an app with v3.0.2&amp;nbsp;pass&lt;/li&gt;
&lt;li&gt;dfu from device with mcuboot v3.0.2 to an app with v2.9.2&amp;nbsp;fails&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;pm_static between app v2.9.2 and app v3.0.2 did not change so same pm static&lt;/p&gt;
&lt;p&gt;i added logs to mcuboot and flashed this version (i had to flash it with --pinreset for some reason else it crashed at start) and after dfu +nrfjprog --reset i get this logs&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.250,396] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: boost_on_node
00&amp;gt; [00:00:00.250,793] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: hw_id_on_node
00&amp;gt; [00:00:00.251,220] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: sensors_on_node
00&amp;gt; [00:00:00.251,617] &amp;lt;inf&amp;gt; AUGU_GPIO_POWER: augu_power_resource_init: flash_on_node
00&amp;gt; [00:00:00.252,044] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: master bus found: spi@40023000
00&amp;gt; [00:00:00.252,410] &amp;lt;inf&amp;gt; AUGU_FLASH_W25N: turning flash on.[00:00:03.136,077] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
00&amp;gt; [00:00:03.136,383] &amp;lt;err&amp;gt; os:   Illegal use of the EPSR
00&amp;gt; [00:00:03.136,688] &amp;lt;err&amp;gt; os: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000
00&amp;gt; [00:00:03.137,115] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x00000000
00&amp;gt; [00:00:03.137,542] &amp;lt;err&amp;gt; os:  xpsr:  0x00000000
00&amp;gt; [00:00:03.137,847] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00000000
00&amp;gt; [00:00:03.138,244] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 35: Unknown error on CPU 0
00&amp;gt; [00:00:03.138,641] &amp;lt;err&amp;gt; os: Current thread: 0x20000b20 (unknown)
00&amp;gt; [00:00:03.139,007] [1;31m&amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;another strange things that after dfu fails with mcuboot v3.0.2 i hae to flash the device twice with an older version for it to start working again, after first flash of the merged hex with --chiperase trying to reset or power off and power on the device just don&amp;#39;t do it .. i wonder why it gets sttuck like this and why the second flashing of the same merged he as the first flash fixed it.&lt;/p&gt;
&lt;p&gt;hope to read you soon&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;
&lt;p&gt;Ziv&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566757?ContentTypeID=1</link><pubDate>Fri, 22 May 2026 09:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fbf40bf-3f09-49a3-b348-743a41f7d447</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="ziv123"]we have external flash via spi .. and we use it for saving one image slot and other things off course[/quote]
&lt;p&gt;The bootloader will not boot the application if it fails to access the secondary slot in external flash so I wonder&amp;nbsp;if the issue might be that the SPI fiash has gotten into a bad state somehow. Does your HW allow you to power cycle the board so that both the SPI flash and nRF get reset?&lt;/p&gt;
[quote user="ziv123"]we have a pm_static_board_name.yml for each board[/quote]
&lt;p&gt;You can check&amp;nbsp;the pm .yml file in the build folder to verify that the same pm file is applied in both builds. Alternatively, run &amp;quot;west build -t partition_manager_report&amp;quot;.&lt;/p&gt;
[quote user="ziv123"]hut we also have board_name.overlay for each board.. i think i read in the past one of them is overwritten or ignored in zephyr if you have the other (don&amp;#39;t really remember)&amp;nbsp;[/quote]
&lt;p&gt;Devicetree partitions are ignored when using the partition manager, yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566694?ContentTypeID=1</link><pubDate>Thu, 21 May 2026 13:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d75bf7-e710-41e8-9c20-7aaa6cc3b246</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;we do dfu via ble&amp;nbsp;&lt;/p&gt;
&lt;p&gt;we have external flash via spi .. and we use it for saving one image slot and other things off course&lt;/p&gt;
&lt;p&gt;we have a pm_static_board_name.yml for each board&lt;/p&gt;
&lt;p&gt;hut we also have board_name.overlay for each board.. i think i read in the past one of them is overwritten or ignored in zephyr if you have the other (don&amp;#39;t really remember)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566674?ContentTypeID=1</link><pubDate>Thu, 21 May 2026 11:30:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1efb6c4e-5692-4573-afed-01bdd61806e4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you using external flash (SPI/QSPI) for staging FW updates and are you using the same static PM file for both versions of your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566671?ContentTypeID=1</link><pubDate>Thu, 21 May 2026 10:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33921ac2-86c4-47ab-8e8a-fe3016cbc053</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;the app runs fine and it was also dfued to our setups, which runs with older mcuboots on them, with no issues.&lt;/p&gt;
&lt;p&gt;it also runs fine after first flash of the merged hex with mcuboot and app of ncs3.0.2, but after dfu it seems briked and only after few flashes with older version merges the device run again (this was very strange to me since i flash with the flag of --chipearse&amp;quot; i did not expect that first flash will not work)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu issues after migrating from ncs2.9.2 to ncs3.0.2</title><link>https://devzone.nordicsemi.com/thread/566596?ContentTypeID=1</link><pubDate>Wed, 20 May 2026 11:19:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:748b11c1-0468-4f8c-a303-7690fc9e3d27</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Ziv,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do I understand correctly that the application does not boot even after completely re-flashing the device with the merged.hex from the latest version? That would suggest that there is an issue with the new project/app and not really related to the DFU process. First step I would recommend is that you try to debug the new project to find out where the program hangs. Does the app run ok if you build without the bootloader?&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;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>