<?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>SDK 14.2: how to debug application with buttonless DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62540/sdk-14-2-how-to-debug-application-with-buttonless-dfu</link><description>I&amp;#39;m working on modifying an existing app written on a custom nRF52832 board. The app uses softdevice s132, and was written for SDK14.2. The app was originally written with Keil, but I ported it successfully to Segger. The device has a buttonless DFU,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 13 Jun 2020 18:28:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62540/sdk-14-2-how-to-debug-application-with-buttonless-dfu" /><item><title>RE: SDK 14.2: how to debug application with buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/254837?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 18:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4583404f-14aa-45c7-9ff4-f84c5186c6e2</guid><dc:creator>robca</dc:creator><description>&lt;p&gt;That did the trick, thanks!&lt;/p&gt;
&lt;p&gt;For anyone else bumping into this in the future, I added a batch file called by SES after the debug build with&lt;/p&gt;
&lt;p&gt;nrfutil.exe settings generate --family NRF52 --bootloader-version 2 --bl-settings-version 1 --application-version 219 --application C:\[path]\App1000.hex --key-file C:\[path]\private.pem C:\[path]\dfusettng.hex&lt;/p&gt;
&lt;p&gt;(where [path] is the correct path for my build). Not sure if the private key is required, but having it works fine.&lt;/p&gt;
&lt;p&gt;Then in the SES debug loader, I have &amp;quot;additional&amp;nbsp;load file 0&amp;quot; with the name of the combined bootloader and softdevice, and &amp;quot;additional load file 1&amp;quot; is&amp;nbsp;&lt;span&gt;C:\&lt;/span&gt;&lt;span&gt;[path]&lt;/span&gt;&lt;span&gt;\dfusettng.hex&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.2: how to debug application with buttonless DFU</title><link>https://devzone.nordicsemi.com/thread/254827?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 08:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d31c2f2f-33ee-4d0d-8cce-13b78345292c</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="88394" url="~/f/nordic-q-a/62540/sdk-14-2-how-to-debug-application-with-buttonless-dfu"]How can I flash an app to the nRF52832 and ensure it starts in the app, not in the bootloader?[/quote]
&lt;p&gt;Use NRFutil to generate the bootloader settings page (or pages for newer bootloader versions, SDK 15+) and then flash this page in addition to your new firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>