<?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>Logging data with PPK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44870/logging-data-with-ppk</link><description>Good day. 
 
 We recently bought the NRF52 DK and the Power Profiler Kit with the intent to log power consumption of our battery powered products. Before purchasing the products we did some research to confirm it can log avg current. See picture below</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Apr 2019 08:32:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44870/logging-data-with-ppk" /><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/179679?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 08:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:351d6702-be20-4ef8-a65a-78ffa7a997e4</guid><dc:creator>SorenKonekt</dc:creator><description>&lt;p&gt;good to know that this is at least (though cumbersome) possible for now as this is exactly what I need. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176201?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 11:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a6a2ba-ef2c-4350-a65a-77c6ee536420</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;To summarize:&lt;/p&gt;
&lt;p&gt;If you wish to use the &lt;strong&gt;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/Power-Profiler-Kit/Download#infotabs"&gt;old Power Profiler Kit Software&lt;/a&gt;,&lt;/strong&gt; which is not maintained anymore, there are the following requirements:&lt;/p&gt;
&lt;p&gt;1. &lt;strong&gt;Python 2.7.12 (32 bit)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2. &lt;strong&gt;pyside version 1.2.4 &lt;/strong&gt;(pip install pyside)&lt;/p&gt;
&lt;p&gt;3. &lt;a href="https://github.com/pyqtgraph/pyqtgraph/tree/pyqtgraph-0.10.0"&gt;&lt;strong&gt;pyqtgraph version 0.10.0&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. &lt;a href="https://github.com/numpy/numpy/tree/v1.11.3"&gt;&lt;strong&gt;numpy version 1.11.3&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;5. &lt;strong&gt;pynrfjprog version 9.1.0&lt;/strong&gt; (pip install &lt;a href="https://files.pythonhosted.org/packages/44/60/26a2c5322670434d76a35456ed6d505bc7da58d2ce85fcc293ff34de1e17/pynrfjprog-9.1.0.zip#sha256=a24fdac8264760bc8506ee04d864985c46870ef4500e051c443f53f4aaa3f9e0"&gt;https://files.pythonhosted.org/packages/44/60/26a2c5322670434d76a35456ed6d505bc7da58d2ce85fcc293ff34de1e17/pynrfjprog-9.1.0.zip#sha256=a24fdac8264760bc8506ee04d864985c46870ef4500e051c443f53f4aaa3f9e0&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;No other combinations&lt;/strong&gt; of Python version or packet versions are supported. If you don&amp;#39;t have these requirements then the python scripts might not work.&lt;/p&gt;
&lt;p&gt;We recommend that the &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/ppk/latest/UG/ppk/PPK_user_guide_Intro"&gt;Power Profiler Application &lt;/a&gt;found in &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-desktop"&gt;nRF Connect for Desktop&lt;/a&gt; is used instead of this old version, it will in the future also have a logging options. You should only use this version if you require logging to a text format, and that yet has to be released for the Application in nRF Connect for Desktop.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176200?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 09:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22f9cc5e-d798-4da2-aeda-dec1dbbcee87</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Anytime, you can make it public.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176199?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 09:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d41557-a9de-4608-b368-b4c7d7c64d07</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad it worked.&lt;/p&gt;
&lt;p&gt;Is it ok for you if I make this case public? In case other community members face the same issue?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176198?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 07:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b02a9a65-ce88-485d-87dd-9e64bbbac404</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hi Andreas&lt;/p&gt;
&lt;p&gt;Great, it&amp;#39;s working. Thanks so much for your help.&lt;/p&gt;
&lt;p&gt;Keep well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176197?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 10:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f8cb99-3580-4b7a-a06c-b66e921f54f2</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I see the pictures now.&lt;/p&gt;
&lt;p&gt;I think that the issue is that since this program is so old, it is not thoroughly tested with different versions of Python or the packets it uses.&lt;/p&gt;
&lt;p&gt;Could you downgrade python to &lt;strong&gt;Python 2.7.12 (32 bit), &lt;/strong&gt;and install &lt;strong&gt;pyside version 1.2.4 &lt;/strong&gt;(pip install pyside), &lt;a href="https://github.com/pyqtgraph/pyqtgraph/tree/pyqtgraph-0.10.0"&gt;&lt;strong&gt;pyqtgraph version 0.10.0&lt;/strong&gt;&lt;/a&gt;, &lt;a href="https://github.com/numpy/numpy/tree/v1.11.3"&gt;&lt;strong&gt;numpy version 1.11.3&lt;/strong&gt;&lt;/a&gt;, and &lt;strong&gt;pynrfjprog version 9.1.0&lt;/strong&gt; (pip install &lt;a href="https://files.pythonhosted.org/packages/44/60/26a2c5322670434d76a35456ed6d505bc7da58d2ce85fcc293ff34de1e17/pynrfjprog-9.1.0.zip#sha256=a24fdac8264760bc8506ee04d864985c46870ef4500e051c443f53f4aaa3f9e0"&gt;https://files.pythonhosted.org/packages/44/60/26a2c5322670434d76a35456ed6d505bc7da58d2ce85fcc293ff34de1e17/pynrfjprog-9.1.0.zip#sha256=a24fdac8264760bc8506ee04d864985c46870ef4500e051c443f53f4aaa3f9e0&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;Hopefully this will work.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176196?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 08:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a971b1a4-b0da-49e4-9889-0a6fa7a3d9ac</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hi Andreas&lt;/p&gt;
&lt;p&gt;Sorry about that.&lt;/p&gt;
&lt;p&gt;Here is the warning message: It says: &amp;quot;unsupported operand type(s) for %: &amp;#39;NoneType&amp;#39; and &amp;#39;str&amp;#39; &amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be92ccb7c12448dc84f7e430f199f76e/1.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is a photo of the program open but not updating any info. I&amp;#39;m not sure if this is related to the warning I&amp;#39;m getting.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be92ccb7c12448dc84f7e430f199f76e/PPK.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you able to see the pictures now?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176195?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 08:14:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51caed9f-18d6-4cf9-adae-e905b51ce7bc</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see the picture you attached, could you reupload it?&lt;/p&gt;
[quote user="davidg1583"]Any ideas on this? Do you perhaps know when logging will be available in nRFConnect?[/quote]
&lt;p&gt;&amp;nbsp;Unfortunately I have no ETA on when it will be available, but it is on the new feature list for the next release.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176194?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 06:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c79c625-1ce0-47ab-9cb9-528b56394d6b</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hi Andreas&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve uninstalled my J-Link driver, I was using v6.44. Then I installed v6.14; I erased the ppk flash, re-flashed the ppk and then&amp;nbsp;ran ppk.py.&amp;nbsp;I get a different warning, but the program at least opens now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-components-multipleuploadfilemanager/15c1326c_2D00_87dc_2D00_40e3_2D00_bc36_2D00_14a0f0e98892-77909-complete/1.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The problem that I have now is that the program opens but no data is coming through. It&amp;#39;s not plotting current or showing any current measurements. I&amp;#39;ve tried with the PPK switches on DK and also connecting my external device to the PPK, but neither is measuring anything. I know my connections are correct because I can measure the current in nRFConnect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any ideas on this? Do you perhaps know when logging will be available in nRFConnect?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176193?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 13:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eaca6ff-8707-4ce6-8b6a-7099876c6cf6</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi David.&lt;/p&gt;
&lt;p&gt;It is old, so maybe the J-Link driver has to be downgraded. Which J-Link driver do you have?&lt;/p&gt;
&lt;p&gt;Can you try to install &lt;a href="https://www.segger.com/downloads/jlink/JLink_Windows_V614.exe"&gt;J-Link V6.14&lt;/a&gt;? It is from February 23, 2017, and looking at the &lt;strong&gt;ppk.py&lt;/strong&gt; file, that was last modifed July 7, 2017.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be92ccb7c12448dc84f7e430f199f76e/pastedimage1552311408200v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176192?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 13:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:881b5176-83d1-4cc8-ae27-295462fe3506</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hi Andreas&lt;/p&gt;
&lt;p&gt;Thanks for your feedback.&lt;/p&gt;
&lt;p&gt;I did an nrfjprog -e and got the following response.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be92ccb7c12448dc84f7e430f199f76e/1.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then I ran flash_ppk.py and got the following response&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be92ccb7c12448dc84f7e430f199f76e/flash_5F00_ppk.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then I tried to run the program again and still getting the same error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-be92ccb7c12448dc84f7e430f199f76e/2.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging data with PPK</title><link>https://devzone.nordicsemi.com/thread/176191?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 10:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61492088-6685-4f3b-8015-7a14701d8619</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;At the moment the Software you downloaded is the only Software that supports logging. Logging in the nRF Connect Power Profiler Application is on the new feature list.&lt;/p&gt;
&lt;p&gt;Can you try to do a &lt;strong&gt;nrfjprog -e &lt;/strong&gt;before you run &lt;strong&gt;flash_ppk.py&lt;/strong&gt; ?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>