<?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>FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80482/fota-firmware-is-not-kept-after-reset</link><description>Hi, 
 Today I realized something interesting for our devices: The Update from an older Software Version build with SDK 1.6.X was on it and I updated via AWS FOTA to new version build with some changes and SDK 1.7.0 . The Update works fine and the firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Oct 2021 16:47:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80482/fota-firmware-is-not-kept-after-reset" /><item><title>RE: FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/thread/334414?ContentTypeID=1</link><pubDate>Fri, 15 Oct 2021 16:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3240466-dc46-4570-8860-04fa9e3f7b5a</guid><dc:creator>danielboe</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for the feedback. I experimented a bit and the OTA is not working as soon as the NCS version changes from 1.5.1 to 1.6.0 so this is the issue here. I think my request is solved now and I will stick to your recomendations if it comes to the release for production.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/thread/334076?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 09:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c594d864-99a8-4e64-bb56-489da16843a1</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;I realized you have done lots of modifications to the configuration files. It increased the risk of&amp;nbsp; FOTA failure.&lt;/p&gt;
&lt;p&gt;On product development, you should choose a fixed SDK version as the basement of your development and only update if it has critical bugs fixed or new features you need are added, because a new version may introduce new issues. The best practice of FOTA usage should also keep an NCS major version like v1.7.x and only update your application&amp;#39;s codes for bug fixing once you have released your products.&lt;/p&gt;
&lt;p&gt;If you have to do such a FOTA on your setup, please start with the original NCS examples, and add the new configuration &lt;span&gt;piece&amp;nbsp;&lt;/span&gt;by piece to invest in the cause of failure. The result is unpredictable and you should avoid this on your real product.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/thread/333780?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 15:43:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c532b1-9d96-48e5-bbdf-6667316d6cdc</guid><dc:creator>danielboe</dc:creator><description>&lt;p&gt;one more investigation: I can change the mamory maps in common.dts and also in&amp;nbsp;partition_conf.dts to identical, the issue is not solved. so the problem seems not these maps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/thread/333764?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 14:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44472fe7-4c7c-4b21-a756-8c7e29357bab</guid><dc:creator>danielboe</dc:creator><description>&lt;p&gt;Okay, some new Infos, first I was wrong the Firmware came from SDK 1.5.1 so I reproduced everything by compiling and testing. I did a small protocol :&lt;/p&gt;
&lt;p&gt;Modem 1.2.3, Steps:&lt;/p&gt;
&lt;p&gt;1. Erase All&lt;br /&gt;2. Flash via JLINK Firmware: 1.2.13 (SEGGGER RTT. SDK 1.5.1)&lt;br /&gt;3. Boot Works -&amp;gt;&lt;a href="https://pastebin.com/wnCwCkH9"&gt; Log 1&lt;/a&gt;&lt;br /&gt;4. OTA via AWS to Firmware: 1.4.6 (Compiled SDK 1.7.0) -&amp;gt;&lt;a href="https://pastebin.com/DD9KkdJe"&gt; Log2&lt;/a&gt;&lt;br /&gt;5. Boot after OTA -&amp;gt; &lt;a href="https://pastebin.com/qrUfuNiF"&gt;Log 3&lt;/a&gt;&lt;br /&gt;6. Reset via Button&lt;br /&gt;7. Boot after Reset (after some time, loads old Fimrware) -&amp;gt; &lt;a href="https://pastebin.com/98skbP2c"&gt;Log 4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In Common DTS File there is a change that may can be an issue&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/common_5F00_dts.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also here is my prj.conf files with some differences:&lt;/p&gt;
&lt;p&gt;Left is 1.2.13 right is 1.4.6&lt;/p&gt;
&lt;p&gt;&lt;a href="https://editor.mergely.com/t0iSkJDJ/"&gt;https://editor.mergely.com/t0iSkJDJ/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help here and best regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/thread/333603?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 21:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d5df1a3-cb1e-4e3a-ab82-fbe03accb74f</guid><dc:creator>danielboe</dc:creator><description>&lt;p&gt;can also other settings changes in prj.conf cause this issue? I will investigate more tomorrow and share the data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA Firmware is not kept after Reset</title><link>https://devzone.nordicsemi.com/thread/333578?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 15:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:790d07cc-f1a8-4266-ad42-17bc01e69193</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;I did a quick check, there is no issue on my side when I FOTA NCS v1.6.1 to NCS v1.7.0 nrf9106/http_update/application_update sample. Just share my log with you. I added &amp;quot;&lt;span&gt;printk&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;Current APP version:&lt;/span&gt;&lt;span&gt;%d\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;CONFIG_APPLICATION_VERSION&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&amp;quot; to make it easy to find the version change.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5314.log.txt"&gt;devzone.nordicsemi.com/.../5314.log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you retry with freshly new NCS installations? Please share the log file if you still have the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>