<?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>unable to flash on bt 40</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119914/unable-to-flash-on-bt-40</link><description>-- west flash: rebuilding [0/16] Performing build step for &amp;#39;tfm&amp;#39; ninja: no work to do. -- west flash: using runner nrfjprog -- runners.nrfjprog: reset after flashing requested -- runners.nrfjprog: Flashing file: c:\Users\lnaik\Desktop\New_develop\build_1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Mar 2025 13:21:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119914/unable-to-flash-on-bt-40" /><item><title>RE: unable to flash on bt 40</title><link>https://devzone.nordicsemi.com/thread/528860?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 13:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fce84f80-9419-456d-bacb-254f84eb7ddf</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It looks like Netwok core is having issue while recovering. can you try the follwoing way?&lt;/p&gt;
&lt;p&gt;nrfjprog --recover --coprocessor CP_NETWORK&lt;br /&gt;nrfjprog --recover&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to flash on bt 40</title><link>https://devzone.nordicsemi.com/thread/528312?ContentTypeID=1</link><pubDate>Fri, 21 Mar 2025 05:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90c45abc-7ad8-47ae-bbd7-4bd0500a9da1</guid><dc:creator>lalith88</dc:creator><description>&lt;p&gt;[error] [ Client] - Encountered error -102: Command select_coprocessor executed for 296 milliseconds with result -102&lt;br /&gt;ERROR: Failed when selecting coprocessor APPLICATION&lt;br /&gt;[error] [ Worker] - An unknown error.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;br /&gt;FATAL ERROR: command exited with status 33: nrfjprog --program &amp;#39;c:\Users\lnaik\Desktop\New_develop\build_1\zephyr\merged.hex&amp;#39; --sectorerase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 600105674&lt;br /&gt;can you check this once please&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to flash on bt 40</title><link>https://devzone.nordicsemi.com/thread/527938?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 06:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0278121f-6e6c-4106-bc34-c01acd5e077d</guid><dc:creator>lalith88</dc:creator><description>&lt;p&gt;C:\Users\lnaik\Desktop\New_develop&amp;gt;nrfjprog --recover --coprocessor CP_NETWORK&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;[error] [ Client] - Encountered error -21: Command recover executed for 14 milliseconds with result -21&lt;br /&gt;[error] [ Worker] - Eraseprotect is enabled and readback protection setting is ALL, can&amp;#39;t recover device.&lt;br /&gt;ERROR: Recover failed. Please make sure that the correct device family is given&lt;br /&gt;ERROR: and try again.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&amp;nbsp;&lt;br /&gt;i think this is the major issue&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to flash on bt 40</title><link>https://devzone.nordicsemi.com/thread/527937?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 06:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85a81398-d77e-4357-a2e2-4fc760ed499b</guid><dc:creator>lalith88</dc:creator><description>&lt;p&gt;&lt;br /&gt;C:\Users\lnaik\Desktop\New_develop&amp;gt;nrfjprog --recover --coprocessor CP_APPLICATION&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;Erasing user code and UICR flash areas.&lt;br /&gt;Writing image to disable ap protect.&lt;/p&gt;
&lt;p&gt;C:\Users\lnaik\Desktop\New_develop&amp;gt;nrfjprog --recover --coprocessor CP_NETWORK&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;[error] [ Client] - Encountered error -21: Command recover executed for 14 milliseconds with result -21&lt;br /&gt;[error] [ Worker] - Eraseprotect is enabled and readback protection setting is ALL, can&amp;#39;t recover device.&lt;br /&gt;ERROR: Recover failed. Please make sure that the correct device family is given&lt;br /&gt;ERROR: and try again.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&amp;nbsp;&lt;br /&gt;firstly i got this kind of response i have tried to flash it again then i got below response&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;[error] [ Client] - Encountered error -102: Command enable_coprocessor executed for 170 milliseconds with result -102&lt;br /&gt;Failed to enable coprocessor with unknown error.&lt;br /&gt;[error] [ Worker] - An unknown error.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;br /&gt;FATAL ERROR: command exited with status 33: nrfjprog --recover -f NRF53 --coprocessor CP_NETWORK --snr 1050060012&lt;br /&gt;now i am getting this error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to flash on bt 40</title><link>https://devzone.nordicsemi.com/thread/527878?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 14:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f7bfb05-8f49-4d34-a45b-4a2a6426c731</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The error seems related to memory protection issue which is common error. This is likely due to APPPROTECT, SECUREAPPROTECT or ERASEPROTECT being enabled on nRF5340.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try to use&amp;nbsp;&lt;strong&gt;west flash --recover &lt;/strong&gt;or&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;can use &lt;strong&gt;nrfjprog&lt;/strong&gt; command to recover both&amp;nbsp;application and network core.&lt;/p&gt;
&lt;p&gt;First, you have to recover the application core&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --recover --coprocessor CP_APPLICATION&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then network core&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --recover --coprocessor CP_NETWORK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then try flashing the program.&lt;/p&gt;
&lt;p&gt;If you have custom device, they you have to make sure device is properly powered (&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/ext_programming_support_P19.html"&gt;Programming an external board&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>