<?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 over UART serial recovery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112525/dfu-over-uart-serial-recovery</link><description>I need to work on single bank DFU from esp32 to nrf52833. I found a website with instructions on single bank configuration here: academy.nordicsemi.com/.../topic /exercise-1-dfu-over-uart/. I have configured the nrf52833 in serial recovery mode. In that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2024 15:17:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112525/dfu-over-uart-serial-recovery" /><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/492314?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 15:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aec89274-154a-48e2-b664-67afcc3b5879</guid><dc:creator>AHaug</dc:creator><description>[quote user="thang47"]How do i use a GPIO to enter serial recovery mode[/quote]
&lt;p&gt;This is described in&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/&lt;/a&gt;&amp;nbsp;where you&amp;#39;re tasked with setting up a button to enter serial recovery mode. You need to go through this course and exercises so you can see how this is done.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/492152?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 03:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe06abd2-479d-4ef2-ae8c-6322d2013dc3</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how use&amp;nbsp;BOOT_SERIAL_ENTRANCE_GPIO.&lt;/p&gt;
&lt;p&gt;My mcuboot.conf:&lt;/p&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MCUBOOT_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# Enable MCUboot Serial Recovery&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MCUBOOT_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SERIAL_UART&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_CONSOLE&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SINGLE_APPLICATION_SLOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MCUBOOT_INDICATION_LED&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SERIAL_ENTRANCE_GPIO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SERIAL_DETECT_DELAY&lt;/span&gt;&lt;span&gt;=300&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;How do i use a GPIO to enter serial recovery mode&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/492147?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 01:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4be51297-17bd-4935-b9b5-d6c983ed4519</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Thanks, I will try&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/492080?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 13:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:922c6970-bced-476b-9290-8e07abee0488</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can have a look at&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v2.0.99-ncs1/boot/zephyr/Kconfig.serial_recovery#L133"&gt;https://github.com/nrfconnect/sdk-mcuboot/blob/v2.0.99-ncs1/boot/zephyr/Kconfig.serial_recovery#L133&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/492046?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 11:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34986107-3e3a-42ab-ac3a-9cc708cf7820</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Hi Andreas, thanks for your answer.&lt;/p&gt;
&lt;p&gt;But as for DFU via USB, I don&amp;#39;t see any soft configuration so the program can enter DFU.&lt;br /&gt;I want my program to communicate via USB and when I use a command or function it will enter DFU mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/491231?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 07:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:406ca5df-ef1d-4305-b6d6-3a976c98f9a4</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use either of them interchangeable, but not simultaneously, meaning that you can change between what you use the UART for depending on the mode of operation you&amp;#39;re within.&lt;/p&gt;
&lt;p&gt;So for instance you can use UART as &amp;quot;regular communication&amp;quot; when you&amp;#39;re using it in the app for communication, and you can use it for DFU Image transport when you&amp;#39;re in DFU mode.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/&lt;/a&gt;&amp;nbsp;explains this to some extent&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/491204?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 02:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc64bb81-2c36-4070-a5d2-054b2838dc67</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Thanks for your answer.&lt;/p&gt;
&lt;p&gt;I have a porblem with DFU over USB or DFU over UART. Can I use USB or UART to both communicate and DFU? Or just 1 of 2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over UART serial recovery</title><link>https://devzone.nordicsemi.com/thread/491133?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 13:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab261a3b-21b1-403a-97de-7910bd7b40a3</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have this sample showcasing how to perform FOTA from one MCU to another external MCU&amp;nbsp;&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/samples/cellular/lwm2m_client/fota_external_mcu.html" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/cellular/lwm2m_client/fota_external_mcu.html" rel="noopener noreferrer" target="_blank"&gt;nRF Connect SDK FOTA External MCU Sample&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Additionally, to get a deeper understanding of how this works and to use it in your application, you should explore the &lt;a title="https://github.com/nrfconnect/sdk-zephyr/tree/main/subsys/mgmt/mcumgr/smp_client" href="https://github.com/nrfconnect/sdk-zephyr/tree/main/subsys/mgmt/mcumgr/smp_client" rel="noopener noreferrer" target="_blank"&gt;smp client source code&lt;/a&gt; within the nRF Connect SDK. This code provides valuable insights into the SMP client implementation and can guide you in integrating this functionality into your own projects.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>