<?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>Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101208/doing-an-fota-via-ble-using-a-nordic-development-kit</link><description>Hi, 
 I have a Nordic Development Kit (NDK) that is connected to a Raspberry Pi via USB.The NDK uses Nordic UART Service Central (NUS_C) to connect to a nearby Nordic Device (Test Unit) and Send Data. The Test Unit has NUS Peripheral and DFU service.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jul 2023 06:29:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101208/doing-an-fota-via-ble-using-a-nordic-development-kit" /><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/434342?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 06:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce6c047a-701e-4ab1-b3cd-1e618f50556f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Eucaristo"]Does nRF connect SDK(NCS) have a DFU client?[/quote]
&lt;p&gt;Yes. It is called an SMP Client.&lt;/p&gt;
&lt;p&gt;We are working on an official client at &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/56934/"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/56934/&lt;/a&gt;, but as far as I know, it does not have a finished sample yet.&lt;/p&gt;
&lt;p&gt;In the meantime, I got two unofficial samples for SMP Clients at&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/v2.2.0/bootloader_samples/client_smp"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/v2.2.0/bootloader_samples/client_smp&lt;/a&gt; &lt;/p&gt;
[quote user="Eucaristo"]would it be possible to perform&amp;nbsp; (FOTA) updates on a Test Unit that is based on the nRF5 SDK?[/quote]
&lt;p&gt;The NCS FOTA procedure is not compatible with the nRF5 SDK FOTA procedure.&lt;br /&gt;So you can not use an SMP Client for nRF5 Fota.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/434335?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 05:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b33fc19-5ba3-4ae1-a6b6-02c729790609</guid><dc:creator>Eucaristo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/101208/doing-an-fota-via-ble-using-a-nordic-development-kit/433210"]No, we do not have an DFU client in the nRF5 SDK.[/quote]
&lt;p&gt;Does nRF connect SDK(NCS) have a DFU client?&lt;/p&gt;
&lt;p&gt;If the NCS does have a DFU client, if we were to port our NDK firmware to the NCS and integrate DFU client functionality into it, would it be possible to perform&amp;nbsp; (FOTA) updates on a Test Unit that is based on the nRF5 SDK?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Eucaristo Mendes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433956?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 13:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbaccc52-5db0-4e67-b942-6ec882d2120a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Aha, you need connectivity.hex to run on the dongle along with your other custom dongle code?&lt;/p&gt;
&lt;p&gt;The connectivity.hex is automatically built using &lt;a href="https://github.com/nordicSemiconductor/pc-ble-driver#compiling-connectivity-hex-files"&gt;pc-ble-driver&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;See how it connectivity.hex built from &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/CMakeLists.txt"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/CMakeLists.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433943?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 12:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93d964aa-a7df-4898-8324-8d93328abee4</guid><dc:creator>Eucaristo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/101208/doing-an-fota-via-ble-using-a-nordic-development-kit/433842"]As long as you do not have memory limitations on the raspberry pi, I suggest that you use the raspberry pi to host pc-ble-driver, and then just run ble_connectivity.hex on the dongle.[/quote]
&lt;p&gt;I am already running my custom firmware that i use to connect and communicate to the Test Device. So wouldn&amp;#39;t I have to flash the NDK every time i want a FOTA and then flash my own firmware?&lt;br /&gt;&lt;br /&gt;I have multiple Devices that i will be using as test Device so it would be impractical for me to flash the NDK every time.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Eucaristo Mendes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433842?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 07:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71d021e7-e0eb-42ae-a88c-342d2fddbebb</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Eucaristo"]Whatever the pc-ble-driver plus the ble_connectivity.hex&amp;nbsp; does we want that connectivity hex part to be integrated on our NDK side. Please Suggest how to proceed with this integration.[/quote]
&lt;p&gt;For this you would need to manually implement sending FOTA images in the nRF5 SDK, as explained below.&lt;br /&gt;Then you must decide how you want to transfer the file from the Raspberry Pi to the dongle.&lt;/p&gt;
&lt;p&gt;This will be a lot of work.&lt;br /&gt;As long as you do not have memory limitations on the raspberry pi, I suggest that you use the raspberry pi to host pc-ble-driver, and then just run ble_connectivity.hex on the dongle. As far as I can see, this will do the exact same thing as what you are trying to do.&lt;br /&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47329/connection-3b-armv8-and-nrf-52840-dongle"&gt;Connection 3B+ ARMv8 and NRF 52840 Dongle&lt;/a&gt;&amp;nbsp; for how to use the pc-ble-driver with a raspberry pi.&lt;/p&gt;
&lt;p&gt;Regards;&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433827?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 05:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d4a4f2-2824-4aad-a9c3-bbdc4a6d47df</guid><dc:creator>Eucaristo</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Apologies for the Confusion.&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/101208/doing-an-fota-via-ble-using-a-nordic-development-kit/433210"]You want to send the firmware update from one DK (DFU client) to another DK (DFU server), right?[/quote]
&lt;p&gt;No. The Firmware to be sent&amp;nbsp; is stored in Raspberry Pi. The Raspberry Pi is connected to the NDK via SPI (or USB). The Raspberry Pi will control all operations of the NDK, including the Initiating the FOTA process(which is currently on a separate DK Dongle) .&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/101208/doing-an-fota-via-ble-using-a-nordic-development-kit/433710"]ble_connectivity.hex is just a front-end for Bluetooth Low Energy, and does not have any built-in FOTA functionality.&lt;br /&gt;The FOTA is handeled in pc-ble-driver, which is written in python. [/quote]
&lt;p&gt;We want to add the front-end for Bluetooth Low Energy functionality in the NDK, which the Raspberry pi can initiate.&lt;br /&gt;&lt;br /&gt;Whatever the pc-ble-driver plus the ble_connectivity.hex&amp;nbsp; does we want that connectivity hex part to be integrated on our NDK side. Please Suggest how to proceed with this integration.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regards,&lt;br /&gt;Eucaristo Mendes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433710?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 13:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95fa20d1-056a-44fb-a5a5-815797551e86</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Sigurd Hellesvik"]You want to send the firmware update from one DK (DFU client) to another DK (DFU server), right?[/quote]
&lt;p&gt;Can you answer this?&lt;/p&gt;
[quote user="Eucaristo"]We are currently using a seperate PCA10059 Dongle with ble_connectivity.hex[/quote]
&lt;p&gt;ble_connectivity.hex is just a front-end for Bluetooth Low Energy, and does not have any built-in FOTA functionality.&lt;br /&gt;The FOTA is handeled in pc-ble-driver, which is written in python. &lt;br /&gt;So the easiest way to do what I think you want would be to implement your own solution, as described &lt;/p&gt;
[quote user="Sigurd Hellesvik"]If you want to implement your own, see &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_dfu_transport_ble.html&amp;amp;cp=9_1_3_5_2_2_3&amp;amp;anchor=lib_dfu_transport_msc"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_dfu_transport_ble.html&amp;amp;cp=9_1_3_5_2_2_3&amp;amp;anchor=lib_dfu_transport_msc&lt;/a&gt;[/quote]
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433596?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 07:22:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23d3ede6-5021-4539-a079-ef78dea2a396</guid><dc:creator>Eucaristo</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;We are currently using a seperate PCA10059 Dongle with ble_connectivity.hex that can do an FOTA on our Test Unit. Is it possible to get the Source code of the file so that we can integrate the FOTA service on our NDK.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433210?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 11:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8628919c-563f-48ec-8f2e-0b2f2d8aaae7</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;You want to send the firmware update from one DK (DFU client) to another DK (DFU server), right?&lt;/p&gt;
&lt;p&gt;If so:&lt;/p&gt;
&lt;p&gt;No, we do not have an DFU client in the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;If you want to implement your own, see &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_dfu_transport_ble.html&amp;amp;cp=9_1_3_5_2_2_3&amp;amp;anchor=lib_dfu_transport_msc"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_dfu_transport_ble.html&amp;amp;cp=9_1_3_5_2_2_3&amp;amp;anchor=lib_dfu_transport_msc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433182?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 10:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d3f8a34-7b93-477a-beb6-07c33feddea3</guid><dc:creator>Eucaristo</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am using NRF5 SDK version 15.2.0&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Eucaristo Mendes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doing an FOTA via ble using a Nordic Development kit</title><link>https://devzone.nordicsemi.com/thread/433177?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 10:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5ffc9d3-1595-4d80-b4c4-ac28e22a8112</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you use the &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF5 SDK or the nRF Connect SDK&lt;/a&gt;?&lt;br /&gt;Which version?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>