<?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 asset tracker support</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89755/nrf9160-asset-tracker-support</link><description>Good day. 
 
 We have a customer that asked us the following questions about the nRF9160 asset tracker application and we&amp;#39;re hoping that you can help. 
 
 1. What tools are available for looking at the threads as part of debugging. 
 2. How to make this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Apr 2020 14:38:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89755/nrf9160-asset-tracker-support" /><item><title>RE: nRF9160 asset tracker support</title><link>https://devzone.nordicsemi.com/thread/375942?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 14:38:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9626b6af-a7d8-4f1e-8628-2872566e17d2</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]1. What tools are available for looking at the threads as part of debugging.&amp;nbsp;[/quote]
&lt;p&gt;OpenOCD and PyOCD should be able to provide thread awareness to GDB, though I have not tried this myself. A quick search in our documentation gives this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/application/index.html#rtos-awareness"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/application/index.html#rtos-awareness&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/guides/debugging/host-tools.html#openocd-debug-host-tools"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/guides/debugging/host-tools.html#openocd-debug-host-tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You might be able to find other guides if you search the internet for &amp;quot;Zephyr thread aware debugging&amp;quot; or similar. Any guide that works for Zephyr&amp;nbsp; should also work for NCS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]2. How to make this low power if not already.[/quote]
&lt;p&gt;&amp;nbsp;The asset_tracker application already has some power optimizations. But, you can enable more. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/applications/asset_tracker/README.html#power-optimization"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/applications/asset_tracker/README.html#power-optimization&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]3. learn about the &amp;#39;state of readiness&amp;#39; for a commercial application. Is this code qualified in any way (I don&amp;#39;t want to have to start debugging OS issues while in the field) or will we have to write everything from&amp;nbsp;scratch?[/quote]
&lt;p&gt;I am not 100% certain I understand exactly what you are asking about here, but I&amp;#39;ll try to answer. &lt;/p&gt;
&lt;p&gt;The NCS is considered &amp;quot;production ready&amp;quot; for the nRF9160. The asset_tracker has also existed for a (relatively) long time, and has been extensively tested as well.&lt;/p&gt;
&lt;p&gt;Zephyr itself also has a long history. Even though the Zephyr project is relatively new compared to other RTOSes, it is based on previous RTOSes with a long history.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>