<?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>pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108027/pynrfjprog-msvcp140-dll-runtime-dependency-is-not-provided-on-windows</link><description>nrfjprog.dll has dependency on MSVCP140.dll which is not part of the package. Using pynrfjprog 10.24.0 on clean Win10 gives the following error: 
 
 Note: Segger J-Link 7.94 comes with msvcp100.dll, so using J-Link installer will not solve the problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Feb 2024 11:49:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108027/pynrfjprog-msvcp140-dll-runtime-dependency-is-not-provided-on-windows" /><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/470225?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 11:49:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e658e54-30bd-497a-90ea-92d2fb39e97a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="Aleksei"]We will provide only the shield, firmware and Python demo which can flash FW and show that everything works as expected.&lt;br /&gt;For now we will explicitly ask users to install Microsoft Visual C++ Redistributable.[/quote]
&lt;p&gt;That seems like a good approach. I guess you could potentially perform a check for this during your setup as well, to make absolutely sure (and to report it explicitly as a missing dependency to the user in the case that it&amp;#39;s missed).&lt;/p&gt;
[quote user="Aleksei"]Yes, but in cases when it is not it is very hard to understand what is wrong.[/quote]
&lt;p&gt;I fully agreed with this, and I am very glad that you brought this up so that we could update the requirements to include this specifically.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/470202?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 10:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03e806b-9f28-4d97-88c7-703aa6e7f281</guid><dc:creator>Aleksei</dc:creator><description>&lt;p&gt;We will provide only the shield, firmware and Python demo which can flash FW and show that everything works as expected.&lt;br /&gt;For now we will explicitly ask users to install Microsoft Visual C++ Redistributable.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/108027/pynrfjprog-msvcp140-dll-runtime-dependency-is-not-provided-on-windows/470178"] In most cases I think users will already have this installed on their computer as well.[/quote]
&lt;p&gt;Yes, but in cases when it is not it is very hard to understand what is wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/470178?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 09:03:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5081ad4d-87cd-480b-8076-5b4a36bf5bd9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;You are right, it will also have to be updated for the pynrfjprog documentation - we have created an internal task to update this as well, thanks again for pointing this out :)&amp;nbsp;&lt;/p&gt;
[quote user="Aleksei"]The best way to achieve this would be to add &lt;span&gt;MSVCP140.dll in&lt;/span&gt; pynrfjpog itself.[/quote]
&lt;p&gt;I agree that this would be the most clean approach, but I am not sure if it is feasible - I&amp;#39;ll check with the team about it, but it could come down to just being listed as a dependency in the docs. In most cases I think users will already have this installed on their computer as well.&lt;br /&gt;Do I understand it correctly that you are creating a demo using custom hardware as a shield to a DK, that then is sent to customers for use with pynrfjprog to control or flash it?&lt;br /&gt;Could it be an option to instead flash the kits in advance, and then create a serialization / serial interface between the devices, so that you could control and configure the demo without using developer tools like pynrfjprog?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/469717?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 08:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b78444-490d-4483-91ab-d1a89c5180b9</guid><dc:creator>Aleksei</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;That is good to hear. What about the case when nRF Commandline tools are not installed?&lt;/p&gt;
&lt;p&gt;We really would like to make a good experience with Nordic board and out shield on top. For this demo software should be easy to use with as little dependencies as possible. nRF Commandline tools aren&amp;#39;t essential and we would like to avoid such explicit dependency. The best way to achieve this would be to add &lt;span&gt;MSVCP140.dll in&lt;/span&gt; pynrfjpog itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/469708?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 08:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b05de19-99e5-4f3c-b07c-0ee9cfd4455a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;The developers were surprised to learn of this issue since they would have expected it to come up in the past, but they reckon that most users already have this components on their system and so the issue just showed up now that you were working with a completely clean windows installation.&lt;br /&gt;I am told that the developers will be adding the&amp;nbsp;&lt;span&gt;MSVCP140.dll to the nRF Commandline tools requirements in the near future.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Thanks again for bringing this to our attention! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/469477?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 12:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0987049f-63b4-4fcc-a679-9a30e0640662</guid><dc:creator>Aleksei</dc:creator><description>&lt;p&gt;Hi Karl,&lt;br /&gt;&lt;br /&gt;Any updates? Can a fix be expected in foreseeable future?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/467709?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 09:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee241642-a008-4d7f-ad67-ebdec00ed950</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for the detailed report - I have forwarded this to the pynrfjprog team so that they may examine this more closely and provide a fix. &lt;br /&gt;&lt;br /&gt;Thank you very much for bringing this to our attention! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/467697?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 09:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e70b47e2-dc41-40cf-a0e0-a69d99c5adcf</guid><dc:creator>Aleksei</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Manual installation of MSVCP140.dll into &amp;quot;venv\Lib\site-packages\pynrfjprog\lib_x64&amp;quot; does solve the problem and MSVCP140.dll is system wide available after installation of any software which brings Microsoft Visual C++ Redistributable package. But it is not available on clean Win10 and it is not listed as a requirement for pynrfjprog (as well as &amp;quot;nRF Command Line tools&amp;quot;). The only documented dependency pynrfjprog has is JLink dll. The installer from Segger doesn&amp;#39;t provide MSVCP140.dll. So pynnrfjprog must work on clean OS if JLink dll is provided, but it doesn&amp;#39;t.&lt;/p&gt;
&lt;p&gt;Our context: we are making Python application which gets data from nRF52840-DK, it works on clean Win10/macOS/Linux and requires Python only. The only problem is MSVCP140.dll dependency of pynrfjprog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/467639?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 17:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c6f5c95-f18c-45c7-aa00-07e2904963e3</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Do I understand you correctly that you encountered this issue on your clean windows 10 machine after having installed the nRF Command Line tools along with the JLink installation, and were able to resolve it by manually installing the&amp;nbsp;&lt;span&gt;MSVCP140.dll?&lt;br /&gt;&lt;/span&gt;If so, I will report this to our command line tools developers so that they may take a closer look.&lt;br /&gt;&lt;br /&gt;If I could ask, were behind a corporate firewall when you performed the initial installation?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog: MSVCP140.dll runtime dependency is not provided on Windows</title><link>https://devzone.nordicsemi.com/thread/467530?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 10:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c57247-a547-4329-92f5-2e8a6529d75a</guid><dc:creator>Aleksei</dc:creator><description>&lt;p&gt;&lt;a href="https://ibb.co/TvQPq5s"&gt;https://ibb.co/TvQPq5s&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>