<?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>Cannot Flash 5340DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118452/cannot-flash-5340dk</link><description>Hello, I have two nRF35340 DK. One of them can be flash successfully, another one always encounter this issue: 
 
 I have tried 
 nrfjprog --recover -f NRF53 --coprocessor CP_APPLICATION --snr 1050041747 
 
 nrfjprog --recover -f NRF53 --coprocessor CP_NETWORK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jan 2025 07:25:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118452/cannot-flash-5340dk" /><item><title>RE: Cannot Flash 5340DK</title><link>https://devzone.nordicsemi.com/thread/520813?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 07:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27bceb7c-b755-4f19-973d-3ef31bb04827</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Can you measure the VDD_nRF&amp;#39; voltage on this pin:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1738308205377v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It should be 3V.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you try is to supply the nRF5340 using the second USB connector in addition to the debugger USB connector. To do this you need to switch the power source to USB using switch SW9.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash 5340DK</title><link>https://devzone.nordicsemi.com/thread/520726?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 13:38:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dab9d4b6-aad3-468e-9abc-5030e56f4a16</guid><dc:creator>Ziyao Zhou</dc:creator><description>&lt;p&gt;Thank you so much for your reply!&lt;/p&gt;
&lt;p&gt;Yes, it is brand new, so that I&amp;#39;m sure the&amp;nbsp;&lt;span&gt;SB40&amp;nbsp;SB54 SB55 are connected. I have anther new board and it can be flashed successfully.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="height:240px;" height="240" src="https://devzone.nordicsemi.com/resized-image/__size/360x480/__key/communityserver-discussions-components-files/4/IMG_5F00_7978.jpg_2D00_640x480.jpg" width="179" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have tried to use the NRF programmer but still cannot, below is the error information:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;Error: Failed with exit code 1. Failed to device info one or more devices: * 1050041747: [jlink] Unable to fetch device-info, code: Generic. Message: Operation device-info failed, [jlink] Unable to fetch device-info.
21:28:51.076	Reading readback protection status for Application core
21:28:51.076	Reading readback protection status for Application core 0%
21:28:51.206	Failed &amp;quot;reading readback protection status for application core&amp;quot;. Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] INVALID_OPERATION
21:28:51.381	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] INVALID_OPERATION, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] INVALID_OPERATION.&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Again I try to use the NCS to flash, the error shows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;WARNING: Specifying runner options for multiple domains is experimental.
If problems are experienced, please specify a single domain using &amp;#39;--domain &amp;lt;domain&amp;gt;&amp;#39;
-- west flash: using runner nrfjprog
-- runners.nrfjprog: mass erase requested
-- runners.nrfjprog: reset after flashing requested
-- runners.nrfjprog: Flashing file: C:\Users\Gary\Desktop\peripheral_uart\53\merged_CPUNET.hex
[error] [ Client] - Encountered error -220: Command enable_coprocessor executed for 10010 milliseconds with result -220
Failed to enable coprocessor with unknown error.
[error] [ Worker] - 10 second timeout elapsed, no time left to wait for debug port to power up.
ERROR: Operation failed due to timeout. Check the log messages for more details.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 64: nrfjprog --program &amp;#39;C:\Users\Gary\Desktop\peripheral_uart\53\merged_CPUNET.hex&amp;#39; --chiperase --verify -f NRF53 --coprocessor CP_NETWORK --snr 1050041747&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope you could help me to figure out the problems:&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash 5340DK</title><link>https://devzone.nordicsemi.com/thread/520716?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 13:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:923c0e64-0b55-4f01-a1e3-ce10059efec7</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are both the nRF5340DK new out of box, or have you used them previously?&lt;/p&gt;
&lt;p&gt;If they are not new you should check if the solder bridge for current measurement(SB40) have been cut, if it is cut you need a jumper on P22.&lt;/p&gt;
&lt;p&gt;The SWD interface may also have been disconencted from the onboard debugger, check if tSB54(SWDIO) and SB55(SWDCLK) have been cut.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>