<?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>Third-Party Module cannot run and debug examples in ncs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112461/third-party-module-cannot-run-and-debug-examples-in-ncs</link><description>SDK: NCS v2.6.0 
 Program Software: v2.6.0\nrf\samples\openthread\cli 
 Hardware：nrf52840dk_nrf52840 and third-party module(nrf52840 soc) 
 
 The program runs normally on nrf52840dk_nrf52840, but it cannot run and debug after flashing to the third-party</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jun 2024 22:33:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112461/third-party-module-cannot-run-and-debug-examples-in-ncs" /><item><title>RE: Third-Party Module cannot run and debug examples in ncs</title><link>https://devzone.nordicsemi.com/thread/490964?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 22:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:439b9065-2c3e-454a-bc49-58fc60bef3ca</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The typical issue that leads to this behavior is the lack of the condencator required for the DCDC converter to work.&lt;/p&gt;
&lt;p&gt;The fix is to disable the DCDC in your prj.conf by adding:&lt;/p&gt;
&lt;p&gt;CONFIG_BOARD_ENABLE_DCDC=n&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, the board(s) that you already programmed with an application that is enabling the DCDC when it is not possible to use it is probably stuck in some reset loop.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What you can try is to save this snippet into a .bat file on your computer, and name it recover_script.bat (or whatever you like to call it):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;:loop
nrfjprog --recover -f NRF52
goto loop&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then run this script from a command line, while you power cycle the board. Let it run for a few minutes, while power cycling the board every couple of seconds. Then the goal is that the script is able to hook onto the debugger before the chip browns out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best of luck, and best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>