<?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>SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119647/slm-xfota-always-fails</link><description>Hello, 
 we are trying to perform FOTA updates with default SLM application based on SDK 2.9.0, but the application always aborts unsuccessfully. 
 Via AT interface the application responds: 
 XFOTA.fota_stage= 0 -&amp;gt; Init XFOTA.fota_status= 1 -&amp;gt; Error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Mar 2025 13:55:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119647/slm-xfota-always-fails" /><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/527393?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 13:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c016e2db-2556-4a8d-a3bd-e320ac6a3e10</guid><dc:creator>Bernhard</dc:creator><description>&lt;p&gt;Hello Sigurt,&lt;/p&gt;
&lt;p&gt;thank you a lot, that did the trick!&lt;/p&gt;
&lt;p&gt;Would be nice to also add a hint on this page:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/doc/FOTA_AT_commands.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/doc/FOTA_AT_commands.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Bernhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/527168?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 13:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf19160-15b5-4573-854c-597c4fc36c16</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;span data-teams="true"&gt;PPP + other socket operations at the same time will not work. See&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/nrf_modem/doc/sockets/raw_sockets.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/nrf_modem/doc/sockets/raw_sockets.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-teams="true"&gt;As a workaround, could you try&amp;nbsp;temporarily disable PPP with AT#XPPP=0, then do XFOTA, and then enable PPP again with AT#XPPP=1&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/527047?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 20:21:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:235a0da1-eeb4-49eb-95d8-088a69531a35</guid><dc:creator>Bernhard</dc:creator><description>&lt;p&gt;Hello Sigurd,&lt;/p&gt;
&lt;p&gt;yes, with &lt;strong&gt;CONFIG_SLM_PPP=n&lt;/strong&gt; it is working perfectly fine&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; *** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
00&amp;gt; *** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
00&amp;gt; [00:00:00.255,584] &amp;lt;inf&amp;gt; at_cmd_custom: Custom AT commands enabled with 38 entries.
00&amp;gt; [00:00:00.261,566] &amp;lt;inf&amp;gt; fs_nvs: 2 Sectors of 4096 bytes
00&amp;gt; [00:00:00.261,566] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.261,596] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; [00:00:00.498,992] &amp;lt;inf&amp;gt; slm: lib_modem init: 0
00&amp;gt; [00:00:00.499,511] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [00:00:00.499,511] &amp;lt;inf&amp;gt; slm: Serial LTE Modem
00&amp;gt; [00:00:00.592,895] &amp;lt;inf&amp;gt; nrf_cloud_info: Device ID: 504b5839-3736-4e69-8022-202375aab4b4
00&amp;gt; [00:00:00.598,144] &amp;lt;inf&amp;gt; nrf_cloud_info: IMEI:      350457794629749
00&amp;gt; [00:00:00.690,399] &amp;lt;inf&amp;gt; nrf_cloud_info: UUID:      504b5839-3736-4e69-8022-202375aab4b4
00&amp;gt; [00:00:00.696,136] &amp;lt;inf&amp;gt; nrf_cloud_info: Modem FW:  mfw_nrf9160_1.3.7
00&amp;gt; [00:00:00.696,166] &amp;lt;inf&amp;gt; nrf_cloud_info: Protocol:          MQTT
00&amp;gt; [00:00:00.696,19HTTPS
00&amp;gt; 
00&amp;gt; [00:01:07.955,505] &amp;lt;inf&amp;gt; download_client: Downloading: terminal-modem/delta_1.3.7_to_1.3.7-FOTA-TEST/modem.bin [0]
00&amp;gt; [00:01:08.443,908] &amp;lt;inf&amp;gt; download_client: Connecting to 35.173.69.207
00&amp;gt; [00:01:09.249,908] &amp;lt;inf&amp;gt; download_client: Downloaded 2048/14248 bytes (14%)
00&amp;gt; [00:01:09.250,274] &amp;lt;inf&amp;gt; dfu_target_modem_delta: Modem firmware version: e7a1c54a-b07c-4512-9c3e-8ecbbfe2641d
00&amp;gt; [00:01:10.047,790] &amp;lt;inf&amp;gt; download_client: Downloaded 4096/14248 bytes (28%)
00&amp;gt; [00:01:10.821,014] &amp;lt;inf&amp;gt; download_client: Downloaded 6144/14248 bytes (43%)
00&amp;gt; [00:01:11.179,962] &amp;lt;inf&amp;gt; download_client: Downloaded 8192/14248 bytes (57%)
00&amp;gt; [00:01:11.749,023] &amp;lt;inf&amp;gt; download_client: Downloaded 10240/14248 bytes (71%)
00&amp;gt; [00:01:12.076,934] &amp;lt;inf&amp;gt; download_client: Downloaded 12288/14248 bytes (86%)
00&amp;gt; [00:01:12.797,973] &amp;lt;inf&amp;gt; download_client: Downloaded 14248/14248 bytes (100%)
00&amp;gt; [00:01:12.956,970] &amp;lt;inf&amp;gt; download_client: Download complete
00&amp;gt; [00:01:13.082,550] &amp;lt;inf&amp;gt; dfu_target_modem_delta: Scheduling modem firmware upgrade at next boot&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Not sure what to do with this information, PPP is the only reason for this whole application so I am not able to deactivate it. Does it give any further hint on how to fix it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/526931?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 13:06:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d7970cf-f4e9-488d-b946-de53dc284447</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Could you check if it works when you set&amp;nbsp;CONFIG_SLM_PPP=n&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/526822?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 20:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abbffd66-de3f-440b-9fd7-a98077e9473d</guid><dc:creator>Bernhard</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have tried these configurations already but (although I cann see changes in the generated .config and .hex files) they are not functional at all. Not only is the result of the XFOTA command the same but also &amp;quot;AT+CGCONTRDP=0&amp;quot; still responds with the old DNS address in &amp;quot;DNS_prim_addr&amp;quot; and also in the pppd logfile there is still the original DNS configured.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Bernhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/526745?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 12:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4a38546-f6b2-43bd-add7-877477316cae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Does it help to set these in prj.conf?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1=&amp;quot;8.8.8.8&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/526674?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 05:49:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4694fb03-770e-4fec-bb6f-216bde3a43c7</guid><dc:creator>Bernhard</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;this is the full output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; *** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
00&amp;gt; *** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
00&amp;gt; [00:00:00.255,706] &amp;lt;inf&amp;gt; at_cmd_custom: Custom AT commands enabled with 41 entries.
00&amp;gt; [00:00:00.261,901] &amp;lt;inf&amp;gt; fs_nvs: 2 Sectors of 4096 bytes
00&amp;gt; [00:00:00.261,932] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.261,932] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; [00:00:00.493,988] &amp;lt;inf&amp;gt; nrf_modem_lib_trace: Trace thread ready
00&amp;gt; [00:00:00.501,464] &amp;lt;inf&amp;gt; nrf_modem_lib_trace: Trace level override: 2
00&amp;gt; [00:00:00.502,471] &amp;lt;inf&amp;gt; slm: lib_modem init: 0
00&amp;gt; [00:00:00.503,021] &amp;lt;inf&amp;gt; mcuboot_util: Image index: 0, Swap type: none
00&amp;gt; [00:00:00.503,051] &amp;lt;inf&amp;gt; slm: Serial LTE Modem
00&amp;gt; [00:00:00.597,015] &amp;lt;inf&amp;gt; nrf_cloud_info: Device ID: 504b5839-3736-4e69-8022-202375aab4b4
00&amp;gt; [00:00:00.602,447] &amp;lt;inf&amp;gt; nrf_cloud_info: IMEI:      350457794629749
00&amp;gt; [00:00:00.695,312] &amp;lt;inf&amp;gt; nrf_cloud_info: UUID:      504b5839-3736-4e69-8022-202375aab4b4
00&amp;gt; [00:00:00.701,08MQTT
00&amp;gt; 
00&amp;gt; [00:00:22.069,091] &amp;lt;inf&amp;gt; slm_ppp: Connection up. Starting PPP.
00&amp;gt; [00:00:22.072,265] &amp;lt;inf&amp;gt; slm_ppp: PPP started.
00&amp;gt; [00:01:08.481,658] &amp;lt;inf&amp;gt; download_client: Downloading: terminal-modem/delta_1.3.7_to_1.3.7-FOTA-TEST/modem.bin [0]
00&amp;gt; [00:02:08.506,683] &amp;lt;err&amp;gt; download_client: DNS lookup failed http://embacher.pythonanywhere.com
00&amp;gt; [00:02:08.506,744] &amp;lt;err&amp;gt; fota_download: Download client error&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM XFOTA always fails</title><link>https://devzone.nordicsemi.com/thread/526662?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 00:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e523297a-589c-4bac-83a2-5b77ae45f51c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user=""]Via RTT-Logging there is an error &amp;quot;DNS lookup failed&amp;quot;[/quote]
&lt;p&gt;Could you post the log from RTT that shows this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>