<?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>nrf5340 ncsv2.9.0 ble dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122927/nrf5340-ncsv2-9-0-ble-dfu</link><description>Hi team. 
 Now i&amp;#39;m use soc nrf5340, and the ncs version 2.9.0. 
 I want to encrypt my external flash using QSPI. 
 
 I encountered some problems while using the nrf connect mobile app to perform the Bluetooth upgrade. 
 
 
 When I disabled the operation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Jul 2025 02:02:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122927/nrf5340-ncsv2-9-0-ble-dfu" /><item><title>RE: nrf5340 ncsv2.9.0 ble dfu</title><link>https://devzone.nordicsemi.com/thread/542453?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2025 02:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ca254b1-1258-4f80-88f1-0f52e6d7158d</guid><dc:creator>ashun</dc:creator><description>&lt;p&gt;It&amp;#39;s okay. I already know the reason for this problem.&lt;/p&gt;
&lt;p&gt;This is because the erasure operation does not go through the encryption engine. At this point, the data inside is 0xFF.&lt;/p&gt;
&lt;p&gt;Then, when using the read operation, the QSPI will automatically decrypt it, resulting in the value read out not being 0xFF anymore.&lt;/p&gt;
&lt;p&gt;Therefore, after the magic check, it is determined that the magic has been set. After decoding,&amp;nbsp;detected incorrect in the values , so it is considered that it is an invalid and badimage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 ncsv2.9.0 ble dfu</title><link>https://devzone.nordicsemi.com/thread/542387?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 12:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:162ee986-1d2c-421e-9232-6f17a62ffe46</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am checking this internally and will get back to you. Please expect a slight delay due to the summer holidays here in Norway.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 ncsv2.9.0 ble dfu</title><link>https://devzone.nordicsemi.com/thread/542310?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 03:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32ae1370-f930-4e65-9761-4079c1470cf3</guid><dc:creator>ashun</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;flash id :23, name:mx25r3235f@0, bootutil buffer is nooooooooooooooooooooooot erased, ready to decode magic
magic:51, def_magic:77
magic:7F, def_magic:C2
magic:60, def_magic:95
magic:E6, def_magic:F3
magic:A9, def_magic:60
magic:72, def_magic:D2
magic:51, def_magic:EF
magic:94, def_magic:7F
magic:7B, def_magic:35
magic:80, def_magic:52
magic:EB, def_magic:50
magic:53, def_magic:0F
magic:33, def_magic:2C
magic:E5, def_magic:B6
magic:C9, def_magic:79
magic:6C, def_magic:80
[qspi_nor_read] ------------------
[qspi_nor_read] ------------------
[qspi_nor_read] ------------------
boot_set_next: fa_id=23 active=0 confirm=0, magic=2
E: Faled boot_set_next with code 3, for slot 1, with active slot 0 and confirm 0
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if BOOT_MAX_ALIGN == 8
const union boot_img_magic_t boot_img_magic = {
    .val = {
        0x77, 0xc2, 0x95, 0xf3,
        0x60, 0xd2, 0xef, 0x7f,
        0x35, 0x52, 0x50, 0x0f,
        0x2c, 0xb6, 0x79, 0x80
    }
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>