<?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 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95764/nrf9160-unable-to-connect-when-all-bands-are-enabled</link><description>nrf9160 fails to form a connection when all bands are enabled, and the available band is higher up in the list. Following was the exact test scenerio: 
 Connection attempt: 
 Modem Firmware Version: 1.3.0 
 Config: AT%%XSYSTEMMODE=1,1,0,1 #ltm and nbiot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Feb 2023 08:26:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95764/nrf9160-unable-to-connect-when-all-bands-are-enabled" /><item><title>RE: nrf9160 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/409755?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 08:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a43de3ab-4427-4f9c-8d3a-9438426109b2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="Umer Mahmood"]We did the tests again and this time with a firmware where we power cycle nrf91 instead of soft resets. This seems to have rectified the problem mentioned in the ticket.&amp;nbsp;[/quote]
&lt;p&gt;That is good news!&lt;/p&gt;
[quote user="Umer Mahmood"]For certification tests, could you please mention if there are any other configurations that we should keep in mind or maybe any useful link related to nrf91 certification tests?[/quote]
&lt;p&gt;The guidelines has alot of information:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf91/struct/nrf91_guidelines.html?cp=2_0_6"&gt;https://infocenter.nordicsemi.com/topic/struct_nrf91/struct/nrf91_guidelines.html?cp=2_0_6&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As well as this white paper:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_044/WP/nwp_044/intro.html?cp=18_0"&gt;https://infocenter.nordicsemi.com/topic/nwp_044/WP/nwp_044/intro.html?cp=18_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, these might not be that relevant for certification. What I can say is that you can always contact us if you run into any issues.&lt;/p&gt;
&lt;p&gt;Hope you have a wonderful day!&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 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/409642?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 14:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8880997f-363c-4793-99d8-837fecfbe7bc</guid><dc:creator>Umer Mahmood</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;We did the tests again and this time with a firmware where we power cycle nrf91 instead of soft resets. This seems to have rectified the problem mentioned in the ticket.&amp;nbsp;&lt;br /&gt;For certification tests, could you please mention if there are any other configurations that we should keep in mind or maybe any useful link related to nrf91 certification tests?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405874?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2023 15:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df0eed86-d8de-459e-9aa1-31eea16383ea</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Always happy to help. Please let me know if any issues occur.&lt;/p&gt;
&lt;p&gt;Hope you have a wonderful weekend!&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 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405748?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 19:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aad421bc-5867-4e88-8810-b57733bf00f7</guid><dc:creator>Umer Mahmood</dc:creator><description>&lt;p&gt;Thank you for the valueable feedback. This seems to be the problem. After the modem was unable to connect I did a power cycle and applied a band lock with fewer bands this time. After power cycle connection attempt was successfull, I assumed no band lock was the problem. But&amp;nbsp;as you mention it&amp;nbsp;could be the&amp;nbsp; power cycle which actually solved the problem.&amp;nbsp;&lt;br /&gt;I will get back and confirm after testing again in the lab.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405664?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 12:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af408df6-83b1-47f8-81a1-3b2069ab7bd4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="Umer Mahmood"]I was not aware of this reset loop. We do not reset between each test, but we do reset &lt;em&gt;(without doing a CFUN=0 or 4)&lt;/em&gt; whenever we get a connection failure response. I have to check if this reset loop could be the cause.[/quote]
&lt;p&gt;When you listed the amount of RF bands that you were using, it seems to fail on the 7th, which is the magic number for reset loop detection mechanism for newer mfw versions. It could be this that is blocking you. If you power cycle the nRF91 between each band increment, you should be able to circumvent the reset loop detection.&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 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405536?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 16:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e494764-69a0-457c-9ce4-738b79f06a20</guid><dc:creator>Umer Mahmood</dc:creator><description>&lt;p&gt;I was not aware of this reset loop. We do not reset between each test, but we do reset &lt;em&gt;(without doing a CFUN=0 or 4)&lt;/em&gt; whenever we get a connection failure response. I have to check if this reset loop could be the cause.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405513?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 14:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc66bba-ef2f-4fbd-bd2d-0de18b89cfa6</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 resetting the nRF9160 between each test? If so, you can get into this reset loop restriction:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_042/WP/nwp_042/intro.html?cp=2_0_6_0"&gt;https://infocenter.nordicsemi.com/topic/nwp_042/WP/nwp_042/intro.html?cp=2_0_6_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Umer Mahmood"]There is a factory reset command &lt;code&gt;(&lt;/code&gt;AT%XFACTORYRESET=0&lt;code&gt;), &lt;/code&gt;does this reset the historical data?[/quote]
&lt;p&gt;This will place the nRF9160 into a factory mode, clearing such data.&lt;/p&gt;
[quote user="Umer Mahmood"]I will try to get those logs in the next testing session.[/quote]
&lt;p&gt;This would be very helpful, especially with these AT commands enabled (AT+CMEE=1 + AT+CNEC=24):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mobile_termination_errors/mob_termination_errors.html?cp=2_1_8"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mobile_termination_errors/mob_termination_errors.html?cp=2_1_8&lt;/a&gt;&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 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405430?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 10:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77e919b-a718-46e5-bdf5-e231d041ca8e</guid><dc:creator>Umer Mahmood</dc:creator><description>&lt;p&gt;This makes sense. What I understand from your feedback that historical data is considered:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If we test modem on band 1&lt;/li&gt;
&lt;li&gt;Then make band 1 unavailable in the test envoirnment and instead make band 2 available&lt;/li&gt;
&lt;li&gt;Modem will first try to find band 1 and afterwards will try to look at band 2&lt;/li&gt;
&lt;li&gt;.....&lt;/li&gt;
&lt;li&gt;.....&lt;/li&gt;
&lt;li&gt;Moving on,&amp;nbsp;after testing connection to band 8.&lt;/li&gt;
&lt;li&gt;When we try to test band 12.&lt;/li&gt;
&lt;li&gt;The modem must be trying to first look for 1,2,3,4,5,8 since it was able to connect to them previously, and finally it should start looking for band 12. After a long time, but eventually it should be able to connect to band 12.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This does make sense, but&amp;nbsp; if this was the case,&amp;nbsp;shouldn&amp;#39;t modem&amp;nbsp;have only responded with CEREG 2 (connection in progress/searching) until it finally is able to connect? &lt;em&gt;(maybe we didn&amp;#39;t wait long enough.)&lt;/em&gt;. But&amp;nbsp;from the limited logs I have modem only responded with CEREG 4 &lt;em&gt;(unknown)&lt;/em&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What I also want to know, is there anyway to reset this historical data for testing purpose? There is a factory reset command &lt;code&gt;(&lt;/code&gt;AT%XFACTORYRESET=0&lt;code&gt;), &lt;/code&gt;does this reset the historical data?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try to get those logs in the next testing session.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405417?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 09:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b7b7391-0c1d-4ad3-bee6-ecaf91e6f1ec</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;
[quote user="Umer Mahmood"]This works. But clearly it is slightly different from the pre certification testing in the lab. Where all bands are enabled, and CFUN=0 is never done after CFUN=1. Following was the setup in the lab:[/quote]
&lt;p&gt;The modem will, based on historical data, try to connect to the formerly connected tower (if available), and when you&amp;#39;re changing the band this tester is operating on, it will cause the nRF9160 to use longer time to connect.&lt;/p&gt;
&lt;p&gt;A log from LTE Link Monitor showing the behavior would be good. If there is some mismatch in the configuration or similar, this should be highlighted by checking the EMM/ESM cause code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that it is expected that it can take up to several minutes to search all bands, especially when you have Cat M and NB1 enabled on the nRF side.&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 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405407?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 09:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4496c6fc-9a80-45ba-8da6-4fa0b38a9338</guid><dc:creator>Umer Mahmood</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;The situation mention above was observed during percertification testing in the lab. I have tried to some what simulate the same situation as follows:&lt;br /&gt;At the location where I am testing, bands 3 and 20 are available.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I only enabled band 3&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Enabled nbiot and ltm with ltm prefered: AT%XSYSTEMMODE=1,1,0,1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Enable using CFUN=1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;I see that I get a positive CEREG&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;I disbable using CFUN=0&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Now enable all bands except band 3. (I expect the device to go through bands and connect to band 20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Enable again using CFUN=1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Again I get positive CEREG&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This works. But clearly it is slightly different from the pre certification testing in the lab. Where all bands are enabled, and CFUN=0 is never done after CFUN=1. Following was the setup in the lab:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable all bands&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Enabled nbiot and ltm with ltm prefered: AT%XSYSTEMMODE=1,1,0,1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Enable using CFUN=1&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Enable ltm base station with bands 1&lt;/li&gt;
&lt;li&gt;Wait and Observe for 3 to 5 minutes&lt;/li&gt;
&lt;li&gt;Turn off base station with band&amp;nbsp; 1&lt;/li&gt;
&lt;li&gt;Wait for negative CEREG response&lt;/li&gt;
&lt;li&gt;Enable ltm base station with band 2&lt;/li&gt;
&lt;li&gt;And so on ...&lt;/li&gt;
&lt;li&gt;After band 12 modem seems to respond continuously with&amp;nbsp;+CEREG: 4&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 unable to connect when all bands are enabled.</title><link>https://devzone.nordicsemi.com/thread/405231?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 12:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae35982f-2b15-4e63-9187-177f4f2179b4</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;Could you share a log from the LTE Link Monitor showing the behavior?&lt;/p&gt;
&lt;p&gt;Issue:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;at+cereg=5
at+cfun=1
at+cfun?&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When using the LTE LM, it will automatically enable other AT commands, such as ESM/EMM return codes.&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>