<?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>nRF Connect fails to update nRF9160 DK Modem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69736/nrf-connect-fails-to-update-nrf9160-dk-modem</link><description>I&amp;#39;m trying to update the modem firmware on my nRF9160-DK through the Programmer app available in nRF Connect (v3.6.1), but the app is returning an error, saying it cannot connect to the target: 
 
 I&amp;#39;m trying to run the tool on Linux. 
 What could be</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Jan 2021 15:24:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69736/nrf-connect-fails-to-update-nrf9160-dk-modem" /><item><title>RE: nRF Connect fails to update nRF9160 DK Modem</title><link>https://devzone.nordicsemi.com/thread/287300?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 15:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e38da78-f14f-4ed4-9582-92dbf9e04144</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Happy new year!&lt;/p&gt;
&lt;p&gt;My apologies for the late response.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q1: Which distro are you using? If debian based; did you install the jlink .deb package?&lt;/p&gt;
&lt;p&gt;Q2: Are you able to read/write any other .hex file (not modem upgrade)?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are really stuck here, you can do a workaround by trying to use pynrfjprog to upgrade the modem. Here&amp;#39;s an example:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53208/updating-nrf9160-modem-firmware-through-the-command-line"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/53208/updating-nrf9160-modem-firmware-through-the-command-line&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect fails to update nRF9160 DK Modem</title><link>https://devzone.nordicsemi.com/thread/286180?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 22:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c41f88ca-08d2-4e0e-8b2d-5ae022aaffb2</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Yes, nrfjprog is working. Here&amp;#39;s the output of the command you pasted:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;0x00000000: 20000C70                              |p.. |
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Yes, udev rules have been loaded. I can even read output from the target through RTT.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2772.print.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect fails to update nRF9160 DK Modem</title><link>https://devzone.nordicsemi.com/thread/285969?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 07:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf508e2c-72e8-4c90-ac7d-c0f24f522502</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to the error message, it has problems connecting and reading params from the nRF device.&lt;/p&gt;
&lt;p&gt;If you use, for instance nrfjprog, from a terminal (this should read the content of address 0), does it work then?&lt;/p&gt;
&lt;p&gt;nrfjprog --memrd 0 -f nrf91&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfjprog can be downloaded from this link if you do not already have it:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;*edit* Have you ensured that the udev rules for jlink is properly loaded?&amp;nbsp;Its normally provided in /etc/udev/rules.d/99-jlink.rules and needs a udev reload or a reboot to take effect.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>