<?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>nrf52840-Dongle bootloader doesn&amp;#39;t like it when app is programmed via nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85378/nrf52840-dongle-bootloader-doesn-t-like-it-when-app-is-programmed-via-nrfjprog</link><description>I bought a handful of nrf52840-Dongle boards, with the intention of developing an application on one &amp;quot;dev&amp;quot; board and then flashing it through the Open Bootloader on the others. The &amp;quot;dev&amp;quot; board is only special because I soldered the 2x5 1.27mm SWD connector</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Mar 2022 10:00:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85378/nrf52840-dongle-bootloader-doesn-t-like-it-when-app-is-programmed-via-nrfjprog" /><item><title>RE: nrf52840-Dongle bootloader doesn't like it when app is programmed via nrfjprog</title><link>https://devzone.nordicsemi.com/thread/356243?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 10:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e70aff40-98a0-4ce4-961d-c786397cec20</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You can debug and single step etc. from Segger in the exact same way as long as you program bootloader settings. But the moment you build and flash new firmware (via Segger or another way) without updating the settings page, the application will not be started, and debugging will also fail.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That means that if you build from SES and programs from SES, whenever a new application is flashed, you need to generate and flash bootloader settings before running and/or debugging will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840-Dongle bootloader doesn't like it when app is programmed via nrfjprog</title><link>https://devzone.nordicsemi.com/thread/356140?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 18:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e26d4368-20d9-428b-bb44-bedc0320a223</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp; What does this process look like if I&amp;#39;m trying to interactively debug (e.g. single step) an application through the Segger GUI, rather than manually generating images at the command line?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840-Dongle bootloader doesn't like it when app is programmed via nrfjprog</title><link>https://devzone.nordicsemi.com/thread/355951?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 08:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44defefd-7194-4463-bdaf-a0acabaca622</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;All the nRF5 SDK bootloader variants use a bootloader settings page (which is the very last page), which among other things includes a hash of the application. If you program an application via a debugger without updating this setting page, the bootloader will thing the application is corrupt, and will enter DFU mode instead of starting the application. What you need to do here is to also generate and flash a settings page whenever you flash an application via SWD. See &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_settings_generate_display.html"&gt;Generating and displaying bootloader settings&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>