<?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>Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104779/does-nrfconnect-supports-ota-upgrade-for-secondary-controllers-connected-to-ble</link><description>nRF5 SDK has capability to upgrade the secondary controller in the system. The DFU code provided functionality of signing the OTA package by using --external-app option. This enabled DFU to enter in a state in which user can handle the OTA process for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Feb 2024 08:22:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104779/does-nrfconnect-supports-ota-upgrade-for-secondary-controllers-connected-to-ble" /><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/467303?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 08:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfcf5bc5-4a13-421e-8d88-7df5944cd5b3</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/mateusz_2d00_"&gt;Mateusz&lt;/a&gt;&amp;nbsp;&amp;nbsp;, I must highlight that this is unintended usage, and while it is possible now with certain configurations, it is not tested, so there might be unforeseen problems. There is also no guarantee that it will continue to work in future NCS versions.&lt;/p&gt;
&lt;p&gt;When I checked for NCS v2.5.0, it is possible to write some data into the secondary slot and use it.&amp;nbsp;Depends on MCUboot configurations, it will delete that data when an upgrade is attempted.&lt;/p&gt;
&lt;p&gt;Once again, please note my highlight above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/466635?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 22:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b766f427-f4ba-41d4-929c-3094441201e4</guid><dc:creator>Mateusz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/vthieu"&gt;Hieu&lt;/a&gt;&amp;nbsp;Would you be able to provide any hints about &amp;quot;using partitions in its unintended way&amp;quot; solution?&lt;/p&gt;
&lt;p&gt;Would it be possible for MCUBoot to use a secondary partition for auxiliary&amp;nbsp;microcontroller firmware, and let the BLE app send that over?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/465768?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 11:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd51de3-879d-4541-8e01-eec9b7aad83a</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hey Hieu,&lt;/p&gt;
&lt;p&gt;Thanks for the reference, that might help in future developments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/465750?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 10:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:239aa916-f70a-4af4-b27b-9d9ae206ef72</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Aniket,&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp;too. It&amp;#39;s unfortunate that the SMP solution didn&amp;#39;t work out for you. Please feel free to close the ticket if you find it apt.&lt;/p&gt;
&lt;p&gt;For future readers, and in case you are interested, I want to add some info on the SMP Protocol solutions:&lt;/p&gt;
&lt;p&gt;A colleague guided me to a pair of samples where this is done on the nRF9160 DK:&lt;/p&gt;
&lt;p&gt;nRF9160:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/nrf/samples/cellular/lwm2m_client/fota_external_mcu.html"&gt;Evaluating LwM2M Advanced Firmware Update for external MCU&lt;/a&gt;&lt;br /&gt;nRF52840:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/nrf/samples/cellular/smp_svr/README.html"&gt;Cellular: SMP Server&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These samples show the nRF9160 downloading an image and update it onto the nRF52840.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/465711?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 07:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:727fbd7a-d4ab-4e01-8037-10eac2739bb9</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;I have explored the info that you gave but unable to find a similar strategies which would support the &amp;#39;external app update&amp;#39; via OTA like nRF52 SDK did. It seems the Nordic UART Service is the best option as of now for our cause.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/454840?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 07:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cbf2d91-6de1-44f9-ab32-81047435a41a</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Sure. I will look forward to your findings. I will also try to look into it when I can.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/454832?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 07:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47455c1a-3cfc-4773-9146-a05ee815cbff</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Thanks for the a bunch of info. I will go through this and verify if it helps our design. This may take a while I will revert if it helps or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/454743?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 15:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:617fa031-4943-460c-81c3-281d6f332029</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Aniket,&lt;/p&gt;
&lt;p&gt;I ran into a&amp;nbsp;point in NCS 2.5.0 about what seem to be exactly your requirement. Would you like to also take a look at it and see if it meets your need?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases_and_maturity/releases/release-notes-2.5.0.html#dfu-libraries"&gt;DFU Libraries | nRF Connect SDK v2.5.0 Release Notes — nRF Connect SDK 2.5.99 documentation (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will require that the external MCU also support &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/zephyr/services/device_mgmt/smp_protocol.html"&gt;the SMP protocol&lt;/a&gt; for update. Is that OK, or do you need to use a different protocol?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/454607?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 09:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cd801a6-27d7-45fe-9ec8-dca706ab8ff3</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Aniket,&lt;/p&gt;
&lt;p&gt;Just giving you an update. I have found&amp;nbsp;a potential solution, but it involves using partitions in its unintended way, so I currently refrain from sharing the details.&lt;/p&gt;
&lt;p&gt;Regarding the &amp;quot;building blocks&amp;quot; that I mentioned in my last reply,&amp;nbsp;I have been asking if something is already done for the nRF9160 DK and the Thingy91. On those products, we have the nRF9160, an LTE module, connected to a nRF52840. I am investigating if there are already solutions where one device can download an image over the air to update the other.&lt;/p&gt;
&lt;p&gt;A colleague has shared with me some links. They are all a bit old. I haven&amp;#39;t been able&amp;nbsp;investigate them in depth yet. Here are the links if you want to investigate in the meantime:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91444/perform-nrf52840-ota-over-the-nrf9160-and-uart"&gt;Perform NRF52840 OTA over the NRF9160 and UART&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/102004/trying-to-perform-ota-to-a-nrf52840-device-via-nrf9160-lte-connection"&gt;Trying to perform OTA to a nRF52840 device via nRF9160 LTE connection&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48996/nrf52840-nrf9160-ota-method-through-lte"&gt;nRF52840 &amp;amp; nRF9160 OTA method through LTE&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91444/perform-nrf52840-ota-over-the-nrf9160-and-uart/389517"&gt;RE: Perform NRF52840 OTA over the NRF9160 and UART&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An old reply: &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79779/firmware-update-ota-of-nrf9160-by-ble-nrf52840-and-update-nrf52840-by-fota-of-nrf9160"&gt;Firmware Update OTA of nRF9160 by BLE nRF52840, , , , and update nRF52840 by FOTA of nRF9160 ?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/453608?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 03:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a79d746-ce3f-48af-a950-dec983566d73</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;We are using nRF52833 which is having only 512KB of flash.&amp;nbsp;The internal flash solution would be feasible if we use other chips like nRF52840 having 1MB of flash. But the that is not the case.&lt;/p&gt;
&lt;p&gt;The internal flash memory would not be sufficient to contain the dual image (BLE + external MCU image). What we used to do is like the nrf52 bootloader was able to detect the external application image due to the sign --external-app while preparing the DFU package. And we were storing that image in external flash. We would like to continue with the same strategy.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if&amp;nbsp;there is&amp;nbsp;possibility of implementing such kind of solution with NCS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/453573?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 19:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c088adbf-fced-4bd1-9286-79e494244a33</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Aniket,&lt;/p&gt;
&lt;p&gt;Abhijith is on leave, and I will continue&amp;nbsp;supporting you in his stead.&lt;/p&gt;
&lt;p&gt;To give you a quick update: I have tried to look but it doesn&amp;#39;t seem like we have anything like what you want in place.&amp;nbsp;I see a few scenarios in our solutions where the &amp;quot;building blocks&amp;quot; for such a solution might have already been done, so I have started&amp;nbsp;asking internally to see if that is the case.&lt;/p&gt;
&lt;p&gt;Meanwhile, we could consider the alternative of implementing&amp;nbsp;the solution on our own.&amp;nbsp;How big is the image you expect to receive? And how big do you expect your nRF52833 application to be?&lt;br /&gt;If there is enough space,&amp;nbsp;it is an option to set aside a partition dedicated for its storage, and then implement custom BLE protocol for the download, and custom UART protocol for the DFU.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/452414?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 06:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb8dea80-b4e0-4d71-9421-b77fb7c97eb1</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hi&amp;nbsp; Abhijith,&lt;/p&gt;
&lt;p&gt;Thanks for the details, to pin point my concern again &amp;#39; Is MCU boot is capable of detecting whether the incoming FW image is for BLE or external MCU?&amp;#39;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With nRF5 SDK we were preparing DFU packages (.zip files) and sign the package as &amp;#39;--external-app&amp;#39; so that BLE should know that the incoming FW image is not for BLE itself. So DFU bootloader goes into particular condition where the user can write the code for handling the incoming FW image. We were storing the external app image in external memory present in our system and willing to support the same architecture. As we are using BL653 the memory available is only 512KB and it would not be feasible to store the FW image in internal flash region.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did not experimented with MCU boot yet but it seems that the OTA process is way different that the previous on supported by nRF5 SDK. If the MCU boot is able to detect the image is for external app then that could solve my problem rest of the things could be handled.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Aniket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/452403?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 03:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a32a9987-92f4-4496-ace5-f5fb4448c1f2</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late response. I was discussing this with my colleague for some clarification. On reading your response, I think what you want to achieve is storing the data in the flash memory and writing it to an external MCU. &lt;span dir="ltr"&gt;The only constraint here is memory. If you have enough memory to spare, then you can just allocate a flash region dedicated to it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;If there is not enough flash memory, then the MCUboot might not allow the data (external FW) in the secondary slot. But I am not 100% sure on this, and I need to confirm this. I will get back to you soon.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Kind Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Abhijith&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/451678?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 11:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f41462-0aae-4586-ba8c-b4eff63ac4a1</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hello Abhijith,&lt;/p&gt;
&lt;p&gt;Do you have any updates regarding this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/451206?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 07:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:842c03e2-caf5-49e1-88e8-25deb39e2049</guid><dc:creator>Aniket95</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So basically we have used two controllers in our system one is BLE and one more which is connected via UART with BLE. So using the nRF5 SDK we were able to update the FW of both controllers using the DFU bootloader as it has provided the capability to detect the which type of FW image is being received over BLE. So, if it is for BLE the DFU code takes care of the rest but if the receiving image is for external controller and not for BLE user need to handle the update procedure. Here is the link explaining the external app updates using nRF5 SDK&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/68413/how-to-use-external-app-firmware-update"&gt;How to use external app firmware update&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We are hoping the nRFConnect would support similar feature like this because having this feature is crucial for our system so we should be able to OTA the both of the controllers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does nRFConnect supports OTA upgrade for secondary controllers connected to BLE?</title><link>https://devzone.nordicsemi.com/thread/451170?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 02:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c7f898-d259-475c-b6c8-174c13d49414</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry, I didn&amp;#39;t understand the question very well. What do you mean by secondary controller? I am not an expert or have not tested our old SDK very well. But if you elaborate a little more on your application or what you want to achieve, I could tell whether this is supported inside our new SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>