<?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 update failure for custom development</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115050/fota-update-failure-for-custom-development</link><description>I am currently developing software of the nrf9160 and am having trouble with a firmware upgrade. The firmware data is received via UART. All of the functions work as expected but when the device reboots, the new firmware doesn&amp;#39;t run. 
 
 
 My PRJ file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Oct 2024 11:27:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115050/fota-update-failure-for-custom-development" /><item><title>RE: FOTA update failure for custom development</title><link>https://devzone.nordicsemi.com/thread/504672?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 11:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a7616b-3a87-47a0-9603-a567d0971705</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you configure MCUboot to provide logging information? This will give insights into whether the new image is being validated or rejected at startup. &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/#:~:text=Next%2C%20we%20will%20enable%20logging%20for%20MCUboot.%20For%20this%2C%20we%20both%20need%20to%20enable%20logs%20and%20set%20the%20log%20level%3A"&gt;See this step&lt;/a&gt;. You mentioned that the image is marked as &amp;#39;test,&amp;#39; which means the image will be booted only once unless confirmed. If, for any reason, &lt;code&gt;boot_write_img_confirmed()&lt;/code&gt; is not called after a successful boot, the bootloader will revert to the previous image&lt;/p&gt;
[quote user="Hkhan7861"]NB: i am currently using custom partitions. Can this be a factor ?[/quote]
&lt;p&gt;This can be an issue if MCUboot is looking for a specific image slot, and it doesn&amp;#39;t exist or is improperly sized. In such cases, it might not boot the new image. Ensure that both the primary and secondary slots in the partition layout are configured properly for MCUboot.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA update failure for custom development</title><link>https://devzone.nordicsemi.com/thread/504488?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 08:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a2ea7e4-e6ad-43c9-aa59-d7f82b55ff65</guid><dc:creator>Hkhan7861</dc:creator><description>&lt;p&gt;Hi Any updates on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA update failure for custom development</title><link>https://devzone.nordicsemi.com/thread/504281?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 07:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c12f7f6b-a573-45d1-8e4d-76aed1df8ae6</guid><dc:creator>Hkhan7861</dc:creator><description>&lt;p&gt;Hi Menon&lt;/p&gt;
&lt;p&gt;We are running a program in an nrf9160 but everything network related is being done on an external chip.&amp;nbsp; So were using AT commands over UART to perform FOTA and everything else.&amp;nbsp; My question is that when the update is downloaded everything until the reboot works perfectly.&amp;nbsp; There are no obvious erros.&amp;nbsp; The image type is &amp;quot;Test&amp;quot;. However on reboot, nothing happens.&amp;nbsp; What can i do to log what happens after the reboot.&amp;nbsp; How can i tell if the update ever runs.&amp;nbsp; NB: i am currently using custom partitions. Can this be a factor ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA update failure for custom development</title><link>https://devzone.nordicsemi.com/thread/504214?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 15:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f966930-a7a8-4e68-98f1-ec1e962a5626</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using? What does the log say? Are there any error messages?&lt;/p&gt;
[quote user=""]The firmware data is received via UART.&amp;nbsp;[/quote]
&lt;p&gt;Could you clarify the setup further? I&amp;#39;m a bit confused. The title mentions FOTA, but the image is being received via UART.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>