<?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>Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47300/error-occurs-while-generating-the-private-key-for-ota-dfu-example</link><description>Hi, 
 
 This error occurs when I write below command for OTA_DFU demo: 
 cmd : exe keys generate private.key Error: 
 ImportError: cannot import name &amp;#39;DIGCF_PRESENT&amp;#39; from &amp;#39;constants&amp;#39; 
 
 Please help me on this regards. 
 Thanks. 
 
 regards, 
 Archan</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2019 11:33:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47300/error-occurs-while-generating-the-private-key-for-ota-dfu-example" /><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/188213?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 11:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ba2eb0e-bdc3-4184-81e0-81ffd96e58f0</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks my problem get resolved.&lt;/p&gt;
&lt;p&gt;Now I can write OTA-DFU for nRF51 as well as nRF52 &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Archana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/188204?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 11:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33c3c773-cc30-48b0-a127-00d964e809c0</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;I tried with both sdk version 15.2.0 and 15.3.0 for both getting same error&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558437843048v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I added the micro-ecc-master under external/micro-ecc folder downloaded from github&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/188166?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 09:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5519653-517f-4153-9413-34dedae1abc9</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Ok,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where is attchment of Makefile.windows, I didn&amp;#39;t get in your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/188137?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 08:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e1534d-0ba9-4195-b97c-80590da55ed2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please check and make sure you still have your Makefile.windows is still with correct encoding. I attached here my Makefile.windows. Also please change the path to remove any space. avoid &amp;quot;37. Nordic&amp;quot;, do &amp;quot;37_Nordic&amp;quot; instead.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see that complain of Makefile.windows missing in your first screenshot earlier. Please try on a fresh copy of the SDK.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/188068?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 05:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d45ce47f-42a7-4e08-b63e-0447840043a6</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Same error occur even I updated the Makefile.windows file.&lt;/p&gt;
&lt;p&gt;Saying no Makefile.windows file found.&lt;/p&gt;
&lt;p&gt;I open that file as wordpad.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558414959246v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558414999668v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558415088782v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558415152150v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558415176327v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I tried this way, please help me or send me the MinGW.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Archana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187980?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 13:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b97e4a94-3520-4e51-b7de-82508b3fd41c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Update it like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/5.4 2016q3/bin/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187860?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 10:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a81a864-7c26-4468-b0be-bee97fc32cab</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Please help me, how to update that file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558347357436v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The gcc version is&amp;nbsp;5.4.1 20160919&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558347435000v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I edited the Makefile.windows by open in worpad and write my gcc version and file path:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558348361202v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After updating also same error:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558348268930v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558347623276v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187811?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 08:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85800829-31fd-4c14-bd3c-7f173f120237</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please check folder&amp;nbsp;C:\Program Files (x86)\GNU Tools ARM Embedded to see which version of gcc you have there.&lt;/p&gt;
&lt;p&gt;And update the file in&amp;nbsp;\SDKv15.3\components\toolchain\gcc\Makefile.windows to match with your gcc version and path.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187720?ContentTypeID=1</link><pubDate>Sat, 18 May 2019 09:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d4f4af2-02ba-44b2-8998-83558575802f</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;My OTA succussfully completed.&lt;/p&gt;
&lt;p&gt;But I used ready libraray instead of creating.it.&lt;/p&gt;
&lt;p&gt;I want to create it so please help me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The MinGW/GNU make not working for creating libraray in external- micro ecc folder.&lt;/p&gt;
&lt;p&gt;D:\37. Nordic\52DK\nRF5_SDK_15.3.0_59ac345\external\micro-ecc\nrf52nf_armgcc\armgcc this is the path of my folder.&lt;/p&gt;
&lt;p&gt;when I give this path and make command then libraray not created.&lt;/p&gt;
&lt;p&gt;Please share me MinGW or GNU make tool if anybody have.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1558173097466v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Archana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187294?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 13:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66102f0d-d025-4dff-bc28-43f3588cb644</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please follow this to install pip:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Securely Download&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://bootstrap.pypa.io/get-pip.py"&gt;get-pip.py&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://packaging.python.org/tutorials/installing-packages/#id7"&gt;[1]&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;python&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;get-pip.py&lt;/span&gt;&lt;/code&gt;.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://packaging.python.org/tutorials/installing-packages/#id8"&gt;[2]&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;This will install or upgrade pip. Additionally, it will install&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://packaging.python.org/key_projects/#setuptools"&gt;&lt;span&gt;setuptools&lt;/span&gt;&lt;/a&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://packaging.python.org/key_projects/#wheel"&gt;&lt;span&gt;wheel&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;if they’re not installed already.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187257?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 12:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1161796-d924-4b1c-9456-e438ca77a85a</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Please find the below screenshot when I am trying with 2.7.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557922086162v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Archana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187252?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 12:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9129d7ee-68b2-46ed-b489-a5c87261a9ad</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Please send me the python 2.7 which you is working at your end. I tried with 2.7.7 but it showing pip is not recognized as internal or external command.&lt;/p&gt;
&lt;p&gt;Also when giving command as&amp;nbsp;&lt;/p&gt;
&lt;pre class="lang-py prettyprint prettyprinted"&gt;&lt;code&gt;&lt;span class="pln"&gt;python get&lt;/span&gt;&lt;span class="pun"&gt;-&lt;/span&gt;&lt;span class="pln"&gt;pip&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;py install&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;then &lt;br /&gt;python: can&amp;#39;t open file &amp;#39;get-pip.py&amp;#39;: [Errno 2] No such file or directory&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;this error occurs.&lt;br /&gt;&lt;br /&gt;Also no pip is there at scripts folder when I checked.&lt;br /&gt;&lt;br /&gt;So please help me.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt; Archana&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187224?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b26d2e-429a-4275-bc0b-e5a79f489570</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Do you have both Python running&amp;nbsp; ? Please make sure pip was used for python 2.7 and when you execute the nrfutil, it was python 2.7&amp;nbsp;&lt;br /&gt;Please send a full screenshot/log of your command lines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187219?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8335b813-6baf-440d-9a37-618f2b36c3f3</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I tried with all posible versions of python 2.x and 3.x.&lt;/p&gt;
&lt;p&gt;I added the path of python folder into environment variables also.&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Archana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error occurs while generating the private key for OTA-DFU example</title><link>https://devzone.nordicsemi.com/thread/187210?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f82b1f-882b-4572-95b0-a24a38ed56e1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this related to your issue :&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/issues/222"&gt;https://github.com/NordicSemiconductor/pc-nrfutil/issues/222&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please make sure you are using Python 2.7 not 3.x&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>