<?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>Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110045/using-uart-dfu-on-nrf52833</link><description>Hello, 
 I am using NRF52833 chip and V2.3.0 SDKs, 
 I&amp;#39;m having a problem similar to Update code via UART instead of FOTA nRF9160 . 
 According to the link, what I need to do is the following: 
 
 Place app_update.bin in the secondary slot of the nRF52833</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2024 10:06:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110045/using-uart-dfu-on-nrf52833" /><item><title>RE: Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/thread/478255?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 10:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c11eacfe-1a66-4f60-8165-859ffa7ef5a0</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am glad to hear that the issue has been resolved.&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: Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/thread/478077?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 13:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2898bcff-359a-4e7e-9506-1d082044b689</guid><dc:creator>joe</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Abhijith&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The problem has been solved.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Joe&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/thread/478072?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 12:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2710666-66b2-492c-8cdc-0aa55ca4de5e</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry, I mixed up a little bit with your query. Let me clarify a few things. You are using the ESP32 to transfer the new firmware image to nRF52833 (UART), and you succeeded in transferring the image and were able to place the image in the secondary slot. But when you reboot, the swapping is not working. Is this true?&lt;/p&gt;
[quote user="xiaoliang_yang"]What should I do to implement the check, swap the new firmware in the second slot, and do I need to configure prj.conf or mcuboot.conf?[/quote]
&lt;p&gt;Is this actually done by the bootloader. When you place the image inside the secondary slot and do a device reset, the bootloader will swap the image; see the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/mcuboot/design.html#image-swapping"&gt;image swapping section&lt;/a&gt;. This happens only if the image is valid. Bootloader will check the image; &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/mcuboot/design.html#integrity-check"&gt;see this section&lt;/a&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: Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/thread/477794?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 12:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ccb0ced-d9ba-406a-a69d-d31c9f443508</guid><dc:creator>joe</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Abhijith&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;I think I may not have expressed myself clearly, the ESP32 is only used in my project as a chip to transfer the new firmware, and I&amp;#39;m now in a situation where when I reboot after putting the new firmware in the second slot of the nrf52833, the firmware checksumming of the MCUboot boot as well as the firmware swap doesn&amp;#39;t take place.&lt;/p&gt;
&lt;p&gt;What should I do to implement the check, swap the new firmware in the second slot, and do I need to configure prj.conf or mcuboot.conf?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/thread/477787?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 11:42:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66736e84-4f4a-4e93-8961-345dcee679f9</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not familiar with ESP32 or which application is running inside. I am not sure about how to configure the ESP32 for doing a DFU. I recommend approaching the ESP32 community forum, as they can guide you much better.See &lt;a title="https://github.com/mcu-tools/mcuboot/issues/1181" href="https://github.com/mcu-tools/mcuboot/issues/1181" rel="noopener noreferrer" target="_blank"&gt;this thread&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All I can think of is&lt;a href="https://github.com/simon-iversen/ncs_samples/tree/master/central_smp_client_dfuvvvvvvvvvvvvvvv"&gt; this sample &lt;/a&gt;where my colleague is doing a DFU between two Nordic chips, but please see that the SMP_client mentioned here is also written with Zephyr.&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: Using UART DFU on NRF52833</title><link>https://devzone.nordicsemi.com/thread/477706?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 06:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ffcdac-f7ac-4579-a031-29d232944315</guid><dc:creator>joe</dc:creator><description>&lt;p&gt;According to the log information:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.2.99-ncs2 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
I: Jumping to the first image slot
*** Booting Zephyr OS build v3.2.99-ncs2 ***&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After rebooting, the MCUboot does not seem to recognize the App firmware placed in the second slot.&lt;/p&gt;
&lt;p&gt;Actually, after I read the link:&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;nRF Connect SDK Intermediate:Lesson8 Exercise 1&lt;/a&gt;, i think i need to achieve:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcumgr -c testDK image test &amp;lt;NEW_HASH&amp;gt;
mcumgr -c testDK reset&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But esp32 doesn&amp;#39;t support mcumgr,what do I need to do to implement similar checking, swapping operations?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>