<?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 cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109694/pynrfjprog-cannot-update-modem-of-nrf9160</link><description>Hi Nordic 
 I had used pynrfjprog to update modem of nrf9160 for a long time. Everything ran well and smoothly. 
 But, yesterday, I found it failed to update modem. I have no idea what I happened. The python script was same. The hardware was same. 
 What</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Apr 2024 08:49:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109694/pynrfjprog-cannot-update-modem-of-nrf9160" /><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/477489?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 08:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85a9f8e9-8cd7-46b6-89d0-776f69265e9c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
[quote user="Jeffery"]It can work now after replacing CP_MODEM by CP_APPLICATION.[/quote]
&lt;p&gt;It is great to hear that your issue has been resolved. Thank you for the update.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/477432?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 01:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2861001-8935-4353-8e59-ac7817ecf15f</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi Dejan&lt;/p&gt;
&lt;p&gt;It can work now after replacing CP_MODEM by CP_APPLICATION.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/477027?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 08:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595af383-ec52-420d-90a1-edfa47b6bea9</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
[quote user="Jeffery"]&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;Since this issue found after upgrading tools, I forgot the previous versions both.&lt;/p&gt;
&lt;p&gt;I also tried to downgrade pynrfjprog and nrf command line. However, it was no use.&lt;/p&gt;
&lt;p&gt;It still failed to update modem at same reason. It was weird.&lt;/p&gt;[/quote]
&lt;p&gt;Knowing working versions of the tools could potentially help in finding out the cause of your issue. Which versions of the tools did you try downgrading to?&lt;/p&gt;
[quote user="Jeffery"]2. Could you try my &amp;quot;up_modem.py&amp;quot; at your side?[/quote]
&lt;p&gt;I have tested your script and managed to reproduce the error.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;EDIT: I have tested using CP_APPLICATION instead of CP_MODEM in your update_modem.py script and I did not see the error anymore. Can you test yourself?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476779?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 08:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cb18d67-05c5-4138-a5ec-02af73844a6b</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi Dejans&lt;/p&gt;
&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;Since this issue found after upgrading tools, I forgot the previous versions both.&lt;/p&gt;
&lt;p&gt;I also tried to downgrade pynrfjprog and nrf command line. However, it was no use.&lt;/p&gt;
&lt;p&gt;It still failed to update modem at same reason. It was weird.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. Could you try my &amp;quot;up_modem.py&amp;quot; at your side?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Or, if you saw some error at this python script. Please tell me how to correct it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476777?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 08:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8111f382-89eb-4189-990d-c12f4d5be503</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;br /&gt;&lt;br /&gt;I am looking at this:&lt;/p&gt;
[quote user=""]What I did between was to upgrade pynrfjprog and nrf command line.&amp;nbsp;[/quote]
&lt;p&gt;If you performed an upgrade, what were your initial and upgraded versions of the tools.&lt;/p&gt;
[quote user="Jeffery"]Then, referring to documentation, I made a pyhton script.[/quote]
&lt;p&gt;Could you provide a link to the documentation you refer to?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476774?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 08:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:775e286e-17df-4c75-bc5e-f2675c955d9a</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi Dejans&lt;/p&gt;
&lt;p&gt;I already gave information at first&amp;nbsp;message. Please check the content at 1st message.&lt;/p&gt;
&lt;p&gt;pynrjprog and nrf command line both are v10.24.0.&lt;/p&gt;
&lt;p&gt;Then, referring to documentation, I made a pyhton script. Also at 1st message.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476772?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 08:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7e4893b-3f75-4ded-a0f0-84c486af044b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;br /&gt;&lt;br /&gt;Could you provide information about both pynrfjprog and nRF Command Line Tools versions in cases where everything worked as expected and when you got NOT_AVAILABLE_BECAUSE_PROTECTION error?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476339?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2024 08:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41ad84c6-4ab2-4344-945b-95b4430db0dc</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try it at your side?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know the cause and how to fix it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476248?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 01:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d8d11d4-979f-4bf9-802f-ca86dbe00e5d</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try erasing and recovering as below.&lt;/p&gt;
&lt;p&gt;nrfjprog -f NRF91 -e&lt;br /&gt;nrfjprog -f NRF91 --recover&lt;br /&gt;python update_modem.py &lt;span&gt;.\mfw_nrf9160_1.3.4.zip&lt;/span&gt;&lt;br /&gt;nrfjprog -f NRF91 -r&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The result was same. It failed at nrfjprog.dll -90.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8206.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pynrfjprog cannot update modem of nrf9160</title><link>https://devzone.nordicsemi.com/thread/476148?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 13:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1169e04b-127e-41e3-b030-57272c2e379d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Have you tried to erase your device?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>