<?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>Zephyr nrf connect application will not start without JFlash F9 command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91518/zephyr-nrf-connect-application-will-not-start-without-jflash-f9-command</link><description>Hi, 
 A have an application on a custom board that will not start, unless I use JFlash Start Application command, or attache the debugger. I already added CONFIG_BOARD_ENABLE_DCDC =n after reading https://devzone.nordicsemi.com/f/nordic-q-a/77570/zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Sep 2022 08:20:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91518/zephyr-nrf-connect-application-will-not-start-without-jflash-f9-command" /><item><title>RE: Zephyr nrf connect application will not start without JFlash F9 command</title><link>https://devzone.nordicsemi.com/thread/385189?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 08:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c403cf-e3eb-4b21-a520-f53b0e120300</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It did not, but discussing with a colleague had a tip. Have you set&amp;nbsp;&lt;strong&gt;CONFIG_BOARD_ENABLE_DCDC&lt;/strong&gt;&lt;span&gt;=n&amp;nbsp;in the bootloader build as well? Sorry I missed this initially.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr nrf connect application will not start without JFlash F9 command</title><link>https://devzone.nordicsemi.com/thread/384945?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 07:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51d27d94-33ae-44da-9b7c-655133596b17</guid><dc:creator>BvdP4Celsius</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;As mentioned before, the bootloader is doening not much except starting the image in slot 1.&amp;nbsp;&lt;br /&gt;I notice that starting the ozone debugger&amp;nbsp;as mentioned by Edvin&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91507/zephyr-ozone-debugger-not-working-with-mcuboot"&gt;here&lt;/a&gt;&amp;nbsp;requires a double &amp;#39;run&amp;#39; command.&lt;br /&gt;The system halts in syscall.h twice before starting my application. (in the &amp;#39;Indicate whether the CPU is currently in user mode&amp;#39;part.&lt;br /&gt;Does this help you to point out what I missed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr nrf connect application will not start without JFlash F9 command</title><link>https://devzone.nordicsemi.com/thread/384746?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 09:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d947e14f-9cb0-4dfe-9b64-12e0e7dfa57c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;And it runs without any errors what so ever in debug mode, but fails/doesn&amp;#39;t start in release mode? What exactly does your bootloader do in your application? The config sets several required build systems and device tree options in order for the image generated to be bootable using the MCUBoot open source bootloader. Currently, this includes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Setting ROM_START_OFFSET to a default value allowing space for the MCUBoot image header&lt;/li&gt;
&lt;li&gt;Activating SW_VECTOR_RELAY_CLIENT on Cortex-M0 targets with no built-in vector relocation mechanisms. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default, this option instructs Zephyr to initialize the core architecture HW registers during boot, as long as it&amp;#39;s supported by the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr nrf connect application will not start without JFlash F9 command</title><link>https://devzone.nordicsemi.com/thread/384487?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 06:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e764017-cc35-426c-b43b-d0643f081bb1</guid><dc:creator>BvdP4Celsius</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;The xtal is mounted:&lt;br /&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/pastedimage1662359630384v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It seems to be related to the&amp;nbsp;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span&gt;=y setting. When&amp;nbsp;I build without this setting, the application&amp;nbsp;will start as soon as powered.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr nrf connect application will not start without JFlash F9 command</title><link>https://devzone.nordicsemi.com/thread/384309?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 11:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2696d960-a56c-4349-a489-e2217df3560d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Does your custom board have an external 32.768 kHz LF crystal on the design? If not, that might be related to the issue you&amp;#39;re having, and you&amp;#39;ll have to make sure that the internal RC oscillator is configured instead of the external LF crystal.&lt;/p&gt;
&lt;p&gt;It should be sufficient to make sure that &lt;strong&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/strong&gt;. For reference:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/clock_control/Kconfig.nrf#L29-L55"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/clock_control/Kconfig.nrf#L29-L55&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>