<?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>DFU options for &amp;quot;hci_lpuart&amp;quot; on the nrf52840 of nrf9160dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99346/dfu-options-for-hci_lpuart-on-the-nrf52840-of-nrf9160dk</link><description>Hi, We are running a production board that is very similar to the nrf9160dk (I&amp;#39;m currently debugging on the nrf9160dk). In the final version we will have no access to the SWD debug ports post production so we need to be able to update the nrf9160, nrf52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jun 2023 16:51:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99346/dfu-options-for-hci_lpuart-on-the-nrf52840-of-nrf9160dk" /><item><title>RE: DFU options for "hci_lpuart" on the nrf52840 of nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/431088?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 16:51:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58f07da0-b876-4917-86d1-68cd8ffd27f5</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;ello,&lt;/p&gt;
&lt;p&gt;Sorry I missed this ticket during the long&amp;nbsp; public holiday here and I was out of office last week .&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;strong&gt;nrf9160-modem:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-&lt;strong&gt; UART1: &lt;span style="color:rgba(51, 153, 102, 1);"&gt;YES&lt;/span&gt;&amp;nbsp;&lt;/strong&gt;-&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;fmfu_smp_svr sample using the python script over uart1&lt;/p&gt;
&lt;p&gt;-&lt;strong&gt; BLE DFU: &lt;span style="color:rgba(255, 0, 0, 1);"&gt;NO&lt;/span&gt;&lt;/strong&gt; -&amp;nbsp;&lt;span style="background-color:rgba(255, 255, 0, 1);"&gt;is there any way to update the modem using the BLE SMP server?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;You can just download the modem update into mcuboot_secondary slot just like &amp;nbsp;updating the application, but do not tag &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/design.html#boot-swap-types"&gt;test/confirm&lt;/a&gt;. Then you can use the&amp;nbsp;&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/libraries/dfu/dfu_target.html#dfu-target" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/dfu/dfu_target.html#dfu-target" rel="noopener noreferrer" target="_blank"&gt;DFU target library&lt;/a&gt; to perform the modem update.&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;strong&gt;nrf52840:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;strong&gt;UART1&lt;/strong&gt;: &lt;strong&gt;&lt;span style="color:rgba(255, 0, 0, 1);"&gt;NO&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;BLE SMP SVR:&lt;/strong&gt;&lt;span&gt; &lt;strong&gt;&lt;span style="color:rgba(255, 0, 0, 1);"&gt;NO&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;AWS FOTA over LTE:&lt;/strong&gt;&lt;span&gt; &lt;strong&gt;&lt;span style="color:rgba(255, 0, 0, 1);"&gt;NO&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;In this case Serial recovery would be the way. You can run the SMP client on the nRF9160. There &lt;a title="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/client_smp" href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/client_smp" rel="noopener noreferrer" target="_blank"&gt;is an example&lt;/a&gt; from my colleague you can refer to.&lt;/p&gt;
&lt;p&gt;As an alternative you can keep the two options(SMP_server and SMP_client) in nRF52840 and keep a switch for MCUbbot, for opting the application.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Reset the 52840 with some pin set from 9160 and now the SMP_server will be active.(see the below&amp;nbsp; diagrams)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686760936220v2.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686760936222v3.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686760936226v4.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686760936229v5.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686760936234v6.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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><item><title>RE: DFU options for "hci_lpuart" on the nrf52840 of nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/425654?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 13:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09aecfae-5c48-4aed-8013-3653a0868676</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;Hi Menon,&lt;br /&gt;&lt;br /&gt;Thank you. To do it over BLE I plan to do the same thing as LTE. Transfer the full file over BLE to the nrf9160 and then&amp;nbsp;trigger the update&amp;nbsp;to the&amp;nbsp;nrf52840 over the internal uart.&lt;br /&gt;&lt;br /&gt;Should we be able to store the nrf52840 firmware in slot 1 temporarily (we are using mcuboot) on the nrf9160 or would we need external flash for this (This should be the same for LTE or BLE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU options for "hci_lpuart" on the nrf52840 of nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/425595?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 11:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab3bf710-d655-4b2f-b1eb-969af8475755</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Once again sorry for the long response time.&lt;/p&gt;
[quote user=""]So far my idea here is to add MCUboot the the hci_lpuart project and add serial recovery over uart0 (normally used for BLE communication between the nrf52840 chip and the nrf9160 on the board). Then from the nrf9160 I can pull the serial recovery GPIO low (set in the child_image of the hci_lpuart mcuboot) and reset the nrf52840 to boot the nrf58240 into serial recovery DFU mode then run the update script to flash the nrf52840?[/quote]
&lt;p&gt;The suggestion on updating the nRF52840 via UART recovery mode is fine. You will receive the image via LTE on the nRF91 and then you can update the nRF52840.&lt;/p&gt;
&lt;p&gt;Are you looking&amp;nbsp; for an update over BLE?&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><item><title>RE: DFU options for "hci_lpuart" on the nrf52840 of nrf9160dk</title><link>https://devzone.nordicsemi.com/thread/424473?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 10:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89147f7c-1075-416b-89e3-9d4748118fa7</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Sorry for the long response time. I was busy the last few days, attending some trainings. Letting you know I have started looking into this and will get back to you soon.&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>