<?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>What needs to be done in the application firmware for using serial DFU? Is there an example for this?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19587/what-needs-to-be-done-in-the-application-firmware-for-using-serial-dfu-is-there-an-example-for-this</link><description>I want to use serial dfu. But I don&amp;#39;t know what should I do in the application to enter the DFU mode safely similar to the OTA DFU.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Feb 2017 12:17:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19587/what-needs-to-be-done-in-the-application-firmware-for-using-serial-dfu-is-there-an-example-for-this" /><item><title>RE: What needs to be done in the application firmware for using serial DFU? Is there an example for this?</title><link>https://devzone.nordicsemi.com/thread/76220?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 12:17:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34c28db-5a7f-4323-8ae2-6e32c9bb2df0</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Thanks @Hung,
I will try this and let you know about the outcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What needs to be done in the application firmware for using serial DFU? Is there an example for this?</title><link>https://devzone.nordicsemi.com/thread/76222?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 09:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8166f42f-6d3c-4823-b6e5-d5679f57f245</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sourabh,&lt;/p&gt;
&lt;p&gt;I was assuming you were talking about the new DFU bootloader from SDK v12 where we haven&amp;#39;t got support for Serial bootloader.&lt;/p&gt;
&lt;p&gt;For the DFU bootloader in SDK v11, you can use our bootloader out of the box. To switch to bootloader, you can follow the same code we used in the example ble_app_hrs_with_dfu in particular it&amp;#39;s the function bootloader_start() in dfu_app_handler.c
Ignore the code for sd_ble_gatts_sys_attr_get()  and dfu_app_peer_data_set().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What needs to be done in the application firmware for using serial DFU? Is there an example for this?</title><link>https://devzone.nordicsemi.com/thread/76221?ContentTypeID=1</link><pubDate>Sat, 11 Feb 2017 11:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eb63beb-7aa5-4dba-a77e-487bef5cc884</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Thanks for the quick response.
@Hung, by implementation, you mean I have to write the code for the serial DFU protocol mentioned in the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_transport_serial.html"&gt;infocenter&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;And I couldn&amp;#39;t find the enter_bootloader function in the ble_dfu.c. I&amp;#39;m using the SDK11.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What needs to be done in the application firmware for using serial DFU? Is there an example for this?</title><link>https://devzone.nordicsemi.com/thread/76219?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 12:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:948d8f36-7e74-4c3b-b600-a2cbbccac398</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you implemented the serial transport layer for the bootloader ? by default it only supports BLE.&lt;/p&gt;
&lt;p&gt;To switch from application to enter DFU mode, it&amp;#39;s pretty simple, you just need to set the enter_buttonless_dfu = true and update the bootloader setting then do a soft reset. You can have a look at function enter_bootloader() in ble_dfu.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>