<?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>nrf52832 custom board only runs application in debug mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111537/nrf52832-custom-board-only-runs-application-in-debug-mode</link><description>Situation 
 ------- 
 Code: 
 Environment 
 VS Code 
 nRF Connect SDK v1.6.0 
 cmake version 3.24.0-rc2 
 gcc.exe (Rev2, Built by MSYS2 project) 12.1.0 
 Zephyr version: 2.6.0-rc1 
 west version &amp;quot;0.11.0&amp;quot; 
 Board 
 nRF52832 Rev 2 
 HFCLOCK is run with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 May 2024 19:32:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111537/nrf52832-custom-board-only-runs-application-in-debug-mode" /><item><title>RE: nrf52832 custom board only runs application in debug mode.</title><link>https://devzone.nordicsemi.com/thread/486516?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 19:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8da812de-1291-4f8d-9407-2fa7588f5d34</guid><dc:creator>DragonLord64</dc:creator><description>&lt;p&gt;Update; After a hard reset the code runs as expected. Success!&lt;/p&gt;
&lt;p&gt;Thank you for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 custom board only runs application in debug mode.</title><link>https://devzone.nordicsemi.com/thread/486295?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 06:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9a7552-c72c-4b58-be77-fd497ea072f0</guid><dc:creator>DragonLord64</dc:creator><description>&lt;p&gt;I have&amp;nbsp;changed&amp;nbsp;my prj.conf.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_GPIO=y

CONFIG_BOARD_ENABLE_DCDC=n

CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_GPIO_AS_PINRESET=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y



CONFIG_BT=n
CONFIG_DEBUG=n
CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_USE_SEGGER_RTT=n
CONFIG_PM=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and added the following the Kconfig.board&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config BOARD_ENABLE_DCDC
	bool &amp;quot;Enable DCDC mode&amp;quot;
	select SOC_DCDC_NRF52X
	default y
	depends on BOARD_DCLOCK32&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This was unsuccessful. Any other ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 custom board only runs application in debug mode.</title><link>https://devzone.nordicsemi.com/thread/486016?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 12:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b3d2238-b288-422b-86d8-a3e3c7e0baa9</guid><dc:creator>helsing</dc:creator><description>&lt;div&gt;
&lt;div&gt;It seems like you might be encountering a similar issue to what was discussed in the &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107925/nrf52810-blinky-example-not-running-after-flash-without-debugger" rel="noopener noreferrer" target="_blank"&gt;Nordic DevZone forum&lt;/a&gt;. In that case, the user was able to build and flash the program successfully, but it only ran when the debugger was started. The program did not run when the chip was standalone, which seems similar to your issue.
&lt;div style="max-width:100%;width:100%;"&gt;
&lt;div style="margin-bottom:8px;margin-top:8px;"&gt;Check if you have enabled DCDC in your code. Specifically, check if &lt;code style="margin-bottom:8px;margin-top:8px;white-space:pre;" dir="ltr"&gt;BOARD_ENABLE_DCDC&lt;/code&gt; is enabled in your config. &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>