<?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>Robust FOTA update, and error -11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126927/robust-fota-update-and-error--11</link><description>Good afternoon, 
 
 I am trying to set up FOTA update over NB-IoT, my device is offline most of the time and connects only a few times a day. 
 1. What are the gudielines to develop a robust FOTA update implementation ? My current code is based on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Feb 2026 11:55:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126927/robust-fota-update-and-error--11" /><item><title>RE: Robust FOTA update, and error -11</title><link>https://devzone.nordicsemi.com/thread/560898?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 11:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c9c255d-9af3-4ac2-b04a-041b1f225c1e</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi Bastien,&lt;/p&gt;
[quote user="Bastien42"]Does nRF Cloud implements &amp;quot;&lt;span style="font-weight:400;"&gt;Secure OTA Updates with Signing &amp;amp; Hashes&amp;quot; and includes TLS ?&lt;/span&gt;[/quote]
&lt;p&gt;The &amp;quot;Signing &amp;amp; Hashes&amp;quot; are entirely handled by MCUboot.&amp;nbsp; The process is explained in &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-2-dfu-over-usb-adding-external-flash/"&gt;lesson 9 exercise 2&lt;/a&gt; of our course &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/"&gt;nRF connect SDK Intermediate&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;And, yes, nRF Cloud uses TLS to perform the FOTA update. &lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/Devices/FirmwareUpdate/FOTATutorial.html"&gt;Here&lt;/a&gt;&amp;nbsp;are some relevant documentation about the FOTA performed by nRF Cloud.&lt;/p&gt;
[quote user="Bastien42"]I struggle to see what it is already doing for me.[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/index.html"&gt;Here is the latest documentation&lt;/a&gt;&amp;nbsp;about nRF Cloud.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Robust FOTA update, and error -11</title><link>https://devzone.nordicsemi.com/thread/560870?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 08:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beddf48e-b201-436d-ae73-2080f93fe304</guid><dc:creator>Bastien42</dc:creator><description>&lt;p&gt;Ok, thanks for the information.&lt;/p&gt;
&lt;p&gt;Does nRF Cloud implements &amp;quot;&lt;span style="font-weight:400;"&gt;Secure OTA Updates with Signing &amp;amp; Hashes&amp;quot; and includes TLS ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;I struggle to see what it is already doing for me.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Best regards &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Bastien&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Robust FOTA update, and error -11</title><link>https://devzone.nordicsemi.com/thread/560816?ContentTypeID=1</link><pubDate>Tue, 10 Feb 2026 14:49:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d489ccb-3b27-4fea-82ed-866f9de999ec</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome :)&lt;/p&gt;
&lt;p&gt;Just FYI, for new design projects, we recommend using the &lt;a href="https://www.nordicsemi.com/Products/nRF9151"&gt;nRF9151&lt;/a&gt; instead of the &lt;a href="https://www.nordicsemi.com/Products/nRF9160"&gt;nRF9160&lt;/a&gt;. It is performing better, has a smaller footprint and costs less. Of course, we won&amp;#39;t force you to change to this chip. But I just wanted to make sure you knew that this option exists.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Robust FOTA update, and error -11</title><link>https://devzone.nordicsemi.com/thread/560806?ContentTypeID=1</link><pubDate>Tue, 10 Feb 2026 13:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e5a66a3-2520-497b-81cc-1d9a2034b714</guid><dc:creator>Bastien42</dc:creator><description>&lt;p&gt;Thank you for this insightful answer.&lt;/p&gt;
&lt;p&gt;I was referring to the nRF Connect SDK Intermediate Exercise 6 Fota over LTE-M/ NB-IoT and I am working with the nRF9160 using MQTT on a custom PCB board.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Bastien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Robust FOTA update, and error -11</title><link>https://devzone.nordicsemi.com/thread/560774?ContentTypeID=1</link><pubDate>Tue, 10 Feb 2026 10:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:378d7e66-5a74-4606-9f74-06d6297ded78</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi Bastien,&lt;/p&gt;
[quote user=""]What are the gudielines to develop a robust FOTA update implementation ?[/quote]
&lt;p&gt;I would like to recommend some articles from the Memfault blog.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;quot;&lt;a href="https://memfault.com/blog/ota-for-iot/"&gt;OTA for IoT: What It Is, How It Works, and Why It Matters&lt;/a&gt;&amp;quot; : It is a more general article for OTA. But contains a lot of very useful information on how to make a robust OTA solution.&lt;/li&gt;
&lt;li&gt;&amp;quot;&lt;a href="https://memfault.com/blog/ota-update-checklist-for-embedded-devices/"&gt;OTA Update Checklist for Embedded Devices in 2025&lt;/a&gt;&amp;quot; : This one goes more into detail on what to implement on your firmware and how to push the OTA to the device.&lt;/li&gt;
&lt;li&gt;&amp;quot;&lt;a href="https://memfault.com/blog/ota-testing-101-the-ultimate-guide/"&gt;How to Test OTA Updates Without Bricking Devices&lt;/a&gt;&amp;quot; : And here they are talking about how to safely do test and push the OTA update to your fleet.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you manage to implement all of these recommendations, you&amp;#39;ll probably have one of the best OTA update system that currently exists ;-)&lt;/p&gt;
[quote user=""]My current code is based on the Nordic FOTA sample.[/quote]
&lt;p&gt;Which sample are you referring to ? We have multiple FOTA sample for different protocols and Cloud solutions.&lt;/p&gt;
[quote user=""]Here is one error that happened to me, how to make sure it never happens again ?[/quote]
&lt;p&gt;You need to add more error handling. Robustness is not achieved by never having any errors, because that is impossible with cellular, you will always have one device which fails to download something somewhere. It is achieved by having a firmware which is capable of handling all the possible errors that can happen during an update.&lt;/p&gt;
&lt;p&gt;Here, in your case, it seems like the download failed for some reason. A &lt;strong&gt;possible way&lt;/strong&gt; to handle this is to wait a little bit, and retry updating later. And maybe, if it fails more than a certain number of time, the device can report that he can&amp;#39;t proceed with the update.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>