<?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>nRF52840 time to reboot after BLE OTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117512/nrf52840-time-to-reboot-after-ble-ota</link><description>I am performing OTA of nRF52840 with BLE. It is working fine but device takes around 20 seconds to reboot after OTA image data is transferred to nRF52840 via nRF device manager app. Is there a way to reduce this time or reboot as soon as data transfer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Dec 2024 13:59:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117512/nrf52840-time-to-reboot-after-ble-ota" /><item><title>RE: nRF52840 time to reboot after BLE OTA</title><link>https://devzone.nordicsemi.com/thread/516136?ContentTypeID=1</link><pubDate>Mon, 23 Dec 2024 13:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53dc6a84-2e97-41f8-b2d0-2afbd2352e54</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This reboot delay is due to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/mcuboot/design.html"&gt;swap&lt;/a&gt;. If you got a large application, it can take some time.&lt;/p&gt;
&lt;p&gt;One alternative is to use &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/mcuboot/design.html"&gt;direct-xip&lt;/a&gt; instead. This has some downsides, like that you have to find which slot is active to do DFU. it is a reason we use swap by default after all.&lt;/p&gt;
&lt;p&gt;However, if you need really fast reboot after DFU, this could be the feature you need.&lt;/p&gt;
&lt;p&gt;For more information on why the swap takes time, see &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/110315/start-of-application-takes-ages-after-dfu-process-is-complete"&gt;Start of application takes ages after DFU process is complete&lt;/a&gt; . (It uses the nRF5 SDK instead of the nRF Connect SDK, but the erase timings are the same in HW either way)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>