<?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>Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116991/problem-doing-full-modem-update-on-nrf9160-over-the-air</link><description>Hi 
 
 I am trying to perform a full modem update on my nrf9160 DK board. 
 I started at v1.3.4 and successfully used the partial update method to go to 1.3.5 
 I then used partial update again to go to 1.3.6 
 
 I then tried to do a full update to 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jan 2025 15:51:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116991/problem-doing-full-modem-update-on-nrf9160-over-the-air" /><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/519838?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 15:51:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52d09da7-7ad0-4152-80ff-0e4e247e1b57</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="oys"]&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/cellular/http_update/modem_delta_update/README.html"&gt;nrf\samples\cellular\http_update\modem_delta_update&lt;/a&gt; [/quote]
&lt;p&gt;This sample should work. Are you able to use this to update the modem from 1.3.6. to 1.3.7? You should be able to use&amp;nbsp;mfw_nrf9160_update_from_1.3.6_to_1.3.7.bin&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/518297?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2025 16:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09de06ce-4487-476e-9aff-aba4a5d90bd3</guid><dc:creator>Mark Heaps</dc:creator><description>&lt;p&gt;Hi Oyvind&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try. Can you confirm exactly which sample I should use, and the test procedure, including the correct&amp;nbsp; file to use from the update package&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/518020?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 18:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cba4a58-435b-4455-ab9f-ce5417aea780</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="Mark Heaps"]The application I am using is our own custom application, not one of the modem update samples. However it does use as its basis&amp;nbsp;[/quote]
&lt;p&gt;Does the sample work as expected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/517287?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 15:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebfd508-412e-4fc4-bfc1-556529d63ffe</guid><dc:creator>Mark Heaps</dc:creator><description>&lt;p&gt;The application I am using is our own custom application, not one of the modem update samples. However it does use as its basis&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I load the full modem&amp;nbsp; upgrade file onto our LWM2M server, and use it to trigger a firmware download.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The download completes but the failure occurs before it tries to do anything with the modem, when it is trying to decode the CBOR header&amp;nbsp; - see trace attached and above.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The same method works for MCUboot image upgrades AND partial modem upgrades, so it looks to me more like I am using the wrong file, or it is somehow not correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/517162?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 09:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea45289a-023a-4964-8c58-32d1d38cbdcf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, Michal is currently out of office and I have been asked follow-up. Thanks for your patience with this ticket over the Chistmas holiday.&lt;br /&gt;&lt;br /&gt;Are you able to provide more information on your application, i.e. are you running the modem update samples? E.g&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/cellular/http_update/modem_delta_update/README.html"&gt;nrf\samples\cellular\http_update\modem_delta_update&lt;/a&gt; or&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/cellular/http_update/modem_full_update/README.html"&gt;nrf\samples\cellular\http_update\modem_full_update&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/nrf_modem/doc/modem_trace.html"&gt;please provide a modem trace during the modem update&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/515669?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 09:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0837ae6c-525d-45d8-9638-edff4815885c</guid><dc:creator>Mark Heaps</dc:creator><description>&lt;p&gt;Further information: I enabled zcbor trace and repeated the download. The following is a fragment of the trace at the end.&lt;/p&gt;
&lt;pre&gt;[15:36:49.865,234] &amp;lt;inf&amp;gt; download_client: Downloaded 2085888/2089453 bytes (99%)
[15:36:50.110,839] &amp;lt;inf&amp;gt; download_client: Downloaded 2086400/2089453 bytes (99%)
[15:36:51.153,259] &amp;lt;inf&amp;gt; download_client: Downloaded 2086912/2089453 bytes (99%)
[15:36:51.444,702] &amp;lt;inf&amp;gt; download_client: Downloaded 2087424/2089453 bytes (99%)
[15:36:51.693,634] &amp;lt;inf&amp;gt; download_client: Downloaded 2087936/2089453 bytes (99%)
[15:36:51.922,454] &amp;lt;inf&amp;gt; download_client: Downloaded 2088448/2089453 bytes (99%)
uart:~$ encode_lwm2m_senml
New backup (level zu)
rem: zu, cur: 0x3ef, ec: 0xzx, err: 152, value_encode_len
encode_record
New backup (level zu)
rem: zu, cur: 0x3ed, ec: 0xzx, err: 165, value_encode_len
encode_repeated_record_bn
rem: zu, cur: 0x3ec, ec: 0xzx, err: 33, value_encode_len
rem: zu, cur: 0x3eb, ec: 0xzx, err: 101, value_encode_len
encode_repeated_record_bn success
encode_repeated_record_n
rem: zu, cur: 0x3e5, ec: 0xzx, err: 0, value_encode_len
rem: zu, cur: 0x3e4, ec: 0xzx, err: 97, value_encode_len
encode_repeated_record_n success
encode_repeated_record_union
rem: zu, cur: 0x3e2, ec: 0xzx, err: 2, value_encode_len
rem: zu, cur: 0x3e1, ec: 0xzx, err: 2, value_encode_len
encode_repeated_record_union success
Encoded zu elements.
Process backup (level zu, flags 0x1)
list_count: zu
rem: zu, cur: 0x3ed, ec: 0xzx, err: 163, value_encode_len
encode_record success
Encoded zu elements.
Process backup (level zu, flags 0x0)
list_count: zu
rem: zu, cur: 0x3ef, ec: 0xzx, err: 129, value_encode_len
encode_lwm2m_senml success
[15:36:52.179,290] &amp;lt;inf&amp;gt; download_client: Downloaded 2088960/2089453 bytes (99%)
[15:36:52.594,299] &amp;lt;inf&amp;gt; download_client: Downloaded 2089453/2089453 bytes (100%)
[15:36:52.594,390] &amp;lt;inf&amp;gt; download_client: Download complete
[15:36:52.594,390] &amp;lt;inf&amp;gt; dfu_target_full_modem: Modem firmware downloaded to flash device
[15:36:52.702,301] &amp;lt;inf&amp;gt; lwm2m_firmware: FOTA download finished
[15:36:52.888,458] &amp;lt;inf&amp;gt; app_lwm2m_fsm: FOTA download ready for instance 0, dfu_type 4
[15:36:53.015,014] &amp;lt;dbg&amp;gt; app_lwm2m_fsm: rd_client_event: Registration update started
[15:36:53.827,667] &amp;lt;inf&amp;gt; net_lwm2m_engine: Connected, sock id 0
[15:36:54.174,713] &amp;lt;inf&amp;gt; net_lwm2m_rd_client: Update callback (code:2.4)
[15:36:54.174,774] &amp;lt;dbg&amp;gt; app_lwm2m_fsm: rd_client_event: Registration update complete
[15:36:54.174,804] &amp;lt;inf&amp;gt; net_lwm2m_rd_client: Update Done
[15:36:55.317,169] &amp;lt;inf&amp;gt; app_lwm2m_fsm: FOTA Update request for instance 0
[15:36:55.317,230] &amp;lt;inf&amp;gt; lwm2m_firmware: Delay 2 s Update instance 0 
[15:36:55.317,474] &amp;lt;inf&amp;gt; app_lwm2m_fsm: lwm2m: client state UPDATE_FIRMWARE
[15:36:55.317,535] &amp;lt;inf&amp;gt; net_lwm2m_rd_client: Stop LWM2M Client: urn:imei:351901930692193
[15:36:55.463,470] &amp;lt;inf&amp;gt; app_modem_mgmt: MON: Received +CGEV notification: +CGEV: ME PDN DEACT 0

