<?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>nrf52833 dfu has been stuck in the bootloader problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81854/nrf52833-dfu-has-been-stuck-in-the-bootloader-problem</link><description>Hi nordic, 
 After I transplanted nrf52832 to nrf52833, the upgrade of nrf52833 failed, or stuck in the bootloader.I tried to use the current method to upgrade nrf52832, it was successful, but it could not be achieved on 833. 
 Here are some of my attempts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Nov 2021 12:45:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81854/nrf52833-dfu-has-been-stuck-in-the-bootloader-problem" /><item><title>RE: nrf52833 dfu has been stuck in the bootloader problem</title><link>https://devzone.nordicsemi.com/thread/339816?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 12:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2e5ec22-d456-42a6-bd83-f63f64b9ff23</guid><dc:creator>Mikey</dc:creator><description>&lt;p&gt;There are no problems in troubleshooting DFU steps, creating commands and implementation process. In the end, you can only find hardware problems. The last idea in the article is correct, but the pin found is wrong. For example, I use the pin definition of pca10100. H, so the key I check should be key 4, that is, pin 25, other custom boards and chips, and so on.&lt;/p&gt;
&lt;p&gt;DFU upgrade is to enter the protocol stack first, then the bootloader, and finally the bootloader decides whether to enter the app. Therefore, when I get stuck in the bootloader, there are events that prevent me from entering the app. Check the bootloader project and find that it has a key detection, and the official document also has this prompt.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637325387271v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Therefore, I checked the pin of my custom board from this pin number and found that this pin is used as SCL.&lt;/p&gt;
&lt;p&gt;&lt;img height="149" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637325539926v2.png" width="131" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="96" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637325558816v3.png" width="256" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The pin is pulled high, causing it to enter the bootloader all the way.&lt;/p&gt;
&lt;p&gt;The solution is to change the pin number and use the unused pin number as the bootloader key detection pin.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637325814106v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then you can enter the app to complete the DFU upgrade~&lt;/p&gt;
&lt;p&gt;Thanks for Nordic&amp;#39;s help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 dfu has been stuck in the bootloader problem</title><link>https://devzone.nordicsemi.com/thread/339812?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 12:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e47e9bb8-8f05-4091-a56a-a01795b17f06</guid><dc:creator>Mikey</dc:creator><description>&lt;p&gt;I found the cause of the problem and recorded it. I hope people with the same problem can solve it as soon as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>