<?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 Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64336/nrf-connect-programmer---modem-dfu-failed</link><description>Hello, 
 Just want to ask how to solve this issue? I am using J-Link with updated version. 
 I also did &amp;#39;erase all&amp;#39; before updating the modem and flashing. I succeeded on initial few samples but then suddenly 
 this error happened. Now I even cannot re</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jul 2020 11:44:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64336/nrf-connect-programmer---modem-dfu-failed" /><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262558?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2020 11:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b6d57aa-5d13-44f8-bb0a-d2f1423e8a7a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;It could be that the application you flashed sets this&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fxproddone_set.html&amp;amp;cp=2_1_4_27_0"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fxproddone_set.html&amp;amp;cp=2_1_4_27_0&lt;/a&gt;&lt;br /&gt;in the application.&lt;/p&gt;
&lt;p&gt;Could you try another jlink or another computer to see if the issue can be there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262555?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2020 11:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d4829fa-3782-4161-9051-b787d779310b</guid><dc:creator>Black_Ice</dc:creator><description>&lt;p&gt;how to know if my device&amp;#39;s protection is enabled? These boards were pre-loaded with hex file, I just re-flash them to view public and private key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262413?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 12:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c558cf9-125f-4c8c-9055-77211d187bd4</guid><dc:creator>Black_Ice</dc:creator><description>&lt;p&gt;Well the thing is, initially I flashed the unit without issues. I update the modem then flashed the unit.&lt;/p&gt;
&lt;p&gt;But when I tried to re-flash it again I get error during updating the modem again. I cannot proceed to flashing hex.&lt;/p&gt;
&lt;p&gt;When I bypass the update modem and flash hex directly it wont work either. Even with erase all first.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262411?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 12:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba7e70f0-99b7-4767-8bef-1e85c2360b45</guid><dc:creator>Martin Lesund</dc:creator><description>[quote user="Black_Ice"] the different project from other customer using nRF9160 and it works just fine.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;This issue only happens when you try to update the modem firmware?&lt;/p&gt;
&lt;p&gt;Or does it happen when flashing the Application itself?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you following the steps mention in this Application Note&lt;br /&gt; &amp;quot;nRF9160 Production Programming&amp;quot;:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fnan_041%2FAPP%2Fnan_041%2Fintro.html&amp;amp;cp=13_0"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fnan_041%2FAPP%2Fnan_041%2Fintro.html&amp;amp;cp=13_0&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262403?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 12:34:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8410fdd6-38c1-4003-b3eb-83677d55e16e</guid><dc:creator>Black_Ice</dc:creator><description>&lt;p&gt;Yes. Even there&amp;#39;s no RTT viewer I still get the error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried on the different project from other customer using nRF9160 and it works just fine.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262401?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 12:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea05934-fd66-434b-ac3c-deb7fe5c458e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Do you still get issues if you&amp;nbsp;&lt;strong&gt;do not&lt;/strong&gt; open RTT Viewer first?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262328?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 08:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a4d36f-2754-45a9-9269-eca52f37ed2c</guid><dc:creator>Black_Ice</dc:creator><description>&lt;p&gt;The RTT Viewer was required by our customer to verify the public and private key.&lt;/p&gt;
&lt;p&gt;The steps I did were below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Open RTT Viewer and verifiy the device is connected.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1596099047757v1.png" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1596099176501v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) Open nRF Programmer, at first i did not perform erase all command, just straight to update modem&lt;/p&gt;
&lt;p&gt;and flash hex. I did it for the 15 samples or so and it worked. Then after some time the error came out.&lt;/p&gt;
&lt;p&gt;***by the way, before this issue I flashed all 20 units with no problem. Then the customer required to view the log file for public and private key that is why I needed the RTT Viewer and reflash the units again*** Is it possible that the nRF9160 was corrupted or some sort?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is the log file data.&lt;/p&gt;
&lt;p&gt;2020-07-30T07:30:35.154Z INFO Application data folder: C:\Users\Engineer\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer&lt;br /&gt;2020-07-30T07:30:35.452Z DEBUG App pc-nrfconnect-programmer v1.4.3 official&lt;br /&gt;2020-07-30T07:30:35.453Z DEBUG App path: C:\Users\Engineer\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer&lt;br /&gt;2020-07-30T07:30:35.453Z DEBUG nRFConnect 3.4.1 is supported by the app (^3.3.0)&lt;br /&gt;2020-07-30T07:30:35.453Z DEBUG nRFConnect path: C:\Users\Engineer\AppData\Local\Programs\nrfconnect\resources\app.asar&lt;br /&gt;2020-07-30T07:30:35.453Z DEBUG HomeDir: C:\Users\Engineer&lt;br /&gt;2020-07-30T07:30:35.453Z DEBUG TmpDir: C:\Users\Engineer\AppData\Local\Temp&lt;br /&gt;2020-07-30T07:30:35.491Z INFO Using nrfjprog library 10.9.0, pc-nrfjprog-js 1.7.3&lt;br /&gt;2020-07-30T08:48:10.473Z INFO Using nrfjprog to communicate with target&lt;br /&gt;2020-07-30T08:48:11.072Z INFO Using J-Link Software version 6.82&lt;br /&gt;2020-07-30T08:48:11.958Z INFO Segger serial: 269402668&lt;br /&gt;2020-07-30T08:48:11.958Z INFO Segger speed: 2000 kHz&lt;br /&gt;2020-07-30T08:48:11.958Z INFO Segger version: J-Link V9 compiled Dec 13 2019 11:14:50&lt;br /&gt;2020-07-30T08:48:11.963Z INFO Core probed: 269402668.&lt;br /&gt;2020-07-30T08:48:11.963Z INFO Core RAM: 256KiB.&lt;br /&gt;2020-07-30T08:48:11.963Z INFO Core ROM: 1024KiB in pages of 4KiB.&lt;br /&gt;2020-07-30T08:48:12.242Z INFO Model: NRF9160_xxAA_REV2.&lt;br /&gt;2020-07-30T08:48:12.721Z INFO Core0: Reading device non-volatile memory. This may take a few seconds.&lt;br /&gt;2020-07-30T08:48:12.893Z INFO Core0: UICR has been read. Click read button to read full non-volatile memory.&lt;br /&gt;2020-07-30T08:56:15.121Z INFO Modem DFU starts to write...&lt;br /&gt;2020-07-30T08:56:15.121Z INFO Writing D:\DESIGN PROJECTS 2019\MEO LIFE\FW\nRF\mfw_nrf9160_1.2.0.zip to device 269402668&lt;br /&gt;2020-07-30T08:56:16.960Z INFO Checking for newer bootloader.&lt;br /&gt;2020-07-30T08:56:16.963Z INFO Newer bootloader discovered, re-initializing.&lt;br /&gt;2020-07-30T08:56:17.293Z INFO Programming file 0 of 2 files.&lt;br /&gt;2020-07-30T08:56:17.315Z INFO Programming 1 of 1 segments.&lt;br /&gt;2020-07-30T08:56:17.479Z INFO Programming finished.&lt;/p&gt;
&lt;p&gt;2020-07-30T08:56:17.483Z INFO Programming file 1 of 2 files.&lt;br /&gt;2020-07-30T08:56:18.686Z INFO Programming 1 of 32 segments.&lt;br /&gt;2020-07-30T08:56:18.794Z ERROR Modem DFU failed with error: Error: Error occured when program. Errorcode: CouldNotCallFunction (0x9)&lt;br /&gt;Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)&lt;/p&gt;
&lt;p&gt;2020-07-30T08:56:24.359Z INFO Modem DFU starts to write...&lt;br /&gt;2020-07-30T08:56:24.360Z INFO Writing D:\DESIGN PROJECTS 2019\MEO LIFE\FW\nRF\mfw_nrf9160_1.2.0.zip to device 269402668&lt;br /&gt;2020-07-30T08:56:25.959Z INFO Checking for newer bootloader.&lt;br /&gt;2020-07-30T08:56:25.962Z INFO Newer bootloader discovered, re-initializing.&lt;br /&gt;2020-07-30T08:56:26.294Z INFO Programming file 0 of 2 files.&lt;br /&gt;2020-07-30T08:56:26.330Z INFO Programming 1 of 1 segments.&lt;br /&gt;2020-07-30T08:56:26.477Z INFO Programming finished.&lt;/p&gt;
&lt;p&gt;2020-07-30T08:56:26.479Z INFO Programming file 1 of 2 files.&lt;br /&gt;2020-07-30T08:56:27.700Z INFO Programming 1 of 32 segments.&lt;br /&gt;2020-07-30T08:56:28.133Z ERROR Modem DFU failed with error: Error: Error occured when program. Errorcode: CouldNotCallFunction (0x9)&lt;br /&gt;Lowlevel error: Unknown value (ffffffa3)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262318?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 08:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6af124b8-ff35-4394-ad67-8feb320a23f5</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Could you share the full log from the programmer app:&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6cc807c741314366963711bb9269392c/pastedimage1596096651464v1.png" alt=" " /&gt;after running the modem update ?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Also please shut all other serial terminal e.g. like RTT Viewer, so that the Jlink is only used when using the programmer app.&lt;br /&gt;&lt;br /&gt;Do you have any idea what may have happened between the flashing the ones that worked vs. the ones that does not work?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262304?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 07:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1923908c-7545-4859-a936-a1085fc1e0f9</guid><dc:creator>Black_Ice</dc:creator><description>&lt;p&gt;I&amp;#39;m using external J-Link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1596094041927v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I did is I use RTT viewer to check log report.&lt;/p&gt;
&lt;p&gt;Then open nRF programmer to erase all -&amp;gt; update modem -&amp;gt; flash hex, but I&amp;#39;m just until erase all...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262297?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 06:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383a8e47-2161-475d-862d-6381f80b572a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Are you using the Debug_out on a nrf91DK to flash the custom board or an external Jlink?&lt;br /&gt;Whats the nrfjprog version you are using?&lt;br /&gt;&lt;em&gt;open cmd and type &amp;#39;nrfjprog -v&amp;#39;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262282?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 06:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed96ba4b-c677-47cf-b09c-343cdf6ec7e7</guid><dc:creator>Black_Ice</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m flashing a product which I designed for a customer. I was successful initially but I cannot re-flash it now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Programmer - Modem DFU failed</title><link>https://devzone.nordicsemi.com/thread/262281?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 06:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f86a3307-76fd-4f04-b022-70da5230911a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Black_ice,&lt;/p&gt;
&lt;p&gt;Which device are you trying to update?&lt;/p&gt;
&lt;p&gt;If it is the Thingy:91, please try to do it with the .zip file inside:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91/Download#infotabs"&gt;https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91/Download#infotabs&lt;br /&gt;(&lt;/a&gt;&amp;quot;mfwnrf9160120.zip&amp;quot;)&lt;/p&gt;
&lt;p&gt;Also remember to put the device in DFU mode by holding in the button down when turning the Thngy:91 on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>