<?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>AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98905/aws-fota-downloads-update-but-does-not-replace-the-previous-application</link><description>Hi all. I&amp;#39;m working with both the nrf9160dk and the circuit dojo feather 9160. The code I use for FOTA updates from my aws repo is working fine on the nrf9160dk. On the feather however, it downloads the application just fine, boot_write_img_confirmed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2023 17:18:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98905/aws-fota-downloads-update-but-does-not-replace-the-previous-application" /><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/446349?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 17:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f812ca-cb4d-4b53-9be1-2ebb058ba208</guid><dc:creator>nWre</dc:creator><description>&lt;p&gt;Thanks! I will leave this ticket open, if I find a solution I will reply and mark myself :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/446348?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 17:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54a6b5b1-f9a8-4dd4-81b0-5032c7c0e797</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="nWre"]Hi, sorry for the long response time, I had some other duties and a honeymoon ^^[/quote]
&lt;p&gt;No problems, and congratulations.&lt;/p&gt;
[quote user="nWre"]if there is anything else you can think of I would greatly appreciate it.[/quote]
&lt;p&gt;Unfortunately, I don&amp;#39;t have any other suggestions.&lt;/p&gt;
&lt;p&gt;You should try to contact Circuit Dojo, and hear if they have any recommendations.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.circuitdojo.com/nrf9160-support.html"&gt;https://docs.circuitdojo.com/nrf9160-support.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/445588?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 10:27:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f024b432-c64b-4781-a142-bf7272f7f187</guid><dc:creator>nWre</dc:creator><description>&lt;p&gt;Hi, sorry for the long response time, I had some other duties and a honeymoon ^^ I tried adding the yml to the project folder but no luck. I feel a bit out of my depth here so if there is anything else you can think of I would greatly appreciate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/422833?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 16:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c629baa8-8d03-4fc4-9af8-e7935c2bbeb4</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="nWre"]Is there a file that specifies the partition addresses? Like a yml-file? Where should I look?[/quote]
&lt;p&gt;The partition layout generated by the Partition Manager can be found in &amp;lt;build folder&amp;gt;/partitions.yml&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know all the details on how it is done in a pure Zephyr environment, but I believe you can find the partition layout used by the&amp;nbsp; nRF9160 Feather bootloader: zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_partition_conf.dts&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to convert it to a pm_static.yml file you can use with the Partition Manager, but as I don&amp;#39;t have an nRF9160 Feather to test with, I don&amp;#39;t know if it will work: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pm_5F00_static_5F00_circuitdojo_5F00_feather_5F00_nrf9160_5F00_ns.yml.zip"&gt;devzone.nordicsemi.com/.../pm_5F00_static_5F00_circuitdojo_5F00_feather_5F00_nrf9160_5F00_ns.yml.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(remove the board name from the file name if you want it to apply regardless of what board you are using).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/422582?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 16:18:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:382f9fb3-270b-4152-8251-e99fccfca2a8</guid><dc:creator>nWre</dc:creator><description>&lt;p&gt;Is there a file that specifies the partition addresses? Like a yml-file? Where should I look?&lt;br /&gt;&lt;br /&gt;Edit: Also, big thanks for taking the time to help out!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/421709?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 11:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:482f32e9-9dec-4b51-91ec-63d37270722c</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Also, could you share the log from the bootloader on the nRF9160 Feather, so we can see what it does, and what addresses it is using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA downloads update but does not replace the previous application</title><link>https://devzone.nordicsemi.com/thread/421555?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2023 15:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f62c9572-2c33-456f-aa46-76a58dda97b0</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]My guess on why this is centers around partitions and memory addresses but I do not know.[/quote]
&lt;p&gt;This would be my guess as well.&lt;/p&gt;
&lt;p&gt;If the application and bootloader has different opinions on where the application shloud write to mark itself as &amp;quot;confirmed&amp;quot;, you will see that the new application boots the first time, but after a reset, the bootloader rolls back to the old application.&lt;/p&gt;
&lt;p&gt;Normally, in the nRF Connect SDK, this would be done with a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/scripts/partition_manager/partition_manager.html#static-configuration"&gt;static Partition Manager configuration&lt;/a&gt;. However, I don&amp;#39;t know how this works on the nRF9160 Feather. One way would be to replace the default bootloader with one of your own, which uses the correct flash partition layout. However, this would require an external debugger (you can use the debug out header on the nRF9160 DK) and a Tag-Connect cable, see the nRF9160 Feather documentation here: &lt;a href="https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html#requirements-for-external-programming-and-debugging"&gt;https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html#requirements-for-external-programming-and-debugging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll ask internally if someone else have any experience with the nRF9160 Feather, or other ideas on how it can work with the Partition Manager.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>