<?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>First boot after modem FOTA results in at_cmd error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57926/first-boot-after-modem-fota-results-in-at_cmd-error</link><description>I&amp;#39;m currently working on integrating modem FOTA updates into my application. I have the FOTA working at the moment, I&amp;#39;m able to go to and from a FOTA-TEST version with the differential images. 
 However, I have been noticing that during the first boot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Mar 2020 06:42:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57926/first-boot-after-modem-fota-results-in-at_cmd-error" /><item><title>RE: First boot after modem FOTA results in at_cmd error</title><link>https://devzone.nordicsemi.com/thread/238426?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 06:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef886b6c-3381-4add-8b01-6c9f92184409</guid><dc:creator>Siyou</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am facing the same issue(need reboot modem twice after its FOTA), and the&amp;nbsp;bsdlib_get_init_ret() always returned -1, why? I have defined&amp;nbsp;CONFIG_BSD_LIBRARY=y&lt;/p&gt;
&lt;p&gt;If -1 indicated fatal error, what operations are required before invoking bsdlib_init()?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: First boot after modem FOTA results in at_cmd error</title><link>https://devzone.nordicsemi.com/thread/236643?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 18:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbdc574e-baff-4f45-b140-bd09267ec7b9</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;My bad, it was from another private ticket. Here&amp;#39;s an excerpt;&lt;/p&gt;
&lt;p&gt;&amp;quot;There has been an update in NCS on handling modem FOTA.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a look at the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/f88926f6e938af5ba9c388bd164989513bc241cd/samples/nrf9160/http_application_update/src/main.c#L166"&gt;main file of http_application_update&lt;/a&gt;,&amp;nbsp;the switch case is based on the return code from bsdlib_init(), however, this should be changed to &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/f88926f6e938af5ba9c388bd164989513bc241cd/lib/bsdlib/bsdlib.c#L50"&gt;bsdlib_get_init_ret&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;system needs to be rebooted twice after downloading the modem FOTA, and changing the above should solve the issue. Let me know how that works for you.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: First boot after modem FOTA results in at_cmd error</title><link>https://devzone.nordicsemi.com/thread/236085?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 19:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7706d5f-af7e-438b-8699-c38326409b55</guid><dc:creator>Jack Panetta</dc:creator><description>&lt;p&gt;Hey Hakon,&lt;/p&gt;
&lt;p&gt;The link you referenced doesn&amp;#39;t seem to be working. I&amp;#39;m getting a browser error (tried with both Chrome and Firefox):&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ERR_TOO_MANY_REDIRECTS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Jack&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: First boot after modem FOTA results in at_cmd error</title><link>https://devzone.nordicsemi.com/thread/235567?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 18:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea2abc09-df3d-4f59-91a3-092be4c01a0f</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;You try implementing any of the fixes mentioned &lt;a href="https://devzone.nordicsemi.com/support-private/support/240870"&gt;here&lt;/a&gt;. I don&amp;#39;t know what you are doing in your code specifically, but the post I linked to seemed to have the same error as yours.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>