<?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>Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65821/failed-to-open-at-socket-err--12</link><description>Hello, 
 
 I developed board with NRF9160 chip and I am facing issue with &amp;quot;at_cmd: Failed to open AT socket (err:-12)&amp;quot;, i am not able to communicate with modem. It is not working with any of examples and also asset_tracker application. I am able to update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Sep 2020 11:27:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65821/failed-to-open-at-socket-err--12" /><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269634?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 11:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa69ef7a-037b-4b13-a1f4-93ff425c5a95</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Great! While waiting it would be good if you can reheat you board to ensure that the SiP is correctly soldered.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269612?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 10:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1196e49c-2a33-4da9-9cfe-7a4bdc6ae356</guid><dc:creator>oKruszek</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for advice! I sent the our custom board for review, and also check if the NCS 1.3.0 works with FW 1.1.0 and it seems that everything works ok ( i checked connection, fota update, and interrupts )&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;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: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269381?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 13:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e943a45-96fc-4c18-9c7e-28969f020a24</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Can you provide the full markings on the device you have? Have you had a review of your custom board? If not, I encourage you to register a support ticket to get a HW review. Have you verified that the board is sufficiently soldered? And that the layout is according to our reference (Hardware files) e.g. &lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91/Download#infotabs"&gt;Thingy:91&lt;/a&gt; or &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF9160-DK/Download#infotabs"&gt;nRF9160DK&lt;/a&gt;&amp;nbsp;?&lt;br /&gt;&lt;br /&gt;Does your application, based on NCS 1.3.0, work with the DK running modem fw 1.1.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269323?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 09:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91b637c1-577d-4148-8e28-4eac1e5bf138</guid><dc:creator>oKruszek</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just tried at_client, but i have ERROR on every AT commands, the output below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1 ***&lt;br /&gt;Flash regions..Domain..Permissions&lt;br /&gt;00 00 0x00000 0x08000 .Secure..rwxl&lt;br /&gt;01 31 0x08000 0x100000 .Non-Secure.rwxl&lt;/p&gt;
