<?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>Easy development with BL + SD + APP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47310/easy-development-with-bl-sd-app</link><description>Hi all, 
 I&amp;#39;m developing a buttonless DFU based application using the SDK v15.3 Following the documentation was pretty easy and I&amp;#39;m now able to run the app_ble_buttonless_dfu example with a secured ble bootloader. 
 I&amp;#39;m using SES and a PCA10040 DK for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2019 11:59:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47310/easy-development-with-bl-sd-app" /><item><title>RE: Easy development with BL + SD + APP</title><link>https://devzone.nordicsemi.com/thread/187243?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d7dce1-9d22-465b-a5ff-622385ec6fc9</guid><dc:creator>raphael_gsa</dc:creator><description>&lt;p&gt;Hi awneil,&lt;/p&gt;
&lt;p&gt;Simply because some applications like&amp;nbsp;&lt;span&gt;app_ble_buttonless_dfu&amp;nbsp;require a bootloader to be flashed to be able to start.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Easy development with BL + SD + APP</title><link>https://devzone.nordicsemi.com/thread/187241?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb3d5afc-6623-43a3-b8d9-4f83a83f569b</guid><dc:creator>raphael_gsa</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Einar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your second solution seems to be exactly what I was looking for !&lt;/p&gt;
&lt;p&gt;Thanks a lot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Easy development with BL + SD + APP</title><link>https://devzone.nordicsemi.com/thread/187209?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f83ab3a-6e83-4556-b8ac-f049926a998c</guid><dc:creator>awneil</dc:creator><description>[quote userid="76201" url="~/f/nordic-q-a/47310/easy-development-with-bl-sd-app"]like I&amp;#39;m used to do it for any non-bootloader related application ?[/quote]
&lt;p&gt;Why not just do your development as a non-bootloader application?&lt;/p&gt;
&lt;p&gt;Then only do the bootloader stuff when it&amp;#39;s actually ready to be deployed in a bootloadable format ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Easy development with BL + SD + APP</title><link>https://devzone.nordicsemi.com/thread/187207?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:20:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec6d6a91-e8f1-477f-82ca-637465577dbc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem when building and testing/debugging a modified application when you have a bootloader is that the bootloader does a CRC check of the application at startup, and if the CRC does not match, the bootloader enters DFU mode instead of starting the application. There are a few ways to handle this problem:&lt;/p&gt;
&lt;p&gt;1. After building and programming the updated application, use nrfutil to generate a new setting page providing the new application .hex, and then program it using nrfjprog with the --sectorerase option. This will make the settings page contain the correct CRC and the bootloader will start the application.&lt;/p&gt;
&lt;p&gt;2. A simpler option is to just modify the bootloader so that it does not do a CRC check during startup. Then you can always add back the CRC check before going to production. This can be done in several ways, for instance by modifying the crc_on_valid_app_required() implementation in &amp;lt;SDK 15.3&amp;gt;\components\libraries\bootloader\nrf_bootloader.c like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static bool crc_on_valid_app_required(void)
{
    return false;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>