<?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>ATV2 app hangs in uart isr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107362/atv2-app-hangs-in-uart-isr</link><description>Hi, 
 I need to read the custom data such as cloud commissioning certs from the uart console input. 
 I got inspired by nordic at_host lib and developed my custom script to read data from uart0 which is also assigned to zephyr,console, 
 zephyr,shell</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jan 2024 08:31:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107362/atv2-app-hangs-in-uart-isr" /><item><title>RE: ATV2 app hangs in uart isr</title><link>https://devzone.nordicsemi.com/thread/464316?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 08:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4858d805-85f4-405b-83cf-64f6e86cdee3</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;If you suspect that shell is enabled, you can check it in your local configuration, ie my-build-folder/zephyr/.config file, and search for &amp;quot;CONFIG_SHELL&amp;quot; to see if it is y-selected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another option can be to delete the property:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
...
	chosen {
		/delete-property/ zephyr,shell-uart;
		...
	};
};&lt;/pre&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: ATV2 app hangs in uart isr</title><link>https://devzone.nordicsemi.com/thread/464274?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 21:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1248ccc-573e-4245-bc58-4a3fc3170eb5</guid><dc:creator>zsn</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp; thanks for your quick reply.&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/107362/atv2-app-hangs-in-uart-isr/464230"]By default, the at_host library will claim the uart0 interface. You can choose another UART instance for your module, or you can disable it via CONFIG_AT_HOST_LIBRARY=n to see if this improves the scenario.[/quote]
&lt;p&gt;&lt;span&gt;CONFIG_AT_HOST_LIBRARY=n is already disabled,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I checked it is in the dts&amp;nbsp;&amp;quot;nrf9160dk_nrf9160_common.dtsi&amp;quot;&amp;nbsp;file. it is defined&amp;nbsp;&lt;/span&gt;&lt;span&gt;zephyr,shell-uart&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;uart0&lt;/span&gt;&lt;span&gt;; I couldn&amp;#39;t see where it is disabled. Can you please help me to understand?&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ATV2 app hangs in uart isr</title><link>https://devzone.nordicsemi.com/thread/464230?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 14:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80b09189-33be-4658-96af-c5186706170e</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;CONFIG_SHELL isn&amp;#39;t set by default in asset tracker v2. Isn&amp;#39;t it the at_host that is blocking you?&lt;/p&gt;
&lt;p&gt;By default, the at_host library will claim the uart0 interface. You can choose another UART instance for your module, or you can disable it via CONFIG_AT_HOST_LIBRARY=n to see if this improves the scenario.&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>