<?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>Programs never make it to main()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96300/programs-never-make-it-to-main</link><description>I&amp;#39;ve designed a custom board with the Laird BL5340 module and even the Blinky sample fails to run properly. I get the following debug output no matter what I try: 
 
 I&amp;#39;ve got UART1, I2S (master), and LED6, 7, and 8 connected using the same pins as the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Feb 2023 14:30:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96300/programs-never-make-it-to-main" /><item><title>RE: Programs never make it to main()</title><link>https://devzone.nordicsemi.com/thread/408608?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 14:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82bb59a9-88ca-420f-8cec-100d7adeb675</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to help. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programs never make it to main()</title><link>https://devzone.nordicsemi.com/thread/408398?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 23:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4c34563-98b0-412f-97c5-b000e4ad6240</guid><dc:creator>MStreet</dc:creator><description>&lt;p&gt;That works, thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programs never make it to main()</title><link>https://devzone.nordicsemi.com/thread/408385?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 19:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d251107e-3a55-4ba8-ac9a-2d8639c092c0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Add this to your project config file:&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]I&amp;#39;ve&amp;nbsp;designed a custom board with the Laird BL5340 module [/quote]
&lt;p&gt;You also could try to&amp;nbsp;build for&amp;nbsp;bl5340_dvk, there is &lt;strong&gt;t&lt;/strong&gt;he board setting&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/boards/arm/bl5340_dvk"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/boards/arm/bl5340_dvk&lt;/a&gt;&amp;nbsp;for it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programs never make it to main()</title><link>https://devzone.nordicsemi.com/thread/408083?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2023 17:36:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0070c1ca-15c3-4551-92ab-365e83bd705e</guid><dc:creator>MStreet</dc:creator><description>&lt;p&gt;No, I don&amp;#39;t have NRF5340DK. But I do have two of the NRF5340 AUDIO DK and they program and work OK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programs never make it to main()</title><link>https://devzone.nordicsemi.com/thread/408081?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2023 17:31:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:867ecfcb-643a-4ed5-afb9-d830f96dbb01</guid><dc:creator>MStreet</dc:creator><description>&lt;p&gt;Same result. The log shows that it is stuck in&amp;nbsp;&lt;span&gt;arch_cpu_atomic_idle (), which apparently is a low-power &amp;quot;sleep&amp;quot; state waiting for an interrupt to wake it up. No other threads are spawned and main() is never executed. It doesn&amp;#39;t matter whether it&amp;#39;s hello_world, blinky, or nrf5340_audio which is&amp;nbsp;the application I&amp;#39;m&amp;nbsp;hoping to use.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programs never make it to main()</title><link>https://devzone.nordicsemi.com/thread/408075?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2023 16:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:597e58bd-7149-48d4-8cc3-298dd259cbf7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you enable debug options?&lt;/p&gt;
&lt;p&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/pastedimage1675441750637v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Could you try to test with&amp;nbsp;zephyr\samples\hello_world?&lt;/p&gt;
&lt;p&gt;Do you have nRF5340DK to test?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>