<?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>How to update the application with the debugger instead of using the DFU with a softdevice present?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71225/how-to-update-the-application-with-the-debugger-instead-of-using-the-dfu-with-a-softdevice-present</link><description>I have found a lot of people having problems debugging with the SD enabled, but we are not using any BLE atm. We are just using the softdevice for OTA updates. But this is not my issue. I am able to debug the application if it gets started. 
 The problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 14:14:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71225/how-to-update-the-application-with-the-debugger-instead-of-using-the-dfu-with-a-softdevice-present" /><item><title>RE: How to update the application with the debugger instead of using the DFU with a softdevice present?</title><link>https://devzone.nordicsemi.com/thread/292504?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 14:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aaa23f1-c72f-4b9b-b435-bf593c7aee8b</guid><dc:creator>rico</dc:creator><description>&lt;p&gt;Thanks! That should do the trick.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update the application with the debugger instead of using the DFU with a softdevice present?</title><link>https://devzone.nordicsemi.com/thread/292501?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 14:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d550cd2-39c3-4706-991e-2f42684b54f9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The bootlaoder will see that the CRC of the application has changed, and enter DFU mode instead of starting the application. So to fix this you have several&amp;nbsp;options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &amp;quot;proper&amp;quot;, which is to generate a valid DFU settings page as described &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_settings_generate_display.html"&gt;here&lt;/a&gt;, and program that together with the application every time.&lt;/li&gt;
&lt;li&gt;Or modify the bootloader so that it skips the CRC check. This is more convenient when debugging. To do this you need to modify the bootloader in&amp;nbsp;components\libraries\bootloader\nrf_bootloader.c so that&amp;nbsp;crc_on_valid_app_required() alwas returns false.&lt;/li&gt;
&lt;li&gt;Or simply test/debug without programming a bootloader.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>