<?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>Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29841/python-64-bit-issue-with-nrfjprog-dll</link><description>Hello, 
 I have two version of Python 3.6 installed: 32 and 64 bit (Windows 10)
Recently i installed nRF5x command line tools (9.7.2) and pynrfjprog 9.7.1 
 For Python 64 bit during creation of pynrjprog API.API(&amp;quot;NRF52&amp;quot;) object i got: 
 RuntimeError</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Feb 2018 07:53:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29841/python-64-bit-issue-with-nrfjprog-dll" /><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/119475?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 07:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b6d9ecd-c3a4-4078-be26-9127192764da</guid><dc:creator>python_asker</dc:creator><description>&lt;p&gt;Python 3.6.3 (v3.6.3:2c5fed8, Oct&amp;nbsp; 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118593?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 13:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f93a59d-2a0d-452e-9e70-34489ef60e32</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Sorry for the late response, this is weird.
Could you post the the startup line (ex: &amp;quot;Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32&amp;quot;) for 32 and 64 bit python.&lt;/p&gt;
&lt;p&gt;You may have a too old / new version of Microsoft C++ installed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118586?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 12:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0820e9b3-a86d-4005-86b2-e419ca84a43c</guid><dc:creator>python_asker</dc:creator><description>&lt;p&gt;Python 32: C:\Users&amp;lt;user&amp;gt;\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pynrfjprog\win_32bit_dll\nrfjprog.dll&lt;/p&gt;
&lt;p&gt;Python 64: C:\Users&amp;lt;user&amp;gt;\AppData\Local\Programs\Python\Python36\lib\site-packages\pynrfjprog\win_64bit_dll\nrfjprog.dll&lt;/p&gt;
&lt;p&gt;Variable is in line 394 (API.py)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118592?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 15:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f334a12-037e-4f68-ba33-a484ed9e8907</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Could you try to print the &amp;quot;nrfjprog_dll_path&amp;quot; variable on line 411 in API.py? I&amp;#39;ll need to see which DLL the API is trying to load. Looks like it&amp;#39;s confused about the system &amp;quot;bitness&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118591?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 09:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bfff9d2-4be7-44a9-9597-840f58ceb41a</guid><dc:creator>python_asker</dc:creator><description>&lt;p&gt;it&amp;#39;s 64 bit os and cpu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118590?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 08:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f473c22-ead3-4992-9a21-6c4514b046e6</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Strange. Can you check if you have a 32bit version of windows?  &lt;a href="https://www.howtogeek.com/howto/21726/how-do-i-know-if-im-running-32-bit-or-64-bit-windows-answers/"&gt;This page&lt;/a&gt; has a guide on how to check it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118589?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 15:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54313884-92fc-4bc2-998c-57610a8fb882</guid><dc:creator>python_asker</dc:creator><description>&lt;p&gt;Both via pip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118588?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 15:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9cf2dd4-4a57-4210-8655-697950abe8c1</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Ok, good. How did you install it? pip or github?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118587?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 15:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f53f83-e26f-463e-afaa-acf54d432db9</guid><dc:creator>python_asker</dc:creator><description>&lt;p&gt;Both (32 and 64 Python&amp;#39;s) win_64bit_dll folders consists of:
highlevelnrfjprog.dll
jlinkarm_nrf51_nrfjprog.dll
jlinkarm_nrf52_nrfjprog.dll
jlinkarm_unknown_nrfjprog.dll
nrfjprog.dll&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python 64 bit issue with nrfjprog dll</title><link>https://devzone.nordicsemi.com/thread/118585?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2018 10:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f69a08c3-9c76-467b-812a-7edc8ede0c74</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p&gt;Hi!
Did you install pynrfjprog through pip, or by downloading from github?&lt;/p&gt;
&lt;p&gt;Could you check the folder &amp;quot;Python 64bit install folder&amp;quot;\Lib\site-packages\pynrfjprog\win_64bit_dll and see if the required dlls are there?
If you dwonloaded pynrfjprog manually, just check wherever you installed pynrfjprog, it should have the same folder structure.&lt;/p&gt;
&lt;p&gt;It should contain the following files:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;nrfjprog.dll&lt;/li&gt;
&lt;li&gt;highlevelnrfjprog.dll&lt;/li&gt;
&lt;li&gt;jlinkarm_nrf51_nrfjprog.dll&lt;/li&gt;
&lt;li&gt;jlinkarm_nrf52_nrfjprog.dll&lt;/li&gt;
&lt;li&gt;jlinkarm_unknown_nrfjprog.dll&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>