<?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>Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk</link><description>HI 
 I have got a new nrf5340 DK. I have tested four LEDs and HRM. It&amp;#39;s working fine. But when I have tried to upload blinky or hello_world Sample from NCS v1.5.1, I can&amp;#39;t able to flash the device. I have seen the Download failed error. I have attached</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Jun 2021 13:56:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk" /><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312916?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 13:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:370163f2-f736-455c-9f32-ef7086b21bf4</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi elfving,&lt;/p&gt;
&lt;p&gt;Thank you very much for your support&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312902?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 13:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe0d6811-9d31-40a1-afe5-a1362af57c65</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;It would make sense that &amp;quot;&lt;span&gt;west build --erase&amp;quot; works, by &lt;strong&gt;&lt;em&gt;erasing&lt;/em&gt; &lt;/strong&gt;(in the same debugging session) or &lt;strong&gt;&lt;em&gt;recovering&lt;/em&gt;&amp;nbsp;&lt;/strong&gt;the chip you remove the writing protection. nrfjprog --eraseall would do the same thing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Though once again, I need you to confirm that the lines below still return an error. Please either run both:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK
nrfjprog -f NRF53 --recover &lt;/pre&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or alternatively if you prefer west, you could&amp;nbsp;run:&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash --recover&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Håkon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312689?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 14:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8efa629-fe60-48bc-913c-f1ec85d01bf7</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi elfving,&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/312677#312677"] did you do that using SES or the nRF Connect Programmer?[/quote]
&lt;p&gt;By using the command line. I have done this. Actually, I can easily flash the board by using the command &amp;quot;west build --erase&amp;quot;. But while using ses only the&amp;nbsp; problem occurs,&lt;/p&gt;
&lt;p&gt;In that also connect j-link&amp;nbsp; ----&amp;gt; erase -------&amp;gt; download elf file is not working. without erasing it&amp;#39;s working fine&lt;/p&gt;
&lt;p&gt;erase the device is needed one right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312677?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 14:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6098bb9d-f28f-4fb7-9f3f-e28770e5701d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;There doesn&amp;#39;t seem to be anything wrong&amp;nbsp;with the flash contents, and it is most likely not HW related.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once again, the first of these two lines below return an error right? And the second does not?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfjprog -f NRF53 --recover&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I see that you&amp;#39;ve managed to flash the button example using your flashcontents.hex, did you do that using SES or the nRF Connect Programmer?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best 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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312565?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 08:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f2c530-3059-49d3-825b-5c647cee1da0</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi elfving,&lt;/p&gt;
&lt;p&gt;I have attached the files. Which you have asked&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4530.log.log"&gt;devzone.nordicsemi.com/.../4530.log.log&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/flashcontents.hex"&gt;devzone.nordicsemi.com/.../flashcontents.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312530?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 06:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1ea88f-0537-4fac-9629-550302cfffa6</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Oh I&amp;#39;m sorry, I meant:&lt;/p&gt;
&lt;p&gt;&amp;quot;nrfjprog --readcode flashcontents.hex&amp;quot;&lt;/p&gt;
&lt;p&gt;Best 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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312396?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 13:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fc9b594-545d-4aab-abd5-3a7372e90edd</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/312349#312349"] &amp;quot;nrfjprog .--readcode&amp;quot; [/quote]
&lt;p&gt;Hi elfving,&lt;/p&gt;
&lt;p&gt;If I try this code. I have got this error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1622207587516v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312349?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 11:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3d243de-c5cb-413a-a08c-86b2abb56aa1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I presume then that the Hello World example was completely unaltered, and that the button example produced the same error.&lt;/p&gt;
&lt;p&gt;Could you try resending that logfile? Seems like it can&amp;#39;t be opened.&lt;/p&gt;
&lt;p&gt;And could you also try running: &amp;quot;nrfjprog .--readcode&amp;quot; and send me that file as well?&lt;/p&gt;
&lt;p&gt;Best 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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/312050?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 11:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6910e0f-2e6d-4d19-9358-8cadb58689b9</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi elfving,&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/311796#311796"]you try the button example as well?[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/log.log"&gt;log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have attached the log file. while generated with button example&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/311796?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 12:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d37f31db-cd5a-47aa-a2cf-68a0ed441ce1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I am not able to reproduce this. Is&amp;nbsp;the &amp;quot;hello world&amp;quot; example you are using completely unaltered? Could you try the button example as well?&lt;/p&gt;
&lt;p&gt;And btw, did &amp;quot;&lt;span&gt;nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK --log&lt;/span&gt;&lt;span&gt;&amp;quot; return the same error message in the terminal as last time?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Håkon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/311659?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 07:39:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97bf8ca1-ed12-4224-a6b3-def9c87cd4d6</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi, elfving,&lt;/p&gt;
&lt;p&gt;This is the log. I have to got&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5468.log.log"&gt;devzone.nordicsemi.com/.../5468.log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/311436?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 12:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b63c124-5768-4093-ac10-a066e3a88e12</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see, did you also try: &amp;quot;&lt;span&gt;nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK --log&amp;quot; ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you send me that log file?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Håkon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310998?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 10:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47237de7-86de-44f2-ac41-e19bef078c9b</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310972#310972"]And could you try downloading it using SES again, but with the output window set to Output instead of Tasks?[/quote]
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621593441142v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310972?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 09:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f30b9e9a-e1fe-457b-a04b-06bdf5613890</guid><dc:creator>Elfving</dc:creator><description>&lt;div&gt;Try: nrfjprog -f NRF53 --recover --coprocessor CP_NETWORK --log, and give me the log.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;And could you try downloading it using SES again, but with the output window set to Output instead of Tasks?&lt;/div&gt;
&lt;div&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6644.pastedimage1621589608319v1.png" alt=" " /&gt;&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Håkon&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310796?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 14:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac32ffb-5c7a-4907-b04b-3f122a4db5d4</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310790#310790"]&lt;span&gt;nrfjprog&lt;/span&gt; &lt;span&gt;--&lt;/span&gt;&lt;span&gt;recover&lt;/span&gt; &lt;span&gt;--&lt;/span&gt;&lt;span&gt;coprocessor&lt;/span&gt; &lt;span&gt;CP_NETWORK&lt;/span&gt;[/quote]
&lt;p&gt;Kindly, Check this. I have got an error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621519457573v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310790?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 13:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643737ef-e635-409c-8fe8-9c28581acfeb</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Try running:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;nrfjprog&lt;/span&gt; &lt;span&gt;--&lt;/span&gt;&lt;span&gt;recover&lt;/span&gt; &lt;span&gt;--&lt;/span&gt;&lt;span&gt;coprocessor&lt;/span&gt; &lt;span&gt;CP_NETWORK&lt;/span&gt;
&lt;span&gt;nrfjprog&lt;/span&gt; &lt;span&gt;--&lt;/span&gt;&lt;span&gt;recover&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;It seems the nRF53 series (and soon the nRF52&amp;#39;s) comes with APPROTECT being enabled as a default. It is basically read/writing protected until it is&amp;nbsp;programmed not to be. However, recovering it should turn off the writing protection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best 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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310452?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 12:50:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34c689fd-00e8-4211-bc42-f5bbeae58fd7</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310441#310441"]Btw, did &amp;quot;nrfjprog --recover&amp;quot; finish successfully?[/quote]
&lt;p&gt;Yes, Its finish successfully.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310441#310441"]How does it look in the nrf programmer now?[/quote]
&lt;p&gt;NRF programmer shows the same &amp;quot;Device is Protected&amp;quot;&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310441#310441"]And you mentioned that you managed to download the code using the nrf programmer? Did you manage to write it as well?[/quote]
&lt;p&gt;Yes, I mentioned, &amp;quot;I can download the hex file through Programmer, and also it is working&amp;quot;. I can&amp;#39;t able to upload the code from segger&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621490595420v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My device is secured. I think thats why this problem continues, So, tell me How to do mass erase??&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310441?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 12:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35cdd47e-32ff-4ac3-8857-228b99ec593a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see.&lt;/p&gt;
&lt;p&gt;Btw, did &amp;quot;nrfjprog --recover&amp;quot; finish successfully? How does it look in the nrf programmer now?&lt;/p&gt;
&lt;p&gt;And you mentioned that you managed to download the code using the nrf programmer? Did you manage to write it as well?&lt;/p&gt;
&lt;p&gt;Best 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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310423?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 12:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0feff988-819a-43a0-92c2-c04c0f08204c</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310408#310408"]Are you using either the RTT viewer or the&amp;nbsp;&lt;span&gt;Segger RTT Client while using nrfjprog?&lt;/span&gt;[/quote]
&lt;p&gt;No.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310408#310408"] Is switch 9 set to VDD and switch 6 set to default?[/quote]
&lt;p&gt;Yes, Mentioned switches are in the same position only&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310408?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 11:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75ad0d01-cad0-4293-99c9-a7ac6134c04b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Are you using either the RTT viewer or the&amp;nbsp;&lt;span&gt;Segger RTT Client while using nrfjprog? Is switch 9 set to VDD and switch 6 set to default?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Håkon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310370?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 09:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c59fd086-e5a8-415a-bb26-424afb018f29</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi elfving&lt;/p&gt;
&lt;p&gt;Even the same issue follows&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310360?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 09:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f73c40-49e5-402a-8a45-a6b2aadff8d5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Your nrfjprog version could&amp;#39;ve been out of date, but this should be fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can go ahead and run &amp;quot;nrfjprog --recover&amp;quot; now, and see if that helps.&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310340?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 08:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e531c9be-6661-414c-bcaa-0715f1091db3</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310337#310337"] &amp;quot;nrfjprog --version&amp;quot;?[/quote]
&lt;p&gt;&lt;br /&gt;nrfjprog version: 10.12.1&lt;br /&gt;JLinkARM.dll version: 7.20a&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310337?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 08:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b0fd322-3b53-43cf-9810-367d56bfc5c2</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Could you check your nrfjprog version for me by running &amp;quot;nrfjprog --version&amp;quot;?&lt;/p&gt;
&lt;p&gt;Best 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: Program Download failed on NRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/310326?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 08:05:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aaa4af6-48b5-43e0-b513-d69a9d66f37c</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/75286/program-download-failed-on-nrf5340-dk/310318#310318"]Could you try running &amp;quot;nrfjprog -e&amp;quot;[/quote]
&lt;p&gt;ERROR: The operation attempted is unavailable due to readback protection in&lt;br /&gt;ERROR: your device. Please use --recover to unlock the device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When trying to run&amp;nbsp;&lt;span&gt;&amp;quot;nrfjprog -e&amp;quot;. I got this error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In Nrf Connect programmer. Always, It shows the device is protected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621411927661v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One more thing I can able to download code using nrf programmer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Through segger only download a failed error has come&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Navin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>