<?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 not going into DFU when setting GPREGRET</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99132/nrf52833-not-going-into-dfu-when-setting-gpregret</link><description>Hello, 
 
 I&amp;#39;m trying to put my nRF52833 board into DFU when I set the GPREGRET. However, when I reset the device by calling sd_nvic_SystemReset(), it just restarts my application. 
 I based the setup following this tutorial 
 As far as I know, I don</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Apr 2023 13:38:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99132/nrf52833-not-going-into-dfu-when-setting-gpregret" /><item><title>RE: nRF52833 not going into DFU when setting GPREGRET</title><link>https://devzone.nordicsemi.com/thread/422545?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 13:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ea4b887-dc0e-46d5-ad71-1a2379c3e497</guid><dc:creator>jerome.sc</dc:creator><description>&lt;p&gt;Ok, I figured out what was wrong. It was my sdk_config.h file. Previously, I was using the Nordic DFU Service, but was switching to a button based approach. I kept these two definitions to set.&lt;br /&gt;NRF_SDH_BLE_SERVICE_CHANGED&lt;br /&gt;NRF_DFU_BLE_REQUIRES_BONDS&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 not going into DFU when setting GPREGRET</title><link>https://devzone.nordicsemi.com/thread/422524?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 12:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c891d67-78da-419c-9b3f-49ed585fee83</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Which changes have you made to your bootloader project compared to the unmodified one from the SDK? Can you upload a diff here where you diff everything, including the project files (so not just the&amp;nbsp;source&amp;nbsp;files)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 not going into DFU when setting GPREGRET</title><link>https://devzone.nordicsemi.com/thread/422508?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 12:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69a050fd-1493-4586-8bdd-615085611c7d</guid><dc:creator>jerome.sc</dc:creator><description>&lt;p&gt;I also merged the files with my main application, softdevice etc and the debug version works. However, if i use the hex file of the sercure_bootloader_ble_s113_pca10100 it doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 not going into DFU when setting GPREGRET</title><link>https://devzone.nordicsemi.com/thread/422499?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 12:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e689f18-a805-4bb5-816e-1bdc916188ca</guid><dc:creator>jerome.sc</dc:creator><description>&lt;div class="content full threaded-reply-content user-defined-markup" data-replyid="422493" data-userid="119549" data-permalink="~/f/nordic-q-a/99132/nrf52833-not-going-into-dfu-when-setting-gpregret/422493"&gt;
&lt;div class="content"&gt;
&lt;p&gt;I just tested the debug version, and it works. But the non-debug version doesn&amp;#39;t. This is purely running the example codes, but changing the dfu_public_key.c file. This however, is the same for both versions.&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="edit-form"&gt;&lt;/div&gt;
&lt;div class="actions meta default"&gt;
&lt;div class="navigation-list" data-maxlinks="4" data-direction="horizontal" data-reflow-wait-check-count="0" data-reflow-wait-timeout="null" data-finalized="true"&gt;
&lt;div class="container"&gt;
&lt;ul&gt;
&lt;li class="navigation-list-item vote"&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 not going into DFU when setting GPREGRET</title><link>https://devzone.nordicsemi.com/thread/422495?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 11:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc222a35-075a-48f3-a121-3956426d43b2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Everything look OK here as far as I can see. Can you test with the debug bootloader with RTT logging? That prints a lot of information during boot including reasons for entering / not entering DFU mode, so that might give some hints. You can then also easily add additional logging in the bootloader to know more, like reading and printing the GPREGRET value when entering the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>