<?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>Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115428/serial-recovery-selected-without-an-entrance-mode-set</link><description>Im following Lesson 8 Exercise 2 – DFU over USB. 
 My project is in its late stage and now I tried to add DFU over USB but Im getting #error &amp;quot;Serial recovery selected without an entrance mode set&amp;quot;, or devicetree error: /aliases: undefined node label </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Oct 2024 07:27:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115428/serial-recovery-selected-without-an-entrance-mode-set" /><item><title>RE: Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/thread/506833?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 07:27:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44b3e101-74e2-4beb-91dc-e45014a9038c</guid><dc:creator>IvanR</dc:creator><description>&lt;p&gt;Ive added&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SERIAL_WAIT_FOR_DFU&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT&lt;/span&gt;&lt;span&gt;=1500&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;to mcuboot.conf and now if I spam&amp;nbsp;mcumgr -c testDK image list while rebooting I can get into DFU and upload&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/thread/506600?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 05:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e5e19e-9fd5-4c3a-81b5-dda9fcac8b68</guid><dc:creator>IvanR</dc:creator><description>&lt;p&gt;I commented out some other options in mcuboot.conf (CONFIG_GPIO=n could have been the culprit)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and now it compiles. but now im getting NMP timeout&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/thread/506525?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 12:59:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e23b2751-4974-4b7f-9842-71080f2929ee</guid><dc:creator>IvanR</dc:creator><description>&lt;p&gt;I changed my defenition to button0 regardles (it looks cleaner)&lt;/p&gt;
&lt;p&gt;but Im constantly getting &amp;quot;Serial recovery selected without an entrance mode set&amp;quot;. on compile&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/thread/506521?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 12:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef391f7-935f-4f7a-9f98-ab85c52aadc9</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Button is not necessarily required for DFU over USB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/thread/506505?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 11:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2467253b-e8ad-4a49-ba4b-2e5d3b59b9d9</guid><dc:creator>IvanR</dc:creator><description>&lt;p&gt;Is button needed for DFU over USB ? I see its needed for&amp;nbsp;DFU over UART but not USB ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial recovery selected without an entrance mode set</title><link>https://devzone.nordicsemi.com/thread/505848?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 09:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077325c8-50ea-4c79-a573-867cffd8505f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;Have you enabled the proper Kconfigs in your prj.conf for the serial recovery mode?&lt;/p&gt;
&lt;p&gt;Also, in case you are only using one button, please change your dts definition for button1 to button0 and add the alias for it&lt;/p&gt;
&lt;p&gt;buttons {&lt;br /&gt; compatible = &amp;quot;gpio-keys&amp;quot;;&lt;br /&gt; button0: button_0 {&lt;br /&gt; gpios = &amp;lt;&amp;amp;gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;&lt;br /&gt; label = &amp;quot;Button 0&amp;quot;;&lt;br /&gt; };&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;{&lt;br /&gt; aliases {&lt;br /&gt; button0 = &amp;amp;button0;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>