<?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>PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96025/ppk2-with-python-api-causes-error-ppk2-blinking-red</link><description>Hi everyone! 
 Setup: 
 Currently, I am using the nRF52840 DK board to evaluate neural network models directly on the nRF microcontroller. To measure the power consumption when running a model, I use the PPK2. Since I want to optimize my models, I evaluate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Aug 2024 12:02:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96025/ppk2-with-python-api-causes-error-ppk2-blinking-red" /><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/499549?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 12:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:360ff7c9-5970-46c9-b439-0a6546972ac6</guid><dc:creator>rene-xyz</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Actually, yes. I hope I have remembered this correctly. First of all, I switched back from the multiprocessing version (PPK2_MP) to the normal version (PPK2_API). I also added a line of code (see this pull request: &lt;a href="https://github.com/IRNAS/ppk2-api-python/pull/40)"&gt;github.com/.../40)&lt;/a&gt; to keep the states on the PPK2 clean. Also, I added some delays to my code before establishing a new connection after terminating a previous one. This caused one subprocess to terminate correctly, really resetting the PPK2 to be ready for the start of the next subprocess. I suspect that there was some interference at this point.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Hope this helps! If not, let me know, maybe I can think about it again.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Best regards, Ren&amp;eacute;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/499532?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 11:33:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb8d7a45-e118-48ed-9e6c-646b20e89f07</guid><dc:creator>christoffer1917</dc:creator><description>&lt;p&gt;Hello, was this ever resolved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/454554?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 21:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de47ec46-e750-407b-a757-34444dace0e4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;According to the developers, the only state of blinking red LED is during DFU (firmware updates). You can check if the blinking corresponds with the blinking visible if you open nRF Connect for Desktop Programmer application and selects the PPK2 in the list of devices. You can also check if the PPK enumerates as &amp;quot;nRF52 SDFU USB&amp;quot; in the device manager when this issue occurs, or &amp;quot;nRF Connect USB CDC ACM&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/454317?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 21:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5717e2d9-a458-44f8-b483-976b6b0c6c0a</guid><dc:creator>Marciano-PL</dc:creator><description>&lt;p&gt;However, the blinking red LED is a behavior most likely defined by the device firmware. the IRNAS API is open source, and the best thing available to automate usage of the PPK2. It is based on what can be observed from nRF Connect for Desktop. Until we know what causes the blinking red LED -- which is knowable only by Nordic Semi -- we can&amp;#39;t begin working on fixing the code.&lt;/p&gt;
&lt;p&gt;Could you please help us find out what some of the possible causes for the red LED blinking is? Green appears to mean device is available, red means connected. What is flashing red?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/422501?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 12:07:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae43a500-3d1c-41ac-b276-2d3fd5569c63</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do not have any suggested fix, as we do not know what the problem is. The &lt;span&gt;IRNAS&amp;nbsp;&lt;/span&gt;API is not developed by Nordic, so you should contact the developers if you face issues with this API that do not show with Nordics normal applications for the PPK2. Did you consider my previous suggestions?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/422342?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 14:39:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c31bdbbe-21ec-4737-a30e-4868364696ea</guid><dc:creator>Rishi81</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am also facing&amp;nbsp;similar issue with PPK2. We are measuring current of the device in automation system where it keep measure current&amp;nbsp;of devices for 2-3 days at frequency of 1 mins. But noticing that after running for few hours randomly PPK2 device starts blinking red and cannot be connected on USB again. Manually powering off and thne on fixes this issue. But for automoation test we dont want to do this. Any&amp;nbsp;suggestions to fix this, so no manual intervention is required.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Rishi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PPK2 with Python API causes error (PPK2 blinking red)</title><link>https://devzone.nordicsemi.com/thread/406500?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 15:01:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a46f53c-3a03-4c0f-98eb-5d9630751e43</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you only see this issue when using the IRNAS PPK_MP class API? As this API is not developed by Nordic, you might need to check with the developers if they have seen this issue.&lt;/p&gt;
&lt;p&gt;How frequently/rapidly does the red blinking occur? Do you need to reset the PPK to get it back to normal operating mode, or is it sufficient to stop/restart the script? It could sound like two instances are&amp;nbsp;racing for access to the serial instance, as it will reboot at disconnect. Do you have any information about what the script is doing when the issue occurs?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>