<?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>GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60517/gps-fix-times-and-possible-memory-leak</link><description>We have a custom board with nrf9160, ncs 1.2.0 and modem fw 1.1.1. We experience strange behaviour with the GPS: As an example,on units with 30 min fix intervals, we experience the following with units in the field: 
 
 In the beginning, the unit has</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2020 12:17:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60517/gps-fix-times-and-possible-memory-leak" /><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247857?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 12:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c6b9a1b-5100-49a8-9e10-b46522411871</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Yes, of course! Please send a trace for verification.&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247774?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 07:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08f700f9-e9be-4260-98aa-8cca663c848e</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;I will have&amp;nbsp; to make it run as long as needed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to run such a long test, I would like to test the modem trace first, if possible. This is to verify that the modem trace is readable, looking at my recent problems with the modem trace. Is it OK to submit a trace for validation that the trace is working?&lt;/p&gt;
&lt;p&gt;Tron&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247754?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 06:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:843141d9-2b45-448b-9164-3cfec2ec5235</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Then I&amp;#39;m afraid that is how long the modem trace must run in order to see the issue.&lt;/p&gt;
&lt;p&gt;Will it be possible for you to run that long on your side?&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247535?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 12:02:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f280b507-d67b-4eec-bde6-26e8e282d656</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;100 mesages a day, 15 days roughly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247526?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 11:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bec58d58-4573-4ca9-ac9b-d943707a3367</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="tronwa"]How long do I have to log for any leaks to be visible?[/quote]
&lt;p&gt;&amp;nbsp;I guess this would be as you described in the OP:&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the beginning, the unit has fix times of roughly 2-5 secs, with the occational 30 sec fix time&lt;/li&gt;
&lt;li&gt;When the unit runs and have sent roughly 500 messages, the fix times are increasing, and often passes 1 min&lt;/li&gt;
&lt;li&gt;After roughly 1500 messges, we see that the GPS takes a fix every second try, and when it takes a fix, the fix times are longer than a minute.&lt;/li&gt;
&lt;li&gt;When the user resets the unit, we are back to point (square) 1.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How long does it take before the user is at&amp;nbsp;point 4?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247511?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 10:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:630e753c-dba7-4efd-b0e0-96e52432bf5f</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;it logs about 1M when the device is acquiring positions.With a report interval every 15 minutes, the amount of data will be huge.&amp;nbsp; Every hour, that adds up to 4M, for a day, 96M, and for a trial period of 14 days it sums up to 1,5G.&lt;/p&gt;
&lt;p&gt;How long do I have to log for any leaks to be visible?&lt;/p&gt;
&lt;p&gt;Tron&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247505?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 10:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aab6ef46-af11-4714-8e79-6e00f822c10c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Tron,&lt;/p&gt;
[quote user="tronwa"]do I need to start the debug trace when the device starts,[/quote]
&lt;p&gt;&amp;nbsp;Yes, this needs to start when the device starts. Make sure to &lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect"&gt;follow this guide&lt;/a&gt; when enabling modem traces&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: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247465?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2020 07:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d399a614-125a-4984-a8d4-88c087300676</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yviind&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve sorted out the modem trace issue. The question is, do I need to start the debug trace when the device starts, or is it sufficient to start it when the problem occurs?&lt;/p&gt;
&lt;p&gt;This is a question of disk space management and power management issues. I&amp;#39;m in the process of starting the trial now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tron&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/247013?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 09:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cc27f99-f3ad-48b7-8a2d-d9e139bc9fce</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Tron,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, I saw. Please prioritize accordingly and respond to this case when able.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246931?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 18:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0a4347-3f4a-44c9-94e4-ea0c7aca6142</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;I will try it, I have a gps receiver in my lab, but this is probably not a good environment to test in. Right now I have a problem with the modem traces in another case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yours,&lt;/p&gt;
&lt;p&gt;Tron&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246854?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 13:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0be9328-e346-4a2b-8a58-fa66b62a048b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Tron,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the information!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Are you able to reproduce this in your lab? It would be very helpful to get a modem trace. On how many devices do you see this issue on? I will continue with the investigation here.&amp;nbsp;&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: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246535?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 13:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb11ec4d-2539-4766-b1b6-c225b0361f47</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;the user resets the device by catching the animal, taking the betttery out and putting it again while holding the animal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The gps antenna is an Antenova SR4G008, if my old eyes don&amp;#39;t deceive me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The logs don&amp;#39;t say anithing except that the unit was reset, and sending SIM card, modem and version data. The interesting part is the GPS fix times before and after the reset.These are presented in the web interface. I&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yours&lt;/p&gt;
&lt;p&gt;Tron&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246437?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 09:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d4545df-96af-4d68-a616-6b9f0ded77ac</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="tronwa"]Modem trace is unfortunately out of the question. The units are on sheep in rural areas of Norway.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;As anticipated, but needed to ask.&lt;/p&gt;
&lt;p&gt;[quote user="tronwa"][/quote]&lt;/p&gt;
&lt;p&gt;Resets are also logged.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are these of interest?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Yes, these can be of interest. Please attach logs for further investigation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How does the user reset the device? What kind of GPS antenna is used? Can this be an issue with GPS signals e.g. if sheep are in an area with bad GPS reception or similar?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246388?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 06:13:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e151bd8-c4b2-45e2-a9a7-8ebe61ccbe63</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Modem trace is unfortunately out of the question. The units are on sheep in rural areas of Norway.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I log the GPS Fix times to the server, or to be more precise, every second second I increase a fix counter, which is transmitted to the server every time the unit tries a GPS fix. I have a timeout on the GPS on 2m30s, so every unsuccessful GPS try gives a value of 75, ie 150 seconds. THis is the only logging, together with the GPS positions, of course.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Resets are also logged.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are these of interest?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246218?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 10:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a713d26a-9688-4d15-b714-5d9ee7c0f5f2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;As the device is in the field, are you able to do a modem trace to show the issue?&lt;br /&gt;&lt;br /&gt;Are you sure the issue is with the GPS, are you seeing this in the timestamp of the GPS? Please verify.&amp;nbsp;Just to make sure we&amp;#39;re not looking in the wrong area, we need to gather as much information as possible. Can you provide logs?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPS fix times and possible memory leak</title><link>https://devzone.nordicsemi.com/thread/246181?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 08:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f773c5a-0577-4ae0-9d69-1d029bbec7bf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;HI Tron,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m on the case and will need to discuss the matter with our R&amp;amp;D team. I will get back to you asap!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>