<?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>nrf9160 modem firmware flashing using pynrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65190/nrf9160-modem-firmware-flashing-using-pynrfjprog</link><description>Hi, 
 We were trying to flash the nrf modem firmware using the &amp;#39;pynrfjprog&amp;#39;. 
 When only one nrf9160dk is connected , the flashing is success and no error. 
 But when multiple nrf9160dk is connected, an error comes as shown below. But seems the flashing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Aug 2020 08:56:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65190/nrf9160-modem-firmware-flashing-using-pynrfjprog" /><item><title>RE: nrf9160 modem firmware flashing using pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/266406?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 08:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89c67f7a-9f8c-4f89-af21-46f76244a792</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ok, the issue is a small bug in the script itself. The probe itself is not closed correctly when done, which means that you should add &lt;em&gt;probe.close()&amp;nbsp;&lt;/em&gt;right before &lt;em&gt;print(&amp;quot;Done&amp;quot;).&amp;nbsp;&lt;/em&gt;See attached script:&lt;br /&gt;&lt;pre class="ui-code" data-mode="python"&gt;from pynrfjprog import HighLevel
api = HighLevel.API()
api.open()
snr = api.get_connected_probes()
for s in snr:
    probe = HighLevel.IPCDFUProbe(api, s, HighLevel.CoProcessor.CP_MODEM)
    probe.program(&amp;quot;mfw_nrf9160_1.2.0.zip&amp;quot;)
    probe.verify(&amp;quot;mfw_nrf9160_1.2.0.zip&amp;quot;)
    probe.close()
    print(&amp;quot;Done&amp;quot;)
 
api.close()&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This worked for me at least. Let me know how it works for you.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem firmware flashing using pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/266382?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 08:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac149b5d-de55-4d8d-be7b-f83052b194be</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Aswin,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, I&amp;#39;m seeing the same issue here as well. It looks like a bug that has been introduced with the latest versions of pynrjprog. I will forward to our developers and get back to you as soon as I have an answer from them.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem firmware flashing using pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/266371?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 07:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70115dab-b7d9-4cfb-a605-b176f17e8d28</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Aswin,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will have a look at your case and get back to you within today or tomorrow.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>