<?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>Debugging application starts bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22084/debugging-application-starts-bootloader</link><description>Hello, 
 i a have a problem debugging application with bootloader installed. I work with GCC for the application. 
 What is happening is the following:
If i program application with DFU, and then lauch Eclipse debug it works. But if i do some changes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 May 2017 11:24:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22084/debugging-application-starts-bootloader" /><item><title>RE: Debugging application starts bootloader</title><link>https://devzone.nordicsemi.com/thread/86766?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 11:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57c2e749-5b9d-4ba4-a4a4-ed50943ee15b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@turboj: You need to generate a bootloader settings hex  using nrfutil every time you recompile the application and merge it with the bootloader hex. This is explained in Appendix 1 of &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;this&lt;/a&gt; blog. It should be easy to add this as a post build step in Eclipse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging application starts bootloader</title><link>https://devzone.nordicsemi.com/thread/86765?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 09:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52edb9c7-07a7-4990-8459-a56e04de9933</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The bootloader keeps a checksum (CRC) of the application when it is flashed via DFU. When you change the application later via SWD, the bootloader - which runs on reset before the app - checks this CRC and refuses to start a modified program.&lt;/p&gt;
&lt;p&gt;Workaround: Flash the bootloader anew, too. The default bootloader settings page contains a blank CRC value that would fit any application program flashed via SWD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>