<?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 recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108122/unable-to-recover-a-nrf5340-mcu-after-first-flash-on-a-custom-board-using-nrf5340-dk</link><description>Dear, 
 I was trying to flash a custom board using a nrf5340 module (Raytac MDBT53-1M) threw P20 connection of a nrf5340-DK like described in https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf5340_dk%2FUG%2Fdk%2Fext_programming_support_P20.html</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Oct 2025 06:54:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108122/unable-to-recover-a-nrf5340-mcu-after-first-flash-on-a-custom-board-using-nrf5340-dk" /><item><title>RE: Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/thread/552840?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2025 06:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b6e4828-e0ee-4a5a-9a87-eb38970212ca</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;If you meant to say you shorted DECD to 3.3V then you very likely have damaged parts of the chip as that node should not see those voltage levels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/thread/552726?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 09:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8457424b-2739-4998-a7a4-3ae8c12e2254</guid><dc:creator>LL01</dc:creator><description>&lt;p&gt;Thank you for documenting this. During my development process, I also encountered MCU startup issues caused by setting different power modes. Your documentation provided valuable insights that helped me resolve my problem. Regarding the MCU reset, I managed to reprogram the previously misconfigured board by shorting DCED to 3.3V using tweezers for reconfiguration. I&amp;#39;m adding this as a supplementary note here. Thank you again for your documentation!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/thread/467967?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 16:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:975f3aec-9163-4c67-becc-3b2d61be45a2</guid><dc:creator>Lumisoft</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I was not yet able to restore the previous boards with the recover loop script, but I confirm by disabling DCDC&amp;nbsp; the issue is solved and nrf53 is not constantly rebooting.&lt;/p&gt;
&lt;p&gt;I used these configs for that:&lt;br /&gt;&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_NET=n&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_HV=n&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC_APP=n&lt;/p&gt;
&lt;p&gt;Thank you!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/thread/467964?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 15:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a04e425-ba6c-4dec-a4d9-cd3bbc2e4df2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for sharing the schematic.&lt;/p&gt;
&lt;p&gt;It shows that there is no DCDC components in-place. If your firmware is configured without explicitly disabling DCDC, it will boot up, set DCDCEN register(s), and reset itself due to a power-on-reset.&lt;/p&gt;
&lt;p&gt;The first recommendation is to update your nrf-command line tools installation to the newest:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that, you can try to run a recover loop script, to see if you are then able to recover the device:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45078/nrf52832-not-connected-anymore-after-first-trying-to-debug-keil/177579"&gt;RE: nRF52832 not connected anymore after first trying to debug (Keil)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Switch out the &amp;quot;-f nrf52&amp;quot; to &amp;quot;-f nrf53&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also try to vary the SWD speed, via adding &amp;quot;-c 125&amp;quot; for instance. This will switch the SWD speed to 125 kHz.&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: Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/thread/467920?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 12:43:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:febbbb17-deef-4a39-b23f-2e5f8c21cbb1</guid><dc:creator>Lumisoft</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;br /&gt;&lt;br /&gt;Yes, 32k is included, here is the schematic around module:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6052.MCU.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We tried to follow manufacturer recommendations. You think I can restore/clear MCU?&lt;/p&gt;
&lt;p&gt;I also tried to recover network coprocessor, but facing almost the same:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/528725.log.log"&gt;devzone.nordicsemi.com/.../528725.log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you!&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to recover a nrf5340 MCU after first flash on a custom board using nrf5340 DK</title><link>https://devzone.nordicsemi.com/thread/467910?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 12:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b908e0fd-547c-49cd-aa66-b728bda53ee6</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=""]I was trying to flash a custom board using a nrf5340 module (Raytac MDBT53-1M) [/quote]
&lt;p&gt;How is the schematic around this module? Do you include a 32k xtal and/or DCDC-components?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If not, you will have to manually specify both the 32k source + disable DCDC.&lt;/p&gt;
&lt;p&gt;In your prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# disable DCDC
CONFIG_BOARD_ENABLE_DCDC_APP=n
CONFIG_BOARD_ENABLE_DCDC_NET=n
CONFIG_BOARD_ENABLE_DCDC_HV=n

# Use internal 32k RC oscillator
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you enable BT, you need to create file/folder and set this in child_images/hci_rpmsg.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I attached the log of the command:&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;nrfjprog --recover --family nRF53 --log&lt;/span&gt;&lt;/span&gt;[/quote]
&lt;p&gt;Could you first try to recover the net core, then the app core?&lt;/p&gt;
&lt;p&gt;nrfjprog --recover -f nrf53 --coprocessor cp_network&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>