<?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>About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101641/about-dfu-firmware-update-in-serial-communication-using-nrf52-uart</link><description>Hi, 
 I am developing a system that uses nRF52832 as a BLE module and the main program uses an STM32F4 microcontroller. 
 The nRF52832 and the main microcomputer (STM32F4) are connected by UART, and BLE data is sent and received by using a dedicated communication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jul 2023 07:57:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101641/about-dfu-firmware-update-in-serial-communication-using-nrf52-uart" /><item><title>RE: About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/thread/437154?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 07:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1df9ee0-f581-4b9f-96e7-fa9521df7166</guid><dc:creator>kmyumeka</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;Thank you for your information. We are currently looking at it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sunny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/thread/436758?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 12:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5849db-1cda-4f9f-b05c-0b19c8aac412</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Sunny,&lt;/p&gt;
&lt;p&gt;Sigurd is on vacation and I am looking into this for the time being. I have asked internally to experts regarding this and it seems&amp;nbsp;it should be possible. Then it&amp;#39;s similar to what&amp;#39;s there in the buttonless example.&amp;nbsp;You just need to write to the retain register GPREGRET and then trigger a reset.&lt;/p&gt;
&lt;p&gt;The way it works is pretty simple: To switch,&amp;nbsp;you can write to the retention register GPREGRET a flag (BOOTLOADER_DFU_START = 0xB1) and then do a soft reset. This is done in bootloader_start() in ble_dfu.c file.&lt;/p&gt;
&lt;p&gt;Please refer this guide:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h75sjziavjbukzaywg6xlx19np0fm4"&gt;https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h75sjziavjbukzaywg6xlx19np0fm4&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/thread/435865?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 07:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c66a49f-a90c-4b62-90c2-2019fa9fb23f</guid><dc:creator>kmyumeka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any info or pointer to show how to do this would be greatly appreciated. We still find no way to move forward with this update firmware procedure.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sunny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/thread/435406?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 07:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b93e753-4d76-496d-84d7-52872da7eed3</guid><dc:creator>kmyumeka</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Reqarding enter DFU mode, &lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;STM32 and nRF52 are only connected to the UART port and cannot use the button startup method.&lt;/span&gt;&lt;/span&gt; &lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;I&amp;#39;m thinking of sending a special command from STM32 to trigger nRF52 to reset itself and start DFU mode for my bootloader to run.&lt;/span&gt;&lt;/span&gt; &lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;I would like to know how this can be achieve that with nRF52 application. If possible, a sample code would be very helpful.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Thanks,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Sunny&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/thread/435328?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 17:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed22b64b-55c4-4ca4-ae5f-aa0e49445037</guid><dc:creator>kmyumeka</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thank you for the info. I will take a look at the links and follow up with you later.&lt;/p&gt;
&lt;p&gt;Very much appreciated.&lt;/p&gt;
&lt;p&gt;Sunny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About dfu firmware update in serial communication using nRF52 UART</title><link>https://devzone.nordicsemi.com/thread/435219?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 11:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4cc9edb-a03f-49cb-88ee-c3149d51f3c6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) See the testing steps here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To enter DFU mode, hold button 4 down during startup.&lt;/p&gt;
&lt;p&gt;2) We don&amp;#39;t have any official code for this. But we have some&amp;nbsp;unofficial examples in this blog, chapter 6 DFU Master code&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>