[15:36:55.463,500] &amp;lt;inf&amp;gt; app_lwm2m_client: PDN: cid=0 event=2 reason=0
[15:36:55.563,690] &amp;lt;dbg&amp;gt; app_lwm2m_fsm: lwm2m_lte_reg_handler_notify: LTE NW status: 0
[15:36:55.663,665] &amp;lt;inf&amp;gt; app_modem_mgmt: MON: Received +CGEV notification: +CGEV: ME DETACH

[15:36:55.663,696] &amp;lt;inf&amp;gt; app_lwm2m_client: PDN: cid=0 event=5 reason=0
[15:36:56.914,428] &amp;lt;inf&amp;gt; app_modem_mgmt: MON: rsrp=115 dBm rsrq=1080 dB %CESQ: 255,0,255,0

[15:36:57.014,434] &amp;lt;inf&amp;gt; app_modem_mgmt: MON: snr=103 dB srx=32640 cd=255 %XSNRSQ: 127,0,32767,255

[15:36:57.317,321] &amp;lt;inf&amp;gt; app_lwm2m_fsm: FOTA Update request for instance 0
[15:36:57.317,352] &amp;lt;inf&amp;gt; fota_download_full_modem: Applying full modem firmware update from external flash
[15:36:57.337,310] &amp;lt;err&amp;gt; lte_lc: Failed to enable eDRX, reported error: -12
uart:~$ decode_Wrapper
zcbor_tag_expect zcbor_tag_decode ZCBOR_ERR(10) ZCBOR_FAIL rem: zu, cur: 0x400, ec: 0xzx, err: 113, WEST_TOPDIR/modules/lib/zcbor/src/zcbor_decode.c:51
ZCBOR_FAIL rem: zu, cur: 0x400, ec: 0xzx, err: 113, WEST_TOPDIR/modules/lib/zcbor/src/zcbor_decode.c:1484
ZCBOR_FAIL rem: zu, cur: 0x400, ec: 0xzx, err: 113, WEST_TOPDIR/modules/lib/zcbor/src/zcbor_decode.c:1500
rem: zu, cur: 0x400, ec: 0xzx, err: 113, WEST_TOPDIR/nrf/subsys/dfu/fmfu_fdev/src/modem_update_decode.c:187
decode_Wrapper error: ZCBOR_ERR_WRONG_TYPE
[15:37:45.883,850] &amp;lt;err&amp;gt; fmfu_fdev: Unable to decode wrapper
[15:37:45.883,850] &amp;lt;err&amp;gt; fota_download_full_modem: fmfu_fdev_load failed: -22
[15:37:46.186,676] &amp;lt;inf&amp;gt; app_lwm2m_fsm: FOTA failure 0 by status 8
[15:37:46.186,706] &amp;lt;wrn&amp;gt; app_lwm2m_fsm: FOTA unexpected new event type MODEM_RECONNECT&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/515401?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 08:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd630356-e83b-45e9-b07e-82df4bd7082b</guid><dc:creator>Mark Heaps</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried with edrx and PSM disabled. bith together and idependently.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The result is always the same.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The failure seems to be when it tries to decode the CBOR wrapper&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[00:17:24.000,488] &amp;lt;err&amp;gt; fmfu_fdev: Unable to decode wrapper&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So either the file I&amp;#39;m using isn&amp;#39;t correct, or there has been some corruption.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to use mcumgr to do the modem upgrade with the same file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/513728?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2024 01:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15aa97c2-2646-4dcd-a119-298a27f44cc7</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So the first error is 115, which means &amp;quot;network is down&amp;quot;. Looks like the modem is disconnecting for some reason. I wonder if there&amp;#39;s some timeout.&lt;/p&gt;
&lt;p&gt;Could you try to turn off PSM and eDRX and test again?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem doing full modem update on nrf9160 over the air</title><link>https://devzone.nordicsemi.com/thread/513376?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 09:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53e5304a-6c13-495f-ad1e-ed8124d2268f</guid><dc:creator>Mark Heaps</dc:creator><description>&lt;p&gt;Sorry I forgot some other detail.&lt;/p&gt;
&lt;p&gt;I am using SDK 2.7.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>