&lt;p&gt;Non-secure callable region 0 placed in flash region 0 with size 32.&lt;/p&gt;
&lt;p&gt;SRAM region..Domain..Permissions&lt;br /&gt;00 07 0x00000 0x10000 .Secure..rwxl&lt;br /&gt;08 31 0x10000 0x40000 .Non-Secure.rwxl&lt;/p&gt;
&lt;p&gt;Peripheral..Domain..Status&lt;br /&gt;00 NRF_P0 Non-Secure.OK&lt;br /&gt;01 NRF_CLOCK Non-Secure.OK&lt;br /&gt;02 NRF_RTC0 Non-Secure.OK&lt;br /&gt;03 NRF_RTC1 Non-Secure.OK&lt;br /&gt;04 NRF_NVMC Non-Secure.OK&lt;br /&gt;05 NRF_UARTE1 Non-Secure.OK&lt;br /&gt;06 NRF_UARTE2 Secure..SKIP&lt;br /&gt;07 NRF_TWIM2 Non-Secure.OK&lt;br /&gt;08 NRF_SPIM3 Non-Secure.OK&lt;br /&gt;09 NRF_TIMER0 Non-Secure.OK&lt;br /&gt;10 NRF_TIMER1 Non-Secure.OK&lt;br /&gt;11 NRF_TIMER2 Non-Secure.OK&lt;br /&gt;12 NRF_SAADC Non-Secure.OK&lt;br /&gt;13 NRF_PWM0 Non-Secure.OK&lt;br /&gt;14 NRF_PWM1 Non-Secure.OK&lt;br /&gt;15 NRF_PWM2 Non-Secure.OK&lt;br /&gt;16 NRF_PWM3 Non-Secure.OK&lt;br /&gt;17 NRF_WDT Non-Secure.OK&lt;br /&gt;18 NRF_IPC Non-Secure.OK&lt;br /&gt;19 NRF_VMC Non-Secure.OK&lt;br /&gt;20 NRF_FPU Non-Secure.OK&lt;br /&gt;21 NRF_EGU1 Non-Secure.OK&lt;br /&gt;22 NRF_EGU2 Non-Secure.OK&lt;br /&gt;23 NRF_DPPIC Non-Secure.OK&lt;br /&gt;24 NRF_GPIOTE1 Non-Secure.OK&lt;br /&gt;25 NRF_REGULATORS Non-Secure.OK&lt;/p&gt;
&lt;p&gt;SPM: NS image at 0xc000&lt;br /&gt;SPM: NS MSP at 0x20027aa8&lt;br /&gt;SPM: NS reset vector at 0xd08d&lt;br /&gt;SPM: prepare to jump to Non-Secure image.&lt;br /&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1 ***&lt;br /&gt;The AT host sample started&lt;/p&gt;
&lt;p&gt;AT&lt;br /&gt;ERROR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269319?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 09:18:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70a410fd-f248-45c1-8ef3-c5f40c8998e5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Are you getting any error codes?&lt;/p&gt;
&lt;p&gt;Are you able to run a standard sample from NCS 1.3.0 on you custom board e.g. at_client?&lt;/p&gt;
[quote user="kruszek90"]I tried with the NCS 1.3.0 and newest firmware, the response is above yours.[/quote]
&lt;p&gt;&amp;nbsp;Did not see that comment while writing my previous response.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269318?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 09:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b5147c-e0e7-4c82-894b-f8a1da7ccb54</guid><dc:creator>oKruszek</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried with the NCS 1.3.0 and newest firmware, the response is above yours.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269311?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 08:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9ff570-67bd-4170-b12b-04d8eee896a3</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Michal,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf9160/COMP/nrf9160/nrf9160_operator_certifications.html"&gt;Mobile network operator certifications&lt;/a&gt;&amp;nbsp;only mentions modem FW 1.1.0, and not the version of nRF Connect SDK (NCS). NCS has been tested with modem FW 1.3.0 but does not require it to work. You should also be able to run NCS 1.2.0.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please test using NCS 1.2.0 or NCS 1.3.0.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269309?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 08:37:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f3539c8-8b10-40a0-8a74-f6913e8a6e49</guid><dc:creator>oKruszek</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I changed my project to use NVS 1.3.0, and it is not working either. But now i&amp;nbsp;different way because the application hangs on:&lt;/p&gt;
&lt;pre&gt;bsdlib_init(); - when CONFIG_BSD_LIBRARY_SYS_INIT=n&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;With&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;CONFIG_BSD_LIBRARY_SYS_INIT=y&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;the application does not enter main() function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Michal&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269187?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9184754c-25e7-4a52-ab77-8da2fee71d6d</guid><dc:creator>oKruszek</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both are set for 1, and I use that to fetch result:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;err = bsdlib_get_init_ret();&lt;/p&gt;
&lt;p&gt;The result of bsdlib init is sucessfull, at_configure() function fail. &lt;br /&gt;I cannot use the v1.3.0 version because it needs modem firmware in 1.2.0 version, and this version is not approved my Deutche Telekom according to:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcomp_matrix_nrf9160%2FCOMP%2Fnrf9160%2Fnrf9160_operator_certifications.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcomp_matrix_nrf9160%2FCOMP%2Fnrf9160%2Fnrf9160_operator_certifications.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regards,&lt;br /&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269182?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:22:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50454aac-2dbf-49cb-b506-ade433058bf2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there a reason for why you are using NCS v1.1.0? Why not use NCS 1.3.0?&lt;/p&gt;
&lt;p&gt;Depending on how the board files for the custom board is set up, it could be that bsdlib is not initialized. Can check in build/zephyr/.config.&amp;nbsp;What&amp;#39;s the status for CONFIG_BSD_LIBRARY&amp;nbsp;and CONFIG_BSD_LIBRARY_SYS_INIT ?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;
&lt;div&gt;
&lt;dl&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269139?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 11:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2a70e92-0150-4066-9d25-a6526fda8a18</guid><dc:creator>oKruszek</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using the 1.1.0 modem firmware ( due to certification for Deutsche Telekom ) and the same version of NCS v1.1.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;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: Failed to open AT socket (err:-12)</title><link>https://devzone.nordicsemi.com/thread/269137?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 10:51:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ac88e1-08f6-4531-bb84-8cef666d84b3</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Michal,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What version of NCS and modem fw are you running? The error message means:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define	ENOMEM		12	/* Out of memory */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>