<?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>Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113349/nordic-power-profiler-kit-2-nrf-ppk2-enumerates-2-ports-for-a-single-device-on-raspberry-pi</link><description>Hello, 
 I am trying to control a PPK2 using my Raspberry Pi 3B+ running a 64-bit image of the Raspberry Pi OS (Debian Bookworm port) and I&amp;#39;ve been using python (v3.9) with the ppk2-api library (v0.9.2). Unfortunately, there are two serial ports that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jul 2024 12:26:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113349/nordic-power-profiler-kit-2-nrf-ppk2-enumerates-2-ports-for-a-single-device-on-raspberry-pi" /><item><title>RE: Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/495626?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 12:26:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc1449fd-a509-4bfe-b814-ea1fd1d908ed</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Happy to hear it. Good luck!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/495617?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 12:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5152314e-5ee7-403c-9f51-0292bf0c79e1</guid><dc:creator>FarbodMoghaddam</dc:creator><description>&lt;p&gt;Hi Christian,&lt;/p&gt;
&lt;p&gt;Thank you for the thorough feedback and clarification, it was very helpful!&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Farbod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/495593?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 10:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30ad00c9-19da-4ef5-889b-e6fa2fb32279</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Farbod,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As Nordic is not maintaining this repository and being not offically supported by Nordic, when Kazi mentioned releases she was&amp;nbsp;thinking about the official software in nRF Connect for Desktop which just released Power Profiler v4.2.0. When connecting to the software you will be prompted to update the PPK2 if the firmware is outdated and this version introduced a new COM port. Have you done this with the 4.2.0 version?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have opened a PR at&amp;nbsp;&lt;a id="" href="https://github.com/IRNAS/ppk2-api-python/pull/47"&gt;https://github.com/IRNAS/ppk2-api-python/pull/47&lt;/a&gt;&amp;nbsp;to accommodate this change which I advice you to use. The released version is also pretty old and there are some fixes for the multi process version your are using, so I advice you to move your repo HEAD to that PR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The reason why you&amp;#39;re seeing that Windows only returns one port, and Linux reports two is because the two OS&amp;#39;es handles&amp;nbsp;USB CDC&amp;nbsp;ports slightly differently. In Linux the device is enumerated as `PPK2` and both ports will have this description, whilst in Windows you get `nRF Connect USB CDC ACM (&amp;lt;COM&amp;gt;)` for the useful port, and just `USB Serial Device (&amp;lt;COM&amp;gt;)` for the other one due to the drivers that nRF Connect for Desktop installs, and the IRNAS script is searching for `nRF Connect USB CDC ACM`.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I hope this helps :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;- Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/495591?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 09:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e4ed4fd-0901-4789-becb-706a4c45e6c1</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Farbod,&lt;/p&gt;
&lt;p&gt;The API you are using is not officially supported by Nordic.&lt;/p&gt;
&lt;p&gt;The firmware was updated in 4.2.0 of the ppk app, but if you haven&amp;#39;t used that at all then you have the original firmware and probably it could be another issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/495488?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 16:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4af5b40a-3fcc-4fb3-823b-69d8e8ea35c4</guid><dc:creator>FarbodMoghaddam</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;Thank you for the quick response. Can you please clarify which release includes the release note about this updated serial port detection logic? I&amp;#39;m looking at releases on github and could not find it:&amp;nbsp;&lt;a id="" href="https://github.com/IRNAS/ppk2-api-python/releases"&gt;https://github.com/IRNAS/ppk2-api-python/releases&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also, does the feedback from the developer mean that the logic for&amp;nbsp;PPK2_API.list_devices() has been updated to only return the first endpoint of the enumerated ports for every Nordic PPK connected to the machine? For example, is the expected behavior now for&amp;nbsp;&lt;span&gt;PPK2_API.list_devices() to return&amp;nbsp;["/dev/ttyACM0"] instead of&amp;nbsp;["/dev/ttyACM0", "/dev/ttyACM1"] per the example I originally provided? Thanks in advance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Farbod&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Power Profiler Kit 2 (nrf-PPK2) Enumerates 2 Ports For A Single Device On Raspberry Pi</title><link>https://devzone.nordicsemi.com/thread/495478?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 15:40:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b59622-06b2-4f82-a37a-466af2d0ae5d</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have discussed with developer.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span dir="ltr"&gt;We have added this extra com port in the release notes of the latest ppk2 software, and the script should now be adapted to use the serial port at the first endpoint of the enumerated ports.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;BR&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Kazi&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>