<?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 software update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49185/nrf9160-dk-software-update</link><description>I used SES and wrote a printf message at main entrance: when I run in nRF Connect I can see the message that I wrote just after I press the RESET button (OK). Still, as I can&amp;#39;t get a connection to NB-IoT, I decided to roll back to the mfw_nrf9160_0.7</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jul 2019 08:57:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49185/nrf9160-dk-software-update" /><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195880?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 08:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e94f89ed-ba9e-4943-a275-889693c80f5a</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;The at_client example allows you to test the Development Kit&amp;#39;s connectivity to the NB-IoT network. It is the first stage of designing any NB-IoT device, as it allows you to test a device&amp;#39;s ability to attach to the network, the network signal strength and if possible, sending test data to a server (not possible with NB-IoT using Nordic&amp;#39;s at_client example but I have seen other modules that can do this via AT commands).&lt;/p&gt;
&lt;p&gt;You should run this example program first, then move to connecting to the nRF Cloud once you know for certain that the radio connection of your device is working as expected. It works the same way you have mentioned in the beginning of this question, via AT commands such as CFUN and XSYSTEMMODE, except this is the correct program to enter them.&lt;/p&gt;
&lt;p&gt;You will not be able to connect to the nRF Cloud using the at_client example program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195878?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 08:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:698abba1-c800-48ec-97e3-e10d79bb6934</guid><dc:creator>SergioT</dc:creator><description>&lt;p&gt;Does the application at_client work in NB-IoT? Can I connect to nRF Cloud with it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195845?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 07:56:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c155437-6bf8-444d-a092-dd0175811b77</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;/path/to/ncs/nrf/drivers/lte_link_control/lte_lc.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195839?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 07:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a211e62-bc2a-490c-8a23-d90dadd6b33c</guid><dc:creator>SergioT</dc:creator><description>&lt;p&gt;I added the line in prj.conf but I see no change in the project: it still is in LTE mode. Also, I can&amp;#39;t find the file in SES, which I would expect. Where is it included?&lt;/p&gt;
&lt;p&gt;I searched for&amp;nbsp;&lt;span&gt;CONFIG_LTE_NETWORK_MODE_LTE_M in the whole ncs folder and I changed all occurrences to&amp;nbsp;CONFIG_LTE_NETWORK_MODE_NBIOT. Now the unit runs in NB-IoT mode but it resets when connection is achieved. What CGDCONT settings should be done? I beleive it is necessary to define where and how we should connect to... am I wrong?&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195734?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 15:03:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0881649a-5f4b-4a2b-8d5e-f8684a4fd945</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Right, the asset_tracker requires human interaction to pair the device to the nrf cloud. If you want to simply test if the kit can connect to the NB-IoT network, you will need to swap application to the at_client application.&lt;/p&gt;
&lt;p&gt;Otherwise, try adding that line to prj.conf for the asset_tracker and then review the manual on pairing your nRF9160 DK to nRF Cloud. At which point I can not help as I have never connected to nRF Cloud as I do not have access to an NB-IoT network that can utilise MQTT protocols as needed for the asset_tracker application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195728?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 14:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1fe8e30-4a5d-46c5-9c9c-dd8c34ad2d65</guid><dc:creator>SergioT</dc:creator><description>&lt;p&gt;It is the Asset tracker&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195723?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 14:49:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f13ab63-d1b7-4825-bbac-408c933e09f5</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;If you are in fact running the asset_tracker application, please see the following lines in lte_lc.c&lt;br /&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c#L46-L48"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c#L46-L48&lt;/a&gt;&lt;br /&gt;These lines indicate that you need to add an additional line to your prj.conf file to configure the device to NB-IoT in that application. (or any application that directly uses LTE Link Control (lte_lc) to handle modem control)&lt;/p&gt;
&lt;p&gt;Try adding into the prj.conf file:&lt;/p&gt;
&lt;p&gt;CONFIG_LTE_NETWORK_MODE_NBIOT=y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195715?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 14:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d72684-86d3-46a2-a711-0397f2500d3f</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;What application are you running?&lt;/p&gt;
&lt;pre&gt;nrf_cloud_connect failed: 22&lt;/pre&gt;
&lt;p&gt;Unless I am mistaken, this is an error message for the asset_tracker application which handles modem control via lte_lc.c. It is therefore all scripted code and doesn&amp;#39;t require manual at commands.&lt;/p&gt;
&lt;p&gt;The above at commands are for the at_client application which allows you to manually configure the modem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t mistaken, that error is only used in two files in the entire ncs directory, lte_ble_gateway main.c and asset_tracker main.c, you must have one of these, 99% likely it&amp;#39;s the asset_tracker&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195712?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 14:36:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9c6380-ff02-41ab-a939-605ad8dc60cb</guid><dc:creator>SergioT</dc:creator><description>&lt;p&gt;Sorry, I can&amp;#39;t answer to your comment because I see no REPLY button, so I do it here:&lt;/p&gt;
&lt;p&gt;The system crashes the moment a connection is established:&lt;/p&gt;
&lt;pre&gt;AT+CFUN=1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CEREG: 2,&amp;quot;CB52&amp;quot;,&amp;quot;023AAF11&amp;quot;,9&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CGEnrf_cloud_connect failed: 22&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;V: ME PDN ACT 0,0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CNEC_ESM: 50,0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre&gt;+CEREG: 5,&amp;quot;CB52&amp;quot;,&amp;quot;023AAF11&amp;quot;,9&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CIND: &amp;quot;service&amp;quot;,1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CIND: &amp;quot;roam&amp;quot;,1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+COPS=3,2&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;+CGEV: ME PDN DEACT 0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CEREG: 0,&amp;quot;CB52&amp;quot;,&amp;quot;023AAF11&amp;quot;,9&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CIND: &amp;quot;service&amp;quot;,0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CIND: &amp;quot;roam&amp;quot;,0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;+CGEV: ME DETACH&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;%CESQ: 255,0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre&gt;%XSIM: 1&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;%XSIM: 0&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char NUL"&gt;&lt;/pre&gt;
&lt;pre&gt;OK&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;AT+CGDCONT?&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;***** Booting Zephyr OS v1.14.99-ncs1 *****&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;Flash region(...)&lt;/pre&gt;
&lt;p&gt;Maybe this trace can help to find identifying the problem...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195682?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 13:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3736e75-7874-4a7b-b321-74108c9b4263</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;You do not need to reset the whole device. Only enter the following commands after reseting the Development Kit:&lt;/p&gt;
&lt;p&gt;AT+CFUN=4 //ensure the modem is offline&lt;/p&gt;
&lt;p&gt;AT%XSYSTEMMODE=0,1,0,0 //set modem to NB-IoT&lt;br /&gt;AT+CFUN=1 //start modem&lt;/p&gt;
&lt;p&gt;This will start the modem and it will begin trying to attach to the LTE network for NB-IoT. There is no need to reset the device again after this as this will just place the modem back into CFUN=4 mode and clear the XSYSTEMMODE selection.&lt;/p&gt;
&lt;p&gt;I do not have an answer to why the LTE preference is not working but I don&amp;#39;t use it in my application, I just specify 0,1,0,0 whenever I need to swap to LTE from GPS mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can now run the command AT+CEREG? to check if the device has been able to connect to the network, be aware this may take a few minutes depending on the network coverage and signal strength.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195675?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 13:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61ecf25a-d1ce-4e06-8670-dce4d30bfa7b</guid><dc:creator>SergioT</dc:creator><description>&lt;p&gt;So, this is like a Softdevice in the nRF51 family: I wondered already. Thanks.&lt;/p&gt;
&lt;p&gt;However, I already found out why the unit doesn&amp;#39;t connect: AT%XSYSTEMMODE? returns 1,0,0,0, even I make the sequence below:&lt;/p&gt;
&lt;p&gt;AT+CFUN=4&lt;br /&gt;AT%XSYSTEMMODE=0,1,0,2&lt;br /&gt;AT+CFUN=0&lt;/p&gt;
&lt;p&gt;After reset and start, I send AT%XSYSTEMOMODE? and I get 1,0,0,0!&lt;/p&gt;
&lt;p&gt;If I send:&lt;/p&gt;
&lt;p&gt;AT+CFUN=4&lt;br /&gt;AT%XSYSTEMMODE=0,1,0,2&lt;br /&gt;AT+CFUN=1&lt;/p&gt;
&lt;p&gt;if I am fast enough and send AT%XSYSTEMMMODE? I get 0,1,0,2 but a few seconds later the system resets and then, after start (AT+CFUN=1) I get 1,0,0,0 if I ask for system mode.&lt;/p&gt;
&lt;p&gt;It just doesn&amp;#39;t accept 0,1,0,2!&lt;/p&gt;
&lt;p&gt;What can I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK software update</title><link>https://devzone.nordicsemi.com/thread/195618?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 11:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4333909-5477-4201-b77f-416d73b9f215</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;mfw is the modem firmware for the nRF9160 radio modem, it is not the same as the application firmware which is written to the partitioned flash memory. Changes to the modem firmware will not change the firmware you have loaded using SES; unless you reflash the flash memory using SES or CLI, nothing will change in that regard.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>