<?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>MCUBOOT Serial recovery not started on soft reboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124888/mcuboot-serial-recovery-not-started-on-soft-reboot</link><description>Hi, 
 I&amp;#39;ve successfully incorporated MCUBOOT into software we developed for the nRF5340. I&amp;#39;m also able to start serial-recovery by activating a GPIO, reserved for this purpose, when the system powers up. However, when I reboot the system from software</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Oct 2025 02:20:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124888/mcuboot-serial-recovery-not-started-on-soft-reboot" /><item><title>RE: MCUBOOT Serial recovery not started on soft reboot</title><link>https://devzone.nordicsemi.com/thread/552945?ContentTypeID=1</link><pubDate>Fri, 31 Oct 2025 02:20:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5fb741e-7d5c-4371-afaa-e08c1337fae7</guid><dc:creator>lincoln-lu</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/uwerohrs"&gt;UweRohrs&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can try the Retention System with boot mode, it support soft reboot. see the link below:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/zephyr/services/retention/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/zephyr/services/retention/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/zephyr/services/retention/index.html"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113138/mcuboot-won-t-boot-into-serial-recovery-mode-by-using-retained-memory"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/113138/mcuboot-won-t-boot-into-serial-recovery-mode-by-using-retained-memory&lt;br /&gt;&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/124888/mcuboot-serial-recovery-not-started-on-soft-reboot"&gt;&lt;/a&gt;&lt;a id="i1" href="https://devzone.nordicsemi.com/f/nordic-q-a/113138/mcuboot-won-t-boot-into-serial-recovery-mode-by-using-retained-memory"&gt;&lt;br /&gt;I&lt;/a&gt;&amp;nbsp;happen to be working on this too, and it works fine on my side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBOOT Serial recovery not started on soft reboot</title><link>https://devzone.nordicsemi.com/thread/551083?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2025 07:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4de8ead-dab7-42dc-8a56-ad72de4e42c5</guid><dc:creator>UweRohrs</dc:creator><description>&lt;p&gt;I think I can answer my own question: upon reboot, it will only enter serial recovery if the elected GPIO is active and&amp;nbsp;&lt;span&gt;!&lt;/span&gt;&lt;span&gt;io_boot_skip_serial_recovery&lt;/span&gt;&lt;span&gt;(). If&amp;nbsp;we dig down into&amp;nbsp;&lt;/span&gt;&lt;span&gt;io_boot_skip_serial_recovery&lt;/span&gt;&lt;span&gt;() we see that it will only return false on 1. power on reset or 2. brown-out reset or 3. reset pin. So, as it stands, a soft-reset or watchdog reset will cause it to bypass serial recovery. Why this was designed so is a mystery to me at the moment.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;blockquote&gt;
&lt;div&gt;&lt;span&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;inline&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bool&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;io_boot_skip_serial_recovery&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;rr&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;nrfx_reset_reason_get&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;!&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;rr&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;==&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;||&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;rr&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFX_RESET_REASON_RESETPIN_MASK&lt;/span&gt;&lt;span&gt;));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBOOT Serial recovery not started on soft reboot</title><link>https://devzone.nordicsemi.com/thread/551029?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 14:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:341a591b-0ad5-4dab-a990-8317c93b9a2e</guid><dc:creator>PjGlasso</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m interested in this topic as well. Does the GPIO in question need to be part of the RTC or GRTC group ? could it be that GPIO is not?&lt;/p&gt;
&lt;p&gt;Shot in the Dark but hope it gets us an answer from the Vikings :-)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;GL :-) PJ :v:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>