<?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>[MCU BOOT] Start mcu boot at runtime</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112575/mcu-boot-start-mcu-boot-at-runtime</link><description>Hello Nordic team, 
 
 I was wondering if it&amp;#39;s possible to start the MCU boot from the application at runtime. 
 
 What I want is to be able to restart my product and run the MCU boot to perform DFU from the app source code it self (activated by a HID</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2024 14:15:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112575/mcu-boot-start-mcu-boot-at-runtime" /><item><title>RE: [MCU BOOT] Start mcu boot at runtime</title><link>https://devzone.nordicsemi.com/thread/491385?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 14:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfdfdc96-92a3-4805-ad57-1b856caa3043</guid><dc:creator>Martdur</dc:creator><description>&lt;p&gt;Ok sry It was a wrong configuration everything works now.&lt;/p&gt;
&lt;p&gt;Thanks for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [MCU BOOT] Start mcu boot at runtime</title><link>https://devzone.nordicsemi.com/thread/491383?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 14:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c02ab65b-4c69-431b-81bf-9f9b0c5a29cf</guid><dc:creator>Martdur</dc:creator><description>&lt;p&gt;Edit I&amp;#39;m working with ncs 2.2.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [MCU BOOT] Start mcu boot at runtime</title><link>https://devzone.nordicsemi.com/thread/491360?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 13:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d2d7b7-ec3c-4b03-902c-b3ee0d95f063</guid><dc:creator>Martdur</dc:creator><description>&lt;p&gt;Ok thanks for the quick answer !&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m facing now is that my mcu goes into boot mode even if i&amp;nbsp;press my button&amp;nbsp;less than&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_USB_DFU_DETECT_DELAY.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It seems that it doesn&amp;#39;t have any effect on the button detection.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Do you have any idea why ?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&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;Kinds regards.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Martin&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [MCU BOOT] Start mcu boot at runtime</title><link>https://devzone.nordicsemi.com/thread/491322?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 12:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e39fde-755a-4b96-963a-bf6e37d98723</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Martin,&lt;/p&gt;
&lt;p&gt;You can call&amp;nbsp;sys_reboot(0); to reset into the bootloader. To use this function, you simply include &amp;lt;zephyr/sys/reboot.h&amp;gt; in your source file and select CONFIG_REBOOT in your project configuration file. But you also need a way to signal the bootloader to enter serial recovery mode and not boot back into the application after the reset.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are the different&amp;nbsp;entry modes which are implemented in the bootloader:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/b3e3ce39f3e1abd95ff4010263b3613edf59dd54/boot/zephyr/Kconfig.serial_recovery#L147"&gt;https://github.com/nrfconnect/sdk-mcuboot/blob/b3e3ce39f3e1abd95ff4010263b3613edf59dd54/boot/zephyr/Kconfig.serial_recovery#L147&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>