<?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>Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33507/bootloader-deep-sleep</link><description>Wich is the proper way to bring bootloader into deep sleep? 
 I&amp;#39;m using a modified version of the BLE Secure DFU Bootloader (SDK 14.1.0) for the nrf52810. I have added button support for trigger the sd_power_system_off function and the wakeup event. In</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Apr 2018 07:41:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33507/bootloader-deep-sleep" /><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/130228?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 07:41:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ff9fa76-5a88-4bcc-88e9-a2110322f241</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;When the bootloader is in this state (DFU gets aborted), please try to kill the app on your phone, then try DFU again. This should ensure that the phone restarts DFU from scratch and re-sends to init packet instead of attempting continuation from a previous session, which may be the case if you entered system off during a transfer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/130111?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 12:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24330e72-eac3-4f81-aa9a-af7932561458</guid><dc:creator>Adriana</dc:creator><description>&lt;p&gt;The chip wakes up, and it starts advertising in DFU mode. I can even connect from central after wake up, but when I try to start a OTA DFU it fails.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;System ON --&amp;gt; button event --&amp;gt; System OFF --&amp;gt; wake up from button --&amp;gt; System ON. Advertising --&amp;gt; Connect --&amp;gt; Start OTA DFU --&amp;gt; OTA Aborted&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;System ON. Advertising --&amp;gt; Connect --&amp;gt; Start OTA DFU --&amp;gt; OTA successfully completed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/130104?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 12:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39ee6a18-7d5c-4719-b33c-23689f301022</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Is the problem that the chip doesn&amp;#39;t wake up, or is it that it wakes up but doesn&amp;#39;t start to advertise in DFU mode? Did you configure the wake-up pin from the button handler? Suggest to debug the bootloader and confirm that the wake up pin is configured correctly prior to entering system off.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/130077?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 09:19:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b75fb6e2-ddcf-41c8-b11a-c6e4416aeff4</guid><dc:creator>Adriana</dc:creator><description>&lt;p&gt;No, it remains in sleep mode. I&amp;#39;ve added button_app support for handling &lt;span&gt;debouncing&lt;/span&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/128966?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 12:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5fccd30-780e-4601-a976-55a7a1c59ab2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It shouldn&amp;#39;t require any special considerations to implement deep sleep in the bootloader code. When you enter sleep from the button handler, does the system wake up and start advertising?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/128962?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 11:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:501e9dae-c053-46fd-8e70-53e4387ead93</guid><dc:creator>Adriana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using buttonless dfu so I&amp;#39;ve disabled the BOOTLOADER_BUTTON pin. But actually I want to enter sleep from the bootloader when there is no main application.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to enter sleep from the inactivity timeout handler and also from the button handler, and after wakeup (from button) connect again to central device. But when I enter sleep from the button handler is not&amp;nbsp; possible to start a DFU process again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to understand&amp;nbsp;how the wakeup works when there is only bootloader and no application&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/128954?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 11:18:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff534646-5ee7-4ad2-bdea-058f8318c886</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;A device will typically enter sleep from the main application (after advertisment timeout,etc.), and therefore not require any changes in the bootloader code, but you may need to disable the&amp;nbsp;BOOTLOADER_BUTTON pin if you only have one&amp;nbsp;button in your design, bootloader will enter DFU mode on startup if you use the same pin for wake-up.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BOOTLOADER_BUTTON pin is not required if you implement support for buttonless dfu in your main app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>