<?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>Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111143/error-when-writing-with-j-link</link><description>If you try to write a program on a board with nRF5340 installed, an error will occur. 
 I can write to other boards using the same J-Link, so I don&amp;#39;t think it&amp;#39;s a J-Link problem. 
 When writing with VSCODE, the following error is displayed. 
 -- west</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 May 2024 09:13:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111143/error-when-writing-with-j-link" /><item><title>RE: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/484812?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 09:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c96e79df-d773-4dd7-88d2-35f85b1598fc</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;Deer&amp;nbsp;&lt;span&gt;H&amp;aring;kon&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for answering.&lt;/p&gt;
&lt;p&gt;You can now write in the following way before receiving an answer.&lt;/p&gt;
&lt;p&gt;1.Add the following to prj.conf&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_APP=n&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_NET=n&lt;br /&gt;2. Run the build&lt;br /&gt;3.Run SEGGER&amp;#39;s J-Link Commander&lt;br /&gt;&amp;rArr;Check the voltage value of the board&lt;br /&gt;4. After running Connect at the above prompt, select nRF5340 on the selection screen&lt;br /&gt;5. Execute writing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/484643?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 10:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1503d393-c6ea-412b-890f-c99fce2d6598</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;You can try to run this batch file, while powering on/off your custom board.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;:loop
nrfjprog --recover -f nrf53
goto loop&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Save this to &amp;quot;nrfjprog_recover_loop.bat&amp;quot; and run this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This will continuously run the recover process while you power cycle your custom board. It can usually take a minute or two, but you are usually able to recover your board this way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and report back?&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: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/484608?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 05:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5effcc93-d205-460e-bb6f-377fe463abda</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;I found out a little bit about the cause.&lt;/p&gt;
&lt;p&gt;The customer&amp;#39;s board has the DCCD terminal, DECD terminal, DCC terminal, and DECR terminal open.&lt;br /&gt;Even though I was in LDO mode, the following settings were not made in the prj.conf file.&lt;/p&gt;
&lt;p&gt;CONFIG_BOARD_ENABLE_DCDC_APP=n&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_NET=n&lt;/p&gt;
&lt;p&gt;Therefore, it seems to be Resetloop.&lt;/p&gt;
&lt;p&gt;Please tell me how to cancel Resetloop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/483454?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 10:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:189e80e9-58a1-4d24-b365-4576b2ccf77d</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;Thank you, Mr. Haakon.&lt;/p&gt;
&lt;p&gt;Executing two commands will result in an error.&lt;/p&gt;
&lt;p&gt;The error display is&lt;/p&gt;
&lt;p&gt;(base) PS C:\Users\TSP_M1\nrf5340_audio_demo6\tools&amp;gt; nrfjprog --recover -f nrf53 --coprocessor CP_NETWORK --log&lt;br /&gt;[error] [Client] - Encountered error -102: Command enable_coprocessor executed for 78 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;(base) PS C:\Users\TSP_M1\nrf5340_audio_demo6\tools&amp;gt; nrfjprog --recover -f nrf53 --coprocessor CP_APPLICATION --log&lt;br /&gt;[error] [Worker] - An unknown error.&lt;br /&gt;[error] [Client] - Encountered error -102: Command select_coprocessor executed for 62 milliseconds with result -102&lt;br /&gt;ERROR: Failed when selecting coprocessor APPLICATION&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;/p&gt;
&lt;p&gt;I will share the .log at that time.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/10123.log.log"&gt;devzone.nordicsemi.com/.../10123.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/483443?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 09:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09fa4186-557c-475e-be15-36e3a5176e42</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;Try to recover your device:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Net core first
nrfjprog --recover -f nrf53 --coprocessor CP_NETWORK --log
# App core second
nrfjprog --recover -f nrf53 --coprocessor CP_APPLICATION --log&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If that still fails, please share the updated .log file(s)&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: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/483368?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 23:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2bc3b3e-f735-4e91-a003-4da59f6f53b6</guid><dc:creator>Junichi</dc:creator><description>&lt;p&gt;&lt;span&gt;H&amp;aring;kon&lt;/span&gt; Thank you.&lt;/p&gt;
&lt;p&gt;I made a mistake in posting the error.&lt;/p&gt;
&lt;p&gt;Actually it will be as follows.&lt;/p&gt;
&lt;p&gt;-- west flash: using runner nrfjprog&lt;br /&gt;-- runners.nrfjprog: Flashing file: c:\Users\TSP_M1\nrf5340_audio_demo6\build\zephyr\zephyr.hex&lt;br /&gt;[error] [Client] - Encountered error -102: Command select_coprocessor executed for 155 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\TSP_M1\nrf5340_audio_demo6\build\zephyr\zephyr.hex&amp;#39; --sectorerase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 821007475&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please tell me the cause of the error.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when writing with J-Link</title><link>https://devzone.nordicsemi.com/thread/483231?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 11:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52b08ec7-a2f3-498d-b30f-dce8ae2dbd8b</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;
[quote user=""]ERROR: Low voltage detected at the target. Please make sure the device is&lt;br /&gt;ERROR: properly supplied.[/quote]
&lt;p&gt;Have you checked if there&amp;#39;s an issue with your power supply?&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>