<?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>Skip bootloader start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29308/skip-bootloader-start</link><description>Hello, I would like to know if there is any way to avoid bootloader start in secureDFU firmware transfer. All the checks on init file and control point are on the application side and I would like to bypass the bootloader initialization. Thanks for any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jan 2018 16:26:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29308/skip-bootloader-start" /><item><title>RE: Skip bootloader start</title><link>https://devzone.nordicsemi.com/thread/116605?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2018 16:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a6cf438-e59c-4503-96a1-2ec261e8432d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I was talking about the firmware side. I&amp;#39;m not so sure what you meant by &amp;quot; we need to keep the buttonless feature enabled because we need the possibility to update the Nordik microcontroller firmware.&amp;quot;&lt;/p&gt;
&lt;p&gt;You can simply implement the DFU service instead of the buttonless DFU service. The buttonless DFU service has only one purpose, to switch the device from the normal application to the bootloader. In your case, you don&amp;#39;t have the bootloader and your application is capable of handling the DFU process. I don&amp;#39;t see any point to have the buttonless service here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Skip bootloader start</title><link>https://devzone.nordicsemi.com/thread/116603?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2018 15:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69b5deed-eb2d-418e-aa17-1e6952cd2542</guid><dc:creator>Nicola Gallazzi</dc:creator><description>&lt;p&gt;If you&amp;#39;re talking about the firmware side, we need to keep the buttonless feature enabled beacause we need the possibility to update the Nordik microcontroller firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Skip bootloader start</title><link>https://devzone.nordicsemi.com/thread/116602?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2018 14:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5253dd5a-029c-4d67-8890-d4ad9dca78a2</guid><dc:creator>Nicola Gallazzi</dc:creator><description>&lt;p&gt;Thanks for the reply. Are you talking about the android app side or the application firnware side? At the moment in the android app I&amp;#39;m doing as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  @OnClick(R.id.btUpdate)
    public void startDfuService(){
        final DfuServiceInitiator starter = new DfuServiceInitiator(mSingletonBLE.getDevice().getAddress())
                .setDeviceName(mSingletonBLE.getDevice().getName())
                .setKeepBond(true)
                .setZip(mFileUri, mFileUri.toString())
                // disables experimental buttonless feature in Secure DFU.
                .setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled(false);
        mDfuServiceController = starter.start(this, DfuService.class);
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, I&amp;#39;m not using the experimental buttonless feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Skip bootloader start</title><link>https://devzone.nordicsemi.com/thread/116604?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2018 13:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be22dbb1-babd-447f-8b05-fbb4d1243627</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hmm, so why don&amp;#39;t you simply add &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_dfu_transport_ble.html?cp=4_0_0_3_5_2_2_0#lib_dfu_transport_ble_chars"&gt;DFU service&lt;/a&gt; into your application instead of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/service_dfu.html?cp=4_0_0_3_3_4"&gt;buttonless DFU service&lt;/a&gt;.  Note that they are note the same.&lt;/p&gt;
&lt;p&gt;I assume your application can operate as a bootloader to receive your type of information (the image) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Skip bootloader start</title><link>https://devzone.nordicsemi.com/thread/116606?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2018 08:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a1a6fd4-a960-4834-8a19-469def7e3838</guid><dc:creator>Nicola Gallazzi</dc:creator><description>&lt;p&gt;Thanks for the reply. My aim is to skip only the launch of the bootloader, since the DFU procedure is performed inside the application module (init packet, crc and so on).
The android library provided by Nordic writes on &amp;quot;Buttonless secure dfu characteristic without bonds&amp;quot; at startup, after that it disconnects from the BLE applications and performs a new reconnection. I would like to skip this procedure and assume that the bootloader is already started, because I implemented DFU procedure in the application. In this context, I use DFU procedure to transport another type of information (I don&amp;#39;t use it to perform update of nordic microcontroller)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Skip bootloader start</title><link>https://devzone.nordicsemi.com/thread/116601?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2018 13:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7045c90-b89c-4cdd-864d-f18e8be27124</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you clarify what exactly you want to skip ?  You want to skip the init packet and want to send the image firmware right away ? At least, CRC and image size need to be sent before receiving the image.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>