<?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>Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5404/dual-bootloader----dfu-ble-uart</link><description>Wondering if there are any example/reference implementations of a bootloader for the nRF51822 that support Device Firmware Update over both UART and BLE? We&amp;#39;ve got the BLE stuff working well, but would like to make sure that we&amp;#39;ve got UART for those that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Mar 2018 06:58:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5404/dual-bootloader----dfu-ble-uart" /><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/123823?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 06:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32da461b-c7cb-4e57-886e-3dd34d4f8492</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/timsterc"&gt;Tim Clark&lt;/a&gt;&amp;nbsp; can you please tell me how to do DUAL BANK DFU in NRF51822.Please tell whole process and configuration.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/119488?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 09:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:280e5bf1-8d57-4fa4-aa3f-180df9d01954</guid><dc:creator>danni</dc:creator><description>&lt;p&gt;Hi Hung Bui, In nRF52832, &amp;nbsp;SDK13.0.0, I just want combine BLE DFU and serial DFU in one project, when I add nrf_ble_dfu.c into bootloader_secure_serial demo, and modify some c&lt;span&gt;onfiguration items in&amp;nbsp;&lt;/span&gt;&lt;span&gt;sdk_config.h to support ble DFU. However, in combined project , BLE DFU can success, but serial DFU can&amp;#39;t. Could you help me solve the problem?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thank you very much.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18871?ContentTypeID=1</link><pubDate>Fri, 05 May 2017 10:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ec49225-ec9b-4f42-9a47-74b7b1195b6d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Arepa: The newer DFU bootloader made it even easier to have multiple transport layers when doing DFU.
I haven&amp;#39;t tried myself, but as I can see in the nrf_dfu_transport.c , all transport layers will be initialized via the use of dfu_trans section. So any transport layer that registered with DFU_TRANSPORT_REGISTER() will be used.&lt;/p&gt;
&lt;p&gt;What you can do is to simply include both nrf_ble_dfu.c and nrf_serial_dfu.c to test.&lt;/p&gt;
&lt;p&gt;Let me know if you face any trouble.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18870?ContentTypeID=1</link><pubDate>Thu, 04 May 2017 19:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f50220c-8181-467d-95b0-1ec351b4e307</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hey Hung, is possible make what @Mike and @DarrenBeckwith  are trying using the SDK13? using the example BLE secure bootloader I cant find wheres it calls the BLE transport layer to make the same with the dfu_transport_serial.c&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18869?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 14:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f71c927a-ae6f-4de6-bad3-f5ca75cd11b6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Sourabh: You may need to make sure the memory buffer (hci_mem_pool) was configured correctly for each transport mode. They both have the file hci_mem_pool_internal.h inside ble_transport and hci_transport but the values configured inside are different.&lt;/p&gt;
&lt;p&gt;If you configured them correctly but still have the problem, you may want to capture a sniffer trace to check what exactly fail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18868?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 04:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c16bf0-0024-4531-acc2-d8fc9d88e551</guid><dc:creator>Sourabh Barve</dc:creator><description>&lt;p&gt;Hi Hung, I modified the dfu_transport.h, dfu_transport_serial.c, dfu_transport_ble.c and bootloader.c to have two transport options for DFU. I use the GPRGRET register to communicate the transport mode to bootloader through app. The serial DFU works great but the BLE/OTA DFU fails. Whenever I start the DFU through nRFToolbox app, the device enters the bootloader successfully but the update fails at 0% showing &amp;quot;Error: REMOTE DFU OPERATION FAILED&amp;quot;. I have not modified the above files beside just changing the names of the functions (dfu_transport_update_start and dfu_transport_close) and added a #define for new GPREGRET pattern.
I use SDK11.0 and nrf52832.
Can you help me out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18867?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2015 03:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105becde-6286-4631-8769-1dd93aa182d0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mike,
I would suggest to try the &lt;a href="http://www2.keil.com/mdk5/legacy/"&gt;legacy support&lt;/a&gt; for KEIL v5.x&lt;/p&gt;
&lt;p&gt;After that you can install the nRF51 SDK without pack, where you can use the library directly as a file in the files tree and can modify it as you needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18866?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2015 05:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d846102-7606-4032-b719-f8c0c4795dac</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I am having trouble combining two different projects on Keil v5, with the software packs. I was thinking of modifying the source files for the libraries from the packs, dfu_transport_ble.c, dfu_transport_serial.c and bootloader.c, and then I will include both of the source files in the project. However as the way it is set up in the packs, I can only choose either to include serial or ble source file (it shows up as a variant).
So just wondering what process you would follow to combine the two bootloaders?&lt;/p&gt;
&lt;p&gt;Thanks!
Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18865?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2015 13:13:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd20dfc-60bc-4e4c-932b-86723b9ae2e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Darren,&lt;/p&gt;
&lt;p&gt;You can find the SDK at this folder \examples\dfu\bootloader\pca10028 (SDK v8.0). There are 3 projects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;BLE DFU dual bank&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Serial DFU dual bank&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Serial DFU single bank&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18864?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2015 21:08:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcdb11f1-5fd8-49bb-b6e2-cb3a000c9e0c</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Hung,&lt;/p&gt;
&lt;p&gt;I am interested in this as well!  Can you point me to the 2 projects you are referring to, I can&amp;#39;t seem to find them.&lt;/p&gt;
&lt;p&gt;Cheers,
Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dual Bootloader -- DFU (BLE) + UART?</title><link>https://devzone.nordicsemi.com/thread/18863?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2015 15:35:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24aa3014-e9b6-4266-b229-948955b1486b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tim,&lt;/p&gt;
&lt;p&gt;We provided both solutions, UART and BLE. However, they are separated project and are not made to work together initially.&lt;/p&gt;
&lt;p&gt;You may have to modify the source code to allow end customer to choose which type of transportation they want to use, switching a button for example.&lt;/p&gt;
&lt;p&gt;There would be some work needed to combine the 2 projects, but I don&amp;#39;t think it would be very difficult.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>