<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>FOTA between two nRF5340</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87543/fota-between-two-nrf5340</link><description>Hello, 
 I&amp;#39;m currently working with an nRF5340DK , trying to implement FOTA update by sending the firmware from another nRF5340DK . Is there an already developed feature/sample from nordic or zephyr to achieve this? 
 I started working with BLE FOTA sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 13 May 2022 22:32:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87543/fota-between-two-nrf5340" /><item><title>RE: FOTA between two nRF5340</title><link>https://test-devzone.nordicsemi.com/thread/367905?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 22:32:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ef99cc5-0855-4456-88a8-bf9ac1a5524a</guid><dc:creator>user115821</dc:creator><description>&lt;p&gt;Excellent, thanks again! We suceeded assembling initial image update packets, there were a few errors on our side regarding CBOR encoding and packets length. Thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA between two nRF5340</title><link>https://test-devzone.nordicsemi.com/thread/367850?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 13:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916e0243-c5ee-4107-8a0a-6c1c037e43ea</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Leopoldo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think the best source is to look at the nRF Connect Device Manager example we have on Android &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I also suggest to capture &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;a sniffer trace&lt;/a&gt; so that you get the raw data getting out of the phone and can try to replicate it with your ESB device.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA between two nRF5340</title><link>https://test-devzone.nordicsemi.com/thread/367486?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 19:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df9ed83b-4612-41db-835f-5904d02af5e8</guid><dc:creator>user115821</dc:creator><description>&lt;p&gt;Hi again Hung, we&amp;nbsp;have finally decided to move on with the ESB alternative for the transport layer of the SMP protocol, but may also move to BLE later.&lt;/p&gt;
&lt;p&gt;We are struggling a little bit with the SMP request packets assembly, is there any chance that you provide some reference to the source code of the application used in mobile devices to provide the image when working with BLE?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much,&lt;/p&gt;
&lt;p&gt;Leopoldo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA between two nRF5340</title><link>https://test-devzone.nordicsemi.com/thread/366411?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 10:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f55fbb4-4b3d-45e8-bcc3-582a994f24b0</guid><dc:creator>user115821</dc:creator><description>&lt;p&gt;Hi Hung, thank you very much for the quick and detailed response! Will proceed with the BLE option as you recomend.&lt;br /&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA between two nRF5340</title><link>https://test-devzone.nordicsemi.com/thread/366239?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 12:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:064db7f1-b054-4b54-8fef-e9daae605be4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Leopoldo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m afraid that we don&amp;#39;t have an example that show how you can send FOTA image from one nRF53 to another nRF53. So you may have to implement this on your own.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I agree that doing FOTA via ESB can be complicated. I would suggest to do it via BLE, at least the implementation of the communication between 2 cores is already&amp;nbsp;taken care of by the BLE host and controller. And that the SMP_SVR is already implemented on the target&amp;#39;s side. You only need to implement that on the FOTA master side. And that you may have other example code on Android/PC to refer to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course it&amp;#39;s not limited to BLE or SMP, you can use any protocol to deliver the image on the chip and trigger the test/confirm on MCUBoot after the image and the image trailer is&amp;nbsp;placed in the correct location.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find the specification of SMP protocol here:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/services/device_mgmt/smp_protocol.html"&gt;https://docs.zephyrproject.org/latest/services/device_mgmt/smp_protocol.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also use a &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE/Download#infotabs"&gt;sniffer &lt;/a&gt;to capture the communication between the phone and the SMP_SVR on nRF53 so that you can reproduce the same communication between nRF53-nRF53.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>