<?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>How to do DFU on BLE central devices?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81396/how-to-do-dfu-on-ble-central-devices</link><description>Hi, 
 nrf52833 custom board 
 My query is that how to do OTA DFU on ble central devices (we are using nrf52833 as receiver dongle(ble central) device)? Does anyone advice any example to do that (similar to buttonless DFU if it is ble peripheral device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Nov 2021 07:35:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81396/how-to-do-dfu-on-ble-central-devices" /><item><title>RE: How to do DFU on BLE central devices?</title><link>https://devzone.nordicsemi.com/thread/337605?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 07:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eb1819a-1a94-4d9c-8973-cfc5b10f6ffc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="researcher"]Even though USB 2.0 is available in nrf52833,&amp;nbsp; &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fsdk_app_serial_dfu_bootloader.html"&gt;Secure DFU Bootloader over USB&lt;/a&gt;&amp;nbsp;is pointing DFU over USB (&lt;span&gt;USB CDC ACM)&lt;/span&gt; is available only on nrf52840. I am bit confused.[/quote]
&lt;p&gt;That is just because we do not provide all examples for all boards, as that would greatly increase the size of the SDK etc. But you can adapt examples for other boards without too much effort.&lt;/p&gt;
&lt;p&gt;The PCA10056e projects are for nRF52811. The PCA10100 projects are for the nRF51833 DK. However, in any case migrating an example from one DK and IC to another is normally not that much work.&lt;/p&gt;
&lt;p&gt;The nRF52840 and nRF52833 are very similar, so porting projects between these ICs is quite straightforward. In addition to the general things you need to remember when changing IC variant (linker configuration of flash and RAM sizes, defines that specify IC variant and board), you also need to change nrf_crypto backend from CC310, as that is only available on nRF2840. For the latter reason I think it makes more sense to start with the pca10100e sample, as that exists for USB. So, I suggest you take the example from &amp;lt;SDK&amp;gt;/examples/dfu/secure_bootloader/pca10100e_usb/.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do DFU on BLE central devices?</title><link>https://devzone.nordicsemi.com/thread/337591?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 02:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ea12dbd-3ca5-4b46-8031-fc98dd8c6371</guid><dc:creator>researcher</dc:creator><description>&lt;p&gt;Hi Einer,&lt;/p&gt;
&lt;p&gt;Thanks a lot for the information.&lt;/p&gt;
&lt;p&gt;Ok, DFU over USB is nice option. We are using nrf5 SDK 17.&lt;/p&gt;
&lt;p&gt;But&amp;nbsp;&amp;lt;InstallFolder&amp;gt;\examples\dfu\secure_bootloader\pca10040e_uart&amp;nbsp; is only available at SDK for nrf52833. I could not see the DFU over USB example for nrf52833 at SDK.&lt;/p&gt;
&lt;p&gt;Even though USB 2.0 is available in nrf52833,&amp;nbsp; &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fsdk_app_serial_dfu_bootloader.html"&gt;Secure DFU Bootloader over USB&lt;/a&gt;&amp;nbsp;is pointing DFU over USB (&lt;span&gt;USB CDC ACM)&lt;/span&gt; is available only on nrf52840. I am bit confused.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do DFU on BLE central devices?</title><link>https://devzone.nordicsemi.com/thread/337569?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 17:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92679358-e0f7-45fa-8149-f27da0de0a91</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="researcher"]Yes, It is dongle and nrf52833&amp;#39;s USB 2.0 lines are always connected to PC. Actually, can i&amp;nbsp; do DFU through this USB?[/quote]
&lt;p&gt;Yes, you can. For a USB connected dongle that makes the most sense. We provide a USB DFU solution out of the box. Which SDK are you using for your development? If you are using the nRF5 SDK, then see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html"&gt;Secure DFU Bootloader over Serial Link (UART/USB)&lt;/a&gt;. In your case, USB is what is relevant and not UART, as that is what you already have as a communication channel between the PC and the nRF.&lt;/p&gt;
[quote user="researcher"]Does it need jlink debugging tool for making DFU over UART? i[/quote]
&lt;p&gt;No, there is no need for a J-Link debugger, and also no UART. It is simply using USB communication between the PC and the dongle.&lt;/p&gt;
[quote user="researcher"]2. In DFU over BLE, How to switch the central device from the application to DFU mode? This dongle will not advertise while application is running, then how can i switch to DFU mode using &amp;#39;nrf connect&amp;#39; android application?&amp;nbsp;[/quote]
&lt;p&gt;You need some application specific way of telling your dongle that it should enter DFU mode. How that is depends on what fits your product. When that happens, you use a few lines of code to enter DFU mode. That happens by resetting into the bootloader, which is&amp;nbsp;configured to always act as a peripheral. And you would need a BLE central to connect to it to perform the DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do DFU on BLE central devices?</title><link>https://devzone.nordicsemi.com/thread/337546?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 15:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f683bd8e-1e2b-4c8b-b4b2-06e5eb1a8377</guid><dc:creator>researcher</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you for making me to look at that DFU over UART is available on nrf52833.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, It is dongle and nrf52833&amp;#39;s USB 2.0 lines are always connected to PC. Actually, can i&amp;nbsp; do DFU through this USB? Does it need jlink debugging tool for making DFU over UART? if so, i have to think about DFU over BLE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. In DFU over BLE, How to switch the central device from the application to DFU mode? This dongle will not advertise while application is running, then how can i switch to DFU mode using &amp;#39;nrf connect&amp;#39; android application?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your assistance and kind helping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to do DFU on BLE central devices?</title><link>https://devzone.nordicsemi.com/thread/337450?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 11:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1de8d75-1591-4745-9456-e0a13c4ebb92</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As this is a dongle I would think perhaps DFU over USB would be relevant? If so that is demonstrated by the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/examples_bootloader.html"&gt;DFU&amp;nbsp;bootloader examples&lt;/a&gt;&amp;nbsp;in the SDK (which also demonstrate other transports like BLE and UART).&lt;/p&gt;
&lt;p&gt;Or do you intend to use DFU&amp;nbsp;over BLE? If so, what will be the DFU master in this case? Generally I would suggest that even if the device is normally central it could switch to being a peripheral while doing DFU. That way you can use the existing BLE DFU bootloader example, which is a BLE peripheral. The device could still act as a central only in the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>