<?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>nrf9160 DK LWM2M Client sample: Unable to init modem library (-116)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84418/nrf9160-dk-lwm2m-client-sample-unable-to-init-modem-library--116</link><description>Hi all, 
 I&amp;#180;m trying to test the LWM2M Client sample. 
 After following all the steps explained in this web , when I run it and connect to the DevKit via Putty, I get the following error message after rebooting: 
 
 Unable to init modem library (-116</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Feb 2022 07:53:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84418/nrf9160-dk-lwm2m-client-sample-unable-to-init-modem-library--116" /><item><title>RE: nrf9160 DK LWM2M Client sample: Unable to init modem library (-116)</title><link>https://devzone.nordicsemi.com/thread/352485?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 07:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79a115de-3cbe-44db-8a74-f85c66a81651</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using an older nRF9160-DK?&lt;/p&gt;
&lt;p&gt;Could you share which version of the DK, or the IC itself that you are using?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 DK LWM2M Client sample: Unable to init modem library (-116)</title><link>https://devzone.nordicsemi.com/thread/352446?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 20:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea743c4-a09b-425c-9692-3d6041c3f3b9</guid><dc:creator>jjvicentenavarrete</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;m using the latest FW available. (v1.3.1)&lt;/p&gt;
&lt;p&gt;AT_CLIENT sample does not work as well. All I get is &amp;quot;ERROR&amp;quot; after sending &amp;quot;AT&amp;quot; or other command.&lt;/p&gt;
&lt;p&gt;This is the output I get:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.7.0-ncs1  ***
Flash regions           Domain          Permissions
00 01 0x00000 0x10000   Secure          rwxl
02 31 0x10000 0x100000  Non-Secure      rwxl

Non-secure callable region 0 placed in flash region 1 with size 32.

SRAM region             Domain          Permissions
00 07 0x00000 0x10000   Secure          rwxl
08 31 0x10000 0x40000   Non-Secure      rwxl

Peripheral              Domain          Status
00 NRF_P0               Non-Secure      OK
01 NRF_CLOCK            Non-Secure      OK
02 NRF_RTC0             Non-Secure      OK
03 NRF_RTC1             Non-Secure      OK
04 NRF_NVMC             Non-Secure      OK
05 NRF_UARTE1           Non-Secure      OK
06 NRF_UARTE2           Secure          SKIP
07 NRF_TWIM2            Non-Secure      OK
08 NRF_SPIM3            Non-Secure      OK
09 NRF_TIMER0           Non-Secure      OK
10 NRF_TIMER1           Non-Secure      OK
11 NRF_TIMER2           Non-Secure      OK
12 NRF_SAADC            Non-Secure      OK
13 NRF_PWM0             Non-Secure      OK
14 NRF_PWM1             Non-Secure      OK
15 NRF_PWM2             Non-Secure      OK
16 NRF_PWM3             Non-Secure      OK
17 NRF_WDT              Non-Secure      OK
18 NRF_IPC              Non-Secure      OK
19 NRF_VMC              Non-Secure      OK
20 NRF_FPU              Non-Secure      OK
21 NRF_EGU0             Non-Secure      OK
22 NRF_EGU1             Non-Secure      OK
23 NRF_EGU2             Non-Secure      OK
24 NRF_EGU3             Non-Secure      OK
25 NRF_EGU4             Non-Secure      OK
26 NRF_EGU5             Non-Secure      OK
27 NRF_DPPIC            Non-Secure      OK
28 NRF_REGULATORS       Non-Secure      OK
29 NRF_PDM              Non-Secure      OK
30 NRF_I2S              Non-Secure      OK
31 NRF_GPIOTE1          Non-Secure      OK

SPM: NS image at 0x10000
SPM: NS MSP at 0x200185f0
SPM: NS reset vector at 0x11d5d
SPM: prepare to jump to Non-Secure image.
*** Booting Zephyr OS build v2.7.0-ncs1  ***
The AT host sample started
ERROR   //Local echo is deactivated. Command sent was AT
ERROR   //Local echo is deactivated. Command sent was AT
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Juanjo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 DK LWM2M Client sample: Unable to init modem library (-116)</title><link>https://devzone.nordicsemi.com/thread/351514?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 12:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cbd9dcf-d775-4e56-9de0-74bb4ffbff61</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the expected log from this sample:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.7.0-ncs1  ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0x10000
*** Booting Zephyr OS build v2.7.0-ncs1  ***
Flash regions           Domain          Permissions
00 03 0x00000 0x20000   Secure          rwxl
04 31 0x20000 0x100000  Non-Secure      rwxl

Non-secure callable region 0 placed in flash region 3 with size 32.

SRAM region             Domain          Permissions
00 07 0x00000 0x10000   Secure          rwxl
08 31 0x10000 0x40000   Non-Secure      rwxl

Peripheral              Domain          Status
00 NRF_P0               Non-Secure      OK
01 NRF_CLOCK            Non-Secure      OK
02 NRF_RTC0             Non-Secure      OK
03 NRF_RTC1             Non-Secure      OK
04 NRF_NVMC             Non-Secure      OK
05 NRF_UARTE1           Non-Secure      OK
06 NRF_UARTE2           Secure          SKIP
07 NRF_TWIM2            Non-Secure      OK
08 NRF_SPIM3            Non-Secure      OK
09 NRF_TIMER0           Non-Secure      OK
10 NRF_TIMER1           Non-Secure      OK
11 NRF_TIMER2           Non-Secure      OK
12 NRF_SAADC            Non-Secure      OK
13 NRF_PWM0             Non-Secure      OK
14 NRF_PWM1             Non-Secure      OK
15 NRF_PWM2             Non-Secure      OK
16 NRF_PWM3             Non-Secure      OK
17 NRF_WDT              Non-Secure      OK
18 NRF_IPC              Non-Secure      OK
19 NRF_VMC              Non-Secure      OK
20 NRF_FPU              Non-Secure      OK
21 NRF_EGU0             Non-Secure      OK
22 NRF_EGU1             Non-Secure      OK
23 NRF_EGU2             Non-Secure      OK
24 NRF_EGU3             Non-Secure      OK
25 NRF_EGU4             Non-Secure      OK
26 NRF_EGU5             Non-Secure      OK
27 NRF_DPPIC            Non-Secure      OK
28 NRF_REGULATORS       Non-Secure      OK
29 NRF_PDM              Non-Secure      OK
30 NRF_I2S              Non-Secure      OK
31 NRF_GPIOTE1          Non-Secure      OK

SPM: NS image at 0x20200
SPM: NS MSP at 0x20026698
SPM: NS reset vector at 0x2e4cd
SPM: prepare to jump to Non-Secure image.
*** Booting Zephyr OS build v2.7.0-ncs1  ***


[00:00:00.007,232] &amp;lt;inf&amp;gt; app_lwm2m_client: Run LWM2M client
[00:00:00.209,655] &amp;lt;inf&amp;gt; app_lwm2m_client: Initializing modem.
[00:00:00.213,531] &amp;lt;inf&amp;gt; app_lwm2m_client: endpoint: urn:imei:352656109495450
[00:00:00.218,139] &amp;lt;dbg&amp;gt; gps_module.initialise_gps: GPS device found: NRF9160_GPS
[00:00:00.231,903] &amp;lt;inf&amp;gt; lwm2m_firmware: Update Counter: current 0, update 0
[00:00:00.231,933] &amp;lt;inf&amp;gt; lwm2m_firmware: Image is not confirmed OK
[00:00:00.231,994] &amp;lt;inf&amp;gt; lwm2m_firmware: Marked image as OK
[00:00:00.232,543] &amp;lt;inf&amp;gt; lwm2m_firmware: Update Counter updated
[00:00:00.232,574] &amp;lt;inf&amp;gt; lwm2m_firmware: Firmware updated successfully
[00:00:00.465,332] &amp;lt;inf&amp;gt; app_lwm2m_client: Connecting to LTE network.
[00:00:00.465,362] &amp;lt;inf&amp;gt; app_lwm2m_client: This may take several minutes.
[00:00:02.651,947] &amp;lt;inf&amp;gt; app_lwm2m_client: Connected to LTE network
[00:00:02.653,015] &amp;lt;inf&amp;gt; net_lwm2m_rd_client: Start LWM2M Client: urn:imei:352656109495450
[00:00:03.507,659] &amp;lt;inf&amp;gt; net_lwm2m_rd_client: RD Client started with endpoint &amp;#39;urn:imei:352656109495450&amp;#39; with client lifetime 0
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which modem fw are you using? are you sure you&amp;#39;re on the latest version (v1.3.1 at the time of writing this response)&lt;/p&gt;
&lt;p&gt;Does any other samples, like the at_client + LTE Link Monitor work at your end?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>