<?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>DFU and chip resets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69248/dfu-and-chip-resets</link><description>Hi 
 We are working on the secure DFU. The issue is that the NRF52832 chip resets when switch to the DFU mode. All the GPIOs are turned off during reset. However, one of the GPIOs is to turn on the main regulator in order to power on the board. 
 How</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Dec 2020 09:42:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69248/dfu-and-chip-resets" /><item><title>RE: DFU and chip resets</title><link>https://devzone.nordicsemi.com/thread/284266?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 09:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f865d66-ac7d-4113-87c2-01fb924af32c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I see.&lt;/p&gt;
[quote user="inyourface"]Is there a way to set the GPIO high during the DFU process in the firmware?[/quote]
&lt;p&gt;If you mean during reset, there is no way to do that without external components.&amp;nbsp;The GPIO state is always reset by a system reset. You could try to configure the GPIO at the very beginning of the bootloader main (or even SystemInit), but I&amp;#39;m not sure if this is fast enough or reliable.&lt;/p&gt;
[quote user="inyourface"]Does the DFU have to reset the chip ?[/quote]
&lt;p&gt;Technically it should be possible to branch to the bootloader, instead of using a system reset to enter it, similar to how the application is entered from the bootloader. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19655/gpio-high-during-dfu/76477#76477"&gt;this answer&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU and chip resets</title><link>https://devzone.nordicsemi.com/thread/284196?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 21:09:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f7f2521-b5fb-4de3-819e-1f6bdc6e5f64</guid><dc:creator>inyourface</dc:creator><description>&lt;p&gt;Jorgen,&lt;/p&gt;
&lt;p&gt;There is a button to turn on the main regulator initially and then the GPIO takes it over.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there a way to set the GPIO high during the DFU process in the firmware?&amp;nbsp; Does the DFU have to reset the chip ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU and chip resets</title><link>https://devzone.nordicsemi.com/thread/284059?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 13:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae59c2b-f2a7-44c9-84cf-a8109e33a3bd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How do you initially power the board if the main regulator is turned on by the chip itself?&lt;/p&gt;
&lt;p&gt;The state of the GPIOs are undefined during reset. If you need the pin in a specific state during reset, you need to add an external pull resistor.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>