<?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>Where can I find examples of OTA upgrades using external Flash in NCS 1.9.1?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88243/where-can-i-find-examples-of-ota-upgrades-using-external-flash-in-ncs-1-9-1</link><description>Hi, 
 As shown in the subject, I am developing a product which needs to support extern Flash-based BT OTA-upgrade. So w here can I find examples of OTA-upgrade using external Flash in NCS 1.9.1? 
 
 Platform: Windows 10 
 NCS version: 1.9.1 
 Boards:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 May 2022 15:28:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88243/where-can-i-find-examples-of-ota-upgrades-using-external-flash-in-ncs-1-9-1" /><item><title>RE: Where can I find examples of OTA upgrades using external Flash in NCS 1.9.1?</title><link>https://devzone.nordicsemi.com/thread/369596?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 15:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5fc3f03-7b52-49ac-b89f-a452d562a5b7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you have configured the MCUboot image slots correctly, the update should be stored in the external flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to verify this, you could check if the firmware update is stored in the external flash by reading out the content before and after OTA, and compare it to see that the firmware update was stored. You could also try to update a firmware that takes up more than 50 % of the internal flash, twice. Since the BLE stack is integrated with the firmware, you need to perform a dual slot update, which would not be possible if the firmware is larger than 50% of the internal flash. This will only work when the second image slot is placed in external flash.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I find examples of OTA upgrades using external Flash in NCS 1.9.1?</title><link>https://devzone.nordicsemi.com/thread/369404?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 04:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:363b91d8-3e1d-4745-8d76-9446eb60a9be</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;DorianN,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks to your advice, now I have made a sample&amp;nbsp;of&amp;nbsp;external&amp;nbsp;flash OTA based on smp_svr.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But there is a new question.&amp;nbsp;How can I know that I am really using external flash? Cause I didn&amp;#39;t see any differences.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I find examples of OTA upgrades using external Flash in NCS 1.9.1?</title><link>https://devzone.nordicsemi.com/thread/369267?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 11:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:891360f4-d3cb-4d08-b1cd-2adc10b29e46</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;Hi DorianN,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Yes I have checked the smp_svr, it works. Just looking for a sample which supports extern OTA.&lt;/p&gt;
&lt;p&gt;The link you provided seems to be helpful.&amp;nbsp;I will check it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I find examples of OTA upgrades using external Flash in NCS 1.9.1?</title><link>https://devzone.nordicsemi.com/thread/369256?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 11:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:552df6b0-4d41-4097-9f53-1980dba6b804</guid><dc:creator>DorianN</dc:creator><description>&lt;p&gt;Hi Joyop,&lt;/p&gt;
&lt;p&gt;Have you checked the samples, specifically smp_svr?&lt;br /&gt;You should be able to do what you want by checking also the bt fragments when you setup your build sequence.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Also a lot of good resources from Hellesvik under (all credits go to Hellesvik):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples"&gt;github.com/.../bootloader_samples&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>