<?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>custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118363/custom-nrf-board-turning-off-in-between-dfu-ota-update-partition-swap</link><description>hey i am using a custom nrf52840 board and i keep my device on by setting a gpio pin high and device turns off as soon as it sets to low . 
 during ota update when the bootloader switches the partition device resets hence the pin is pulled low and the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2025 09:59:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118363/custom-nrf-board-turning-off-in-between-dfu-ota-update-partition-swap" /><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520674?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 09:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4adc4c7-1191-4535-8b08-582cad51f4b0</guid><dc:creator>manav555</dc:creator><description>&lt;p&gt;thats absolutely right i am just looking for a way to switch the slot on manual reset instead of its automatically trigerring the reset&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520673?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 09:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c9ac0e-06be-4ab6-a6de-34d0a20341cb</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Yes.&amp;nbsp;To start the app after OTA, it needs to reset.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520665?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 09:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92c2e3b0-0a91-4195-8039-9f909372f832</guid><dc:creator>manav555</dc:creator><description>&lt;p&gt;are you sure?&lt;/p&gt;
&lt;p&gt;coz earlier when using the ota on the same board it used to swap only during manual reset instead of automatically trigerring a reset thats what i want right now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520664?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 09:22:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ac6c477-7390-453c-ac6c-e4945b57ed3b</guid><dc:creator>ketiljo</dc:creator><description>[quote user="manav555"]I just want to swap the partition only when device is turned off and than turned on[/quote]
&lt;p&gt;This will trigger a reboot and a complete reset of the device, no way around this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520663?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 09:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94555f15-b8a0-413f-b29b-f6abee2a0b27</guid><dc:creator>manav555</dc:creator><description>&lt;p&gt;I just want to swap the partition only when device is turned off and than turned on&lt;/p&gt;
&lt;p&gt;means not reset and swap automaticlly as soon as ota is pushed instead wait for the device to be reseted by the user mannually than swap the partition please tell me how to do that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520657?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 08:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bf26ba9-f22e-4a16-9356-b3c2cd5fde6a</guid><dc:creator>ketiljo</dc:creator><description>[quote user="manav555"]hence kindly tell me a way so that either i can set the gpio high even during partition switching or can switch the partition during the device reboot that is when device turned off mannually by the user&amp;nbsp;[/quote]
&lt;p&gt;There&amp;#39;s no way to change this behaviour. When the device is reset, all GPIOs will be set to the default state, disabled, and not change untill after the power on reset is finished. You will need an external pull up resistor here, no way around that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520640?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 06:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb75af54-7b86-43d2-b16d-eee4d7a8d4bb</guid><dc:creator>manav555</dc:creator><description>&lt;p&gt;yes you got it right gpio is enabling the power supply&lt;/p&gt;
&lt;p&gt;but the problem is that we cant change anything in the hardware since its already up for production&lt;/p&gt;
&lt;p&gt;hence kindly tell me a way so that either i can set the gpio high even during partition switching or can switch the partition during the device reboot that is when device turned off mannually by the user&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom nrf board turning off in between dfu ota update partition swap</title><link>https://devzone.nordicsemi.com/thread/520306?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 08:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84c295cc-0e4c-4930-ae51-ab2ad30110ec</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;I assume the GPIO is enabling the power supply so that when the GPIO is not longer in a high state, the power supply will switch off? In that case, you need an external pullup resistor on the GPIO. When the device is reset, all GPIOs will be disconnected so you need something external to set the logic level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>