<?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 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114022/nrf5340-ble-fota-with-qspi-flash</link><description>Hi 
 From the past few days, I have been trying to perform FOTA with BLE using external QSPI flash. However, I&amp;#39;m unsure if I&amp;#39;m creating the proper files and adding the correct configuration. I need to perform simultaneous updates for both cores of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Aug 2024 12:15:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114022/nrf5340-ble-fota-with-qspi-flash" /><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/499746?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 12:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e04e553a-a57f-4b1e-93f6-afc54e9d59e3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You need to escape the quotation marks with &amp;#39;\&amp;#39; if you want to set the&amp;nbsp;symbol&amp;nbsp;from your CMake file as done in the sample here:&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/blob/ff9429012a8731df7966e5cf777bb4b2310559f7/bootloader_samples/keys_and_signatures/mcuboot_smp_custom_key/CMakeLists.txt#L5"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/blob/ff9429012a8731df7966e5cf777bb4b2310559f7/bootloader_samples/keys_and_signatures/mcuboot_smp_custom_key/CMakeLists.txt#L5&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/499723?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 11:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f9dc6a5-a18e-4bd2-960d-ed0eee5bc125</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;I have configured&amp;nbsp;&lt;br /&gt;mcuboot.cong&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256&lt;/span&gt;&lt;span&gt;&lt;span&gt;=y&lt;br /&gt;&lt;br /&gt;custom_priv.pem&lt;br /&gt;&lt;br /&gt;-----BEGIN PRIVATE KEY-----&lt;br /&gt;MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgdiJYhJlSj/e5KZuw&lt;br /&gt;3u2fgv6z1fkBBr5fWTvQ4u2N0DKhRANCAASAyC69sKud5kULGkuNATqGyMIvffqu&lt;br /&gt;A1lHbcrS6A8y1q4mBubB5GEzk3XLgXiIDhqMrmojVeC8TTIBNqgezUq7&lt;br /&gt;-----END PRIVATE KEY-----&lt;br /&gt;&lt;br /&gt;CMakeLists.txt&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt;(mcuboot_CONFIG_BOOT_SIGNATURE_KEY_FILE &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;C:/ncs/peripheral_lbs_O!/custom_key_dir/custom_priv.pem&amp;quot;&lt;/span&gt;&lt;span&gt;)&lt;br /&gt;&lt;br /&gt;this is the error i am getting&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:397px;max-width:847px;" height="397" src="https://devzone.nordicsemi.com/resized-image/__size/1694x794/__key/communityserver-discussions-components-files/4/1832.Capture.JPG" width="847" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/499686?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 08:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efc67f66-3282-4369-aa72-0ee5d2934382</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, no worries. Here is a sample that selects a custom signing key:&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/499679?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 07:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:035d696e-856c-4af8-bb6b-8f8a54d24c8a</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Good day!&lt;/p&gt;
&lt;p&gt;I apologize for the misunderstanding. What I meant by &amp;quot;secure bootloader&amp;quot; is changing the MCU Boot key for production. Could you please let me know what changes I need to make?&lt;/p&gt;
&lt;p&gt;I tried configuring and adding the key, but I ended up with an error.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/499408?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 14:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bf41006-963d-4c9e-8bc8-03794c108261</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error message is safe to ignore. It is raised when the app tries to access the emulated flash partition in RAM (partition used to transfer netcore image to the netcore bootloader). With regards to secure boot, this is enabled by enabling&amp;nbsp;CONFIG_SECURE_BOOT.&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: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498953?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 06:37:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87384846-5ecb-4d9a-aa30-6a3d9cf66318</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi Vidar&lt;br /&gt;good day!!!&lt;br /&gt;&lt;br /&gt;I have tested the&amp;nbsp;&lt;span&gt;simultaneous updates it went success now it working.&lt;br /&gt;The reason for previous error is app.conf file is not created.&lt;br /&gt;while the updating the firmware I have received this logs E: Failed to open flash area ID 1: -2&lt;br /&gt;this are the logs&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:620px;max-width:421px;" height="620" src="https://devzone.nordicsemi.com/resized-image/__size/842x1240/__key/communityserver-discussions-components-files/4/0525.Capture6.JPG" width="421" alt=" " /&gt;&lt;br /&gt;is this a problem?&lt;br /&gt;&lt;br /&gt;kindly let me know process for secure boot loader.&lt;br /&gt;&lt;br /&gt;Thank you for your support!!!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498859?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 13:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:777c16f4-4853-4bee-972f-5f8876fe17bf</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;I am currently using the toolchain v2.6.1 and SDK v2.6.1 is this requires any specific changes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498852?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 12:59:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21e49aec-3441-48a4-ae50-1b27fb738b78</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Now it back to this error&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:456px;max-width:708px;" height="456" src="https://devzone.nordicsemi.com/resized-image/__size/1416x912/__key/communityserver-discussions-components-files/4/pastedimage1724072372363v1.png" width="708" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498834?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 12:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73586959-e6c7-40e0-bf73-cb6f64f51809</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The linker error indicates that the bootloader (MCUBOOT) is too big to fit into the default flash partition allocated to the bootloader. You can increase the partition size by adding CONFIG_PM_PARTITION_SIZE_MCUBOOT=&amp;lt;new partition size in bytes&amp;gt; (e.g., 0x12000)&amp;nbsp;to your mcuboot kconfig fragment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498831?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 12:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ab52ec3-bc69-4af3-bb60-5fddb063fda3</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;I have changed configuration according to the&amp;nbsp;&lt;a id="" href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;mcuboot_smp_ble_simultaneous&lt;/a&gt;&lt;span&gt;&amp;nbsp; code&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am getting FLASH size problem&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do I need to change something&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img style="height:385px;max-height:385px;max-width:681px;" height="385" src="https://devzone.nordicsemi.com/resized-image/__size/1362x770/__key/communityserver-discussions-components-files/4/pastedimage1724070261955v1.png" width="681" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498816?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 11:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d85ade7c-bb73-4908-829a-4a5a6b397388</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I recommend you test without the static partition file first. You can add it back later when you are ready to lock down the memory layout. This allows the build system to add any missing partitions. You may also try this sample made by one of my coworkers here:&amp;nbsp;&lt;a id="" href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498810?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 11:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637946f7-c8d5-4993-9b38-3c80c4997c9e</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;&lt;br /&gt;Thanks for the replay!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I added the to the code to&amp;nbsp; mcuboot.overlay.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Additionally i have created empty pm_static.yml file inside the child_image&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;now this is the error that i am getting.&lt;br /&gt;&lt;br /&gt;&lt;img style="height:371px;max-height:371px;max-width:682px;" height="371" src="https://devzone.nordicsemi.com/resized-image/__size/1364x742/__key/communityserver-discussions-components-files/4/pastedimage1724066495316v1.png" width="681" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 BLE FOTA With QSPI flash</title><link>https://devzone.nordicsemi.com/thread/498799?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 11:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:385aa51a-adca-4df8-8b78-9b4eeed120a7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The mcuboot.overlay must also select the QSPI flash device to enable the bootloader to access the external flash:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
&amp;#160; &amp;#160; chosen {
&amp;#160; &amp;#160; &amp;#160; &amp;#160; nordic,pm-ext-flash = &amp;amp;mx25r64;
&amp;#160; &amp;#160; };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please try to see if it works after making this change.&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></channel></rss>