<?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>restarting in application mode after flashing bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33022/restarting-in-application-mode-after-flashing-bootloader</link><description>Hello, 
 I am writting a batch script to flash a PCA10056.I use it to flash the softdevice, the bootloader and my application. 
 The script works well and flash the device correctly. 
 The problem is, after reset, it is launching the bootloader. 
 I&amp;#39;d</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Apr 2018 14:40:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33022/restarting-in-application-mode-after-flashing-bootloader" /><item><title>RE: restarting in application mode after flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/126892?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 14:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ac3da50-aa54-4649-8aab-89a99e5df7ea</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;I can&amp;#39;t spot any reason bootloader-version 0 shouldn&amp;#39;t work, but if 1 works for you I guess you might just use that. If you want to have a look at why 0 doesn&amp;#39;t work in your setup you might want to try debugging the bootloader and see where it runs into the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: restarting in application mode after flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/126824?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 11:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03495913-7a19-41d3-85db-c3f94c95759e</guid><dc:creator>Mickael Marty</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;I modified the line to&lt;/p&gt;
&lt;p&gt;%nrfutil% settings generate --family NRF52 --application %pathToApp% --application-version 1 --bootloader-version 1 --bl-settings-version 1 %pathToSettings%&lt;/p&gt;
&lt;p&gt;and it works&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But i needed to modify application version and bootloader version from 0 to 1. Any idea why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: restarting in application mode after flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/126822?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 11:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2d5c43e-a305-407c-8687-d96879300532</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The application is not launched because the &amp;quot;nrfutil settings generate&amp;quot; command is not correctly set with all necessary flags.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/#generate-2"&gt;Have a look at the nrfutil&amp;nbsp;documentation here to see explanations and an example.&lt;/a&gt;&amp;nbsp;You are at the very least missing a --application flag. Without this, the settings page is not going to contain a valid checksum for the application. It&amp;#39;s also a bad idea to set &amp;quot;--bootloader-version&amp;quot; to a SoftDevice FW ID (It would work, but you shouldn&amp;#39;t tie bootloader version to&amp;nbsp;the SoftDevice FW ID).